/* LinkVizor marketing site. Industrial command-deck system:
   achromatic surfaces, one 8px radius, one violet signal reserved for actions. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.46525b05bb.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.3ef2c50dc1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --signal: #5b3fe0;
  --signal-hover: #4a30c9;
  --signal-bright: #7c5cfc;
  --signal-soft: rgba(91, 63, 224, 0.08);
  --signal-gradient: linear-gradient(94deg, #4a30c9 -33.85%, #7c5cfc -1.54%, #4a30c9 73.55%);

  --ink: #000000;
  --carbon: #1f1f1f;
  --carbon-2: #2a2a2a;
  --slate-900: #101828;
  --slate-700: #364153;
  --slate-600: #4a5565;
  --iron: #8a8a8a;
  --mist: #99a1af;
  --cloud: #d4d4d4;
  --frost: #e5e7eb;
  --paper: #ffffff;
  --vellum: #f5f5f5;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 8px;
  --shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0, rgba(0, 0, 0, 0.1) 0 1px 2px -1px;
  --shadow-lift: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -8px rgba(16, 24, 40, 0.18);
  --shadow-stage: 0 2px 4px rgba(16, 24, 40, 0.04), 0 40px 80px -24px rgba(16, 24, 40, 0.28);
  --max: 1200px;
  --gutter: 24px;
  --section: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--vellum);
  color: var(--slate-900);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "case" on;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--carbon);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--slate-600);
  line-height: 1.5;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.4s var(--ease) infinite;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--slate-900);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

.display {
  font-size: clamp(44px, 6.6vw, 84px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.display strong {
  font-weight: 500;
}

.h-section {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.h-section strong {
  font-weight: 500;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate-600);
  margin: 0;
}

.section-head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.section-head .lede {
  max-width: 640px;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
  justify-items: start;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}
.btn-signal {
  background: var(--signal);
  color: var(--paper);
  box-shadow: 0 8px 20px -10px rgba(91, 63, 224, 0.8);
}
.btn-signal:hover {
  background: var(--signal-hover);
}
.btn-dark {
  background: var(--carbon);
  color: var(--paper);
}
.btn-dark:hover {
  background: var(--ink);
}
.btn-ghost {
  background: var(--paper);
  border-color: var(--cloud);
  color: var(--slate-900);
}
.btn-ghost:hover {
  border-color: var(--slate-900);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--frost);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--slate-700);
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--vellum);
  color: var(--slate-900);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--slate-700);
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
}
.nav-login:hover {
  border-color: var(--slate-900);
}
.btn-nav {
  background: var(--signal-gradient);
  color: var(--paper);
  font-weight: 600;
  min-height: 40px;
  padding: 10px 20px;
  font-size: 13px;
}
.btn-nav:hover {
  filter: brightness(1.08);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero: copy + live product stage ---------- */

.hero {
  position: relative;
  padding: 88px 0 24px;
  overflow: hidden;
  isolation: isolate;
}
/* One soft glow behind the stage. */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1100px, 92vw);
  height: 520px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(124, 92, 252, 0.22), transparent 62%);
  filter: blur(20px);
}
.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
.hero-copy .lede {
  max-width: 640px;
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--slate-600);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--signal);
}

/* Page-load choreography */
.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 60ms);
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.stage-wrap {
  position: relative;
  margin: 64px auto 0;
  max-width: 1200px;
  perspective: 2000px;
}
.stage-tilt {
  --tilt: 1;
  transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt) * 16deg)) scale(calc(1 - var(--tilt) * 0.04));
  will-change: transform;
}

/* Floating "real event" cards around the stage */
.float {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  font-size: 13px;
  line-height: 1.35;
  color: var(--slate-700);
  opacity: 0;
  animation:
    pop 0.8s var(--ease) forwards,
    bob 7s ease-in-out infinite;
  animation-delay: calc(0.9s + var(--i, 0) * 0.18s), calc(1.7s + var(--i, 0) * 0.6s);
}
/* Once the real app is running the cards would cover its controls. */
.stage-wrap.is-live .float {
  display: none;
}
.float b {
  display: block;
  color: var(--slate-900);
  font-weight: 500;
}
.float .mono {
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.02em;
}
.float-ico {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--slate-900);
  color: #fff;
}
.float-ico svg {
  width: 15px;
  height: 15px;
}
.float-ico.sig {
  background: var(--signal);
}
.float-a {
  left: -56px;
  top: 18%;
}
.float-b {
  right: -48px;
  top: 8%;
}
.float-c {
  left: -36px;
  bottom: 20%;
}
.float-d {
  right: -60px;
  bottom: 30%;
}
.float-rank {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1;
}
.float-rank small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

/* The app window (used by the hero stage) */
.demo-frame {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: 12px;
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--frost);
  background: #fafafa;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-600);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cloud);
}
.demo-url {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  overflow: hidden;
  white-space: nowrap;
}
.demo-url svg {
  width: 12px;
  height: 12px;
  color: var(--slate-600);
}
.demo-badge {
  padding: 1px 8px;
  border: 1px solid var(--signal);
  color: var(--signal);
  border-radius: var(--radius);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.demo-full {
  padding: 4px 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-600);
  text-underline-offset: 3px;
}
.demo-jump {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--frost);
  background: var(--paper);
  overflow-x: auto;
  scrollbar-width: thin;
}
.demo-jump button {
  flex-shrink: 0;
  padding: 7px 12px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.demo-jump button:hover {
  border-color: var(--slate-900);
}
.demo-jump button[aria-pressed="true"] {
  background: var(--carbon);
  border-color: var(--carbon);
  color: var(--paper);
}
.demo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 860px;
  background: #f7f6f3;
}
.demo-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.demo-launch-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0) 40%, rgba(16, 24, 40, 0.18));
  border: 0;
  padding: 0;
  cursor: pointer;
}
.demo-launch {
  pointer-events: none;
  box-shadow: 0 18px 40px -12px rgba(91, 63, 224, 0.75);
  animation: breathe 3.2s ease-in-out infinite;
}
.demo-launch-layer:hover .demo-launch {
  background: var(--signal-hover);
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}
.demo-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--slate-600);
}

/* ---------- Marquee strip ---------- */

.marquee {
  margin-top: 72px;
  border-top: 1px solid var(--cloud);
  border-bottom: 1px solid var(--cloud);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee ul {
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 22px 24px;
  list-style: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--slate-700);
  white-space: nowrap;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.marquee li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--slate-900);
  transform: rotate(45deg);
}
.marquee li.k {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.marquee li.k::before {
  display: none;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

section {
  position: relative;
}
.section {
  padding: var(--section) 0;
}
.section.paper {
  background: var(--paper);
  border-top: 1px solid var(--frost);
  border-bottom: 1px solid var(--frost);
}

/* ---------- Product tour (sticky screenshots) ---------- */

.tour {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 56px;
  align-items: start;
}
.tour-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tour-step {
  position: relative;
  padding: 40px 0 40px 28px;
  min-height: 62vh;
  display: grid;
  align-content: center;
  gap: 14px;
  border-left: 1px solid var(--frost);
}
.tour-step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}
/* Inactive steps fade by colour, not opacity, so the text keeps WCAG AA contrast. */
@media (min-width: 1081px) {
  .tour-step h3,
  .tour-step p,
  .tour-step ul,
  .tour-step .tour-open {
    transition: color 0.4s ease;
  }
  .tour-step:not(.is-active) h3 {
    color: #7a7f88;
  }
  .tour-step:not(.is-active) p,
  .tour-step:not(.is-active) ul,
  .tour-step:not(.is-active) .tour-open {
    color: #6b7078;
  }
}
.tour-step.is-active::before {
  transform: scaleY(1);
}
.tour-step .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--signal);
}
.tour-step h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.tour-step p {
  margin: 0;
  color: var(--slate-600);
  max-width: 440px;
}
.tour-step ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--slate-700);
}
.tour-step li {
  display: flex;
  gap: 10px;
}
.tour-step li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 1px;
  margin-top: 11px;
  background: var(--slate-900);
}
.tour-open {
  justify-self: start;
  margin-top: 6px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--cloud);
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-900);
  text-decoration: none;
  cursor: pointer;
}
.tour-open:hover {
  border-color: var(--slate-900);
}
.tour-inline {
  display: none;
}
.tour-frame-col {
  position: sticky;
  top: calc(50vh - 260px);
}
.tour-frame {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--frost);
  background: var(--paper);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}
.tour-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f7f6f3;
}
.tour-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 0.55s var(--ease),
    transform 0.8s var(--ease);
}
.tour-screen img.is-active {
  opacity: 1;
  transform: none;
}
.tour-progress {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  justify-content: center;
}
.tour-progress i {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--frost);
  transition:
    background 0.3s ease,
    width 0.3s var(--ease);
}
.tour-progress i.is-active {
  width: 40px;
  background: var(--signal);
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    opacity 0.8s var(--ease);
}
.tile:hover {
  border-color: var(--cloud);
  box-shadow: var(--shadow-lift);
}
.tile.w2 {
  grid-column: span 2;
}
.tile.h2 {
  grid-row: span 2;
}
.tile.dark {
  background: var(--carbon);
  border-color: var(--carbon);
  color: #d4d4d4;
}
.tile.dark h3 {
  color: #fff;
}
.tile.dark p {
  color: #a3a3a3;
}
.tile .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.tile.dark .k {
  color: #9a9a9a;
}
.tile h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.22;
}
.tile p {
  margin: 0;
  font-size: 15px;
  color: var(--slate-600);
}
.tile .viz {
  margin-top: auto;
  padding-top: 12px;
}

/* timeline viz (publisher emails) */
.tl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #333;
  border-radius: var(--radius);
  background: var(--carbon-2);
  font-size: 13px;
  color: #e5e5e5;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 260ms + 200ms);
}
.in .tl li {
  opacity: 1;
  transform: none;
}
.tl .mono {
  font-size: 11px;
  color: #8a8a8a;
}
.tl .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #555;
  font-family: var(--mono);
  font-size: 11px;
  color: #cfcfcf;
}
.tl li.sig {
  border-color: var(--signal-bright);
}
.tl li.sig .dot {
  background: var(--signal-bright);
  border-color: var(--signal-bright);
  color: #fff;
}

/* verification checklist viz */
.checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  font-size: 14px;
}
.checks .ok {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate-900);
  color: #fff;
  transform: scale(0);
  transition: transform 0.45s var(--ease);
  transition-delay: calc(var(--i) * 320ms + 300ms);
}
.checks .ok svg {
  width: 12px;
  height: 12px;
}
.in .checks .ok {
  transform: scale(1);
}
.approve-bar {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-600);
}
.approve-bar span:last-child {
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--signal);
  color: #fff;
  font-weight: 500;
}

/* chat viz (outreach) */
.chat {
  display: grid;
  gap: 8px;
}
.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid var(--frost);
  background: var(--vellum);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 420ms + 200ms);
}
.bubble.me {
  justify-self: end;
  background: var(--signal-soft);
  border-color: rgba(91, 63, 224, 0.35);
}
.bubble .mono {
  display: block;
  font-size: 10px;
  color: var(--mist);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.in .bubble {
  opacity: 1;
  transform: none;
}
.deal {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
}
.deal s {
  color: var(--mist);
}
.deal b {
  color: var(--signal);
}

/* mini rows (publishers / gap) */
.rows {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
}
.rows .dr {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 6px;
  border: 1px solid var(--frost);
  border-radius: 4px;
  color: var(--slate-600);
}
.rows .price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-900);
}
.big-num {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--slate-900);
}
.big-num + .mono {
  font-size: 12px;
  color: var(--slate-600);
}

/* column mapping viz (CSV import) */
.mapping {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 10px;
  align-items: center;
  font-size: 13px;
}
.mapping .from {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 10px;
  border: 1px dashed var(--cloud);
  border-radius: var(--radius);
  color: var(--slate-600);
}
.mapping .to {
  padding: 7px 10px;
  border: 1px solid var(--slate-900);
  border-radius: var(--radius);
  color: var(--slate-900);
  font-weight: 500;
}
.mapping .arrow {
  color: var(--signal);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 4px 10px;
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--slate-700);
  background: var(--paper);
}
.tile.dark .pill {
  background: var(--carbon-2);
  border-color: #3a3a3a;
  color: #d4d4d4;
}

/* ---------- Spotlight (rank tracking) ---------- */

.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spot-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.spec {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--frost);
  width: 100%;
}
.spec li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--frost);
  font-size: 15px;
}
.spec .k {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--slate-600);
  padding-top: 2px;
}
.spot-visual {
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, rgba(124, 92, 252, 0.12), transparent 60%), var(--vellum);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  padding: 36px 24px;
}
.phone {
  max-width: 320px;
  margin: 0 auto;
  background: var(--carbon);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-stage);
}
.phone-screen {
  background: var(--paper);
  border-radius: 24px;
  padding: 16px 14px;
  display: grid;
  gap: 10px;
  font-size: 12px;
}
.phone-q {
  border: 1px solid var(--frost);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--slate-700);
}
.phone-res {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius);
}
.phone-res b {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-900);
}
.phone-res span {
  color: var(--slate-600);
}
.phone-res.you {
  border: 1.5px solid var(--signal);
  background: var(--signal-soft);
  position: relative;
}
.phone-res.you::after {
  content: "#3 · you";
  position: absolute;
  right: 8px;
  top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--signal);
}
.phone-res.ghost b,
.phone-res.ghost span {
  color: var(--mist);
}
.samples {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  font-size: 12px;
  color: var(--slate-600);
}
.samples-dots {
  display: flex;
  gap: 6px;
}
.samples-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--cloud);
}
.samples-dots i.hit {
  background: var(--signal);
  border-color: var(--signal);
}

/* ---------- Carbon band ---------- */

.band {
  position: relative;
  background: var(--carbon);
  color: #fff;
  border-radius: 12px;
  padding: 64px;
  display: grid;
  gap: 48px;
  overflow: hidden;
  isolation: isolate;
}
.band h2 {
  color: #fff;
}
.band .lede {
  color: #b5b5b5;
}
.band .eyebrow {
  background: transparent;
  border-color: #444;
  color: #b5b5b5;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #3a3a3a;
}
.stat {
  padding: 28px 24px 0 0;
  display: grid;
  gap: 8px;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid #3a3a3a;
}
.stat .v {
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .l {
  font-size: 14px;
  color: #b5b5b5;
}

/* ---------- Compare ---------- */

.compare-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--frost);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--slate-600);
  background: #fafafa;
}
.compare thead th:last-child {
  color: var(--signal);
}
.compare tbody th {
  font-weight: 500;
  width: 24%;
}
.compare td {
  color: var(--slate-600);
}
.compare td:last-child {
  color: var(--slate-900);
  background: rgba(91, 63, 224, 0.035);
}
.compare .x,
.compare .y {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  vertical-align: -3px;
}
.compare .x {
  border: 1px solid var(--cloud);
  color: var(--mist);
}
.compare .y {
  background: var(--signal);
  color: #fff;
}
.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

/* ---------- Audiences ---------- */

.aud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.aud article {
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--paper);
  display: grid;
  gap: 14px;
  align-content: start;
  transition:
    box-shadow 0.35s var(--ease),
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.aud article:hover {
  box-shadow: var(--shadow-lift);
}
.aud .k {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--signal);
}
.aud h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.aud p {
  margin: 0;
  color: var(--slate-600);
}

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

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq .section-head {
  position: sticky;
  top: 100px;
}
.faq-list {
  border-top: 1px solid var(--cloud);
}
.faq details {
  border-bottom: 1px solid var(--cloud);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  color: var(--slate-600);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 22px;
  max-width: 640px;
  color: var(--slate-600);
}

/* ---------- Book ---------- */

.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.book-copy {
  padding: 56px;
  display: grid;
  gap: 24px;
  align-content: start;
  justify-items: start;
}
.book-copy ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.book-copy ol li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  color: var(--slate-700);
  counter-increment: s;
}
.book-copy ol li::before {
  content: "0" counter(s);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  padding-top: 3px;
}
.book-form {
  padding: 56px;
  background: var(--vellum);
  border-left: 1px solid var(--frost);
  display: grid;
  gap: 16px;
  align-content: start;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--slate-600);
}
.field input,
.field select,
.field textarea {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
  color: var(--slate-900);
  width: 100%;
}
.field textarea {
  height: 96px;
  padding: 12px 16px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--mist);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--slate-900);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
}
.form-note a {
  color: var(--slate-900);
}
.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--slate-900);
  min-height: 1.5em;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--carbon);
  color: #b5b5b5;
  padding: 72px 0 40px;
  margin-top: var(--section);
  font-size: 14px;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}
.footer .brand {
  color: #fff;
}
.footer p {
  margin: 16px 0 0;
  max-width: 320px;
}
.footer h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #fff;
  margin-bottom: 16px;
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer a {
  color: #b5b5b5;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
}
.footer-word {
  margin-top: 56px;
  font-size: clamp(64px, 17vw, 236px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px #3a3a3a;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.tile.reveal.in:hover {
  transform: translateY(-3px);
  transition-delay: 0s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 63, 224, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(91, 63, 224, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 63, 224, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .rise,
  .float,
  .tl li,
  .bubble {
    opacity: 1;
    transform: none;
  }
  .checks .ok {
    transform: none;
  }
  .stage-tilt {
    transform: none;
  }
}

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

@media (max-width: 1280px) {
  .float-a,
  .float-c {
    left: -16px;
  }
  .float-b,
  .float-d {
    right: -16px;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--frost);
    gap: 2px;
  }
  .nav.open .nav-links a {
    padding: 12px;
  }
  .float {
    display: none;
  }
  .tour {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tour-frame-col {
    display: none;
  }
  .tour-step {
    min-height: 0;
    opacity: 1;
    padding: 32px 0 32px 24px;
  }
  .tour-step::before {
    transform: scaleY(1);
  }
  .tour-inline {
    display: block;
    margin-top: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--frost);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
    background: #f7f6f3;
    aspect-ratio: 16 / 10;
  }
  .tour-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile.h2 {
    grid-row: span 1;
  }
  .aud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spot,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq .section-head {
    position: static;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .book {
    grid-template-columns: 1fr;
  }
  .book-form {
    border-left: 0;
    border-top: 1px solid var(--frost);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --section: 80px;
  }
  .nav-login,
  .btn-nav .long {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stage-wrap {
    margin-top: 40px;
  }
  .demo-url {
    display: none;
  }
  .demo-bar {
    justify-content: space-between;
  }
  .demo-stage {
    aspect-ratio: auto;
    height: 560px;
  }
  .demo-stage.is-live {
    height: 640px;
  }
  .marquee {
    margin-top: 48px;
  }
  .marquee ul {
    font-size: 17px;
    gap: 32px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile.w2 {
    grid-column: span 1;
  }
  .tile {
    padding: 24px;
  }
  .aud {
    grid-template-columns: 1fr;
  }
  .aud article {
    padding: 24px;
  }
  .band {
    padding: 36px 20px;
  }
  .stat .v {
    font-size: 48px;
  }
  .stat,
  .stat + .stat {
    padding: 20px 12px 0 0;
  }
  .stat:nth-child(even) {
    padding-left: 12px;
  }
  .spec li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .samples {
    position: static;
    margin: 18px auto 0;
    width: max-content;
  }
  .book-copy,
  .book-form {
    padding: 28px 20px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .compare {
    min-width: 600px;
  }
  .compare th,
  .compare td {
    padding: 12px 14px;
  }
}
