/* ==========================================================================
   Agency landing template — styles
   Values are matched to the reference design's computed styles:
   white base, Satoshi 400 display type, IBM Plex Mono UI labels.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens (from the reference's computed styles) ---------- */
:root {
  --white: #ffffff;
  --ink: #0a0a0a;
  --ink-btn: #121212;
  --black: #000000;
  --gray-body: #3c3c3c; /* step body copy */
  --gray-lead: #767676; /* hero lead */
  --gray-cite: #999999; /* attributions */
  --gray-soft: #939292; /* card body copy */
  --beige: #edebe3; /* diagram card */
  --gray-bg: #f5f5f2; /* team section, light cards */
  --line: rgba(0, 0, 0, 0.1);
  --blue: #3664ff;
  --accent: #0ec238;
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --green: #00b67a;

  --font-sans: "Satoshi", -apple-system, "system-ui", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1312px;
  --gutter: clamp(20px, 4.45vw, 64px);
  --radius: 12px;
  --radius-lg: 24px;
  --btn-radius: 10px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}

.container {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
}

/* ---------- Type (reference: Satoshi 400, generous line-height) ---------- */
.display-1 {
  font-size: clamp(44px, 5.55vw, 80px);
  line-height: 1.14;
  letter-spacing: -0.0225em;
  font-weight: 400;
}
.display-2 {
  font-size: clamp(36px, 4.45vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.016em;
  font-weight: 400;
}
.display-3 {
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.lead {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.004em;
  color: var(--gray-lead);
  max-width: 860px;
}
.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Eyebrow chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.eyebrow .chip {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
}
.eyebrow .chip img {
  width: 14px;
  height: 14px;
}
.on-dark .eyebrow .chip {
  border-color: transparent;
}

/* ---------- Buttons (reference: #121212, 14px padding) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn .arrow {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn-dark {
  background: var(--ink-btn);
  color: #fff;
}
.btn-dark:hover {
  background: #2b2b2b;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  background: var(--gray-bg);
}
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
}
.on-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.on-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn .arrow {
  width: 16px;
  height: 16px;
}
.btn-dark .arrow {
  /*filter: invert(1);*/
}

/* ---------- Announcement bar (reference: #3664FF, 50px tall) ---------- */
.announce {
  background: var(--blue);
  color: #fff;
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* ---------- Header (reference: mono 18px nav, 90px tall) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border-top: 2px solid #0EC238;
}
.site-header.scrolled {
  /*border-color: var(--line);*/
}
.site-header.hidden {
  transform: translateY(-100%);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink-btn);
  display: grid;
  place-items: center;
  color: #fff;
}
.brand .mark svg {
  width: 15px;
  height: 15px;
}
.main-nav {
  display: flex;
  gap: 38px;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--black);
  transition: opacity 0.15s ease;
}
.main-nav a:hover {
  opacity: 0.6;
}
.header-cta {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}

/* ---------- Hero (white, grid texture) ---------- */
.hero {
  background-color: var(--white);
  
  padding-top: clamp(48px, 5.5vw, 78px);
  overflow: hidden;
}
.hero .eyebrow {
  margin-bottom: 28px;
}
.hero h1 {
  max-width: 1180px; /* breaks after "because", matching the reference */
}
.hero h1 .word {
  display: inline-block;
}
.hero .lead {
  margin-top: 26px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 14px 28px;
}
.hero-checks {
  margin-top: 32px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
.hero-checks img {
  width: 15px;
  height: 15px;
}

/* ---------- Talent marquee ---------- */
.marquee-block {
  margin-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 64px);
}
.marquee-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
}
.marquee-label img {
  width: 16px;
  height: 16px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.talent-card {
  position: relative;
  width: 230px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  margin: 0;
  background: #ddd;
}
.talent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.talent-card .role {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 5px;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  backdrop-filter: blur(4px);
}
.talent-card .meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 12px 11px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}
.talent-card .meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}
.talent-card .meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Logos strip ---------- */
.logos {
  background: var(--white);
  padding: clamp(36px, 4vw, 56px) 0;
}
.logos p {
  text-align: center;
  color: var(--ink);
  font-size: 16px;
}
.logos p .score {
  color: var(--gray-cite);
}
.logo-row {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  flex-wrap: wrap;
}
.logo-row span {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #c2c0b8;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.logo-row span:nth-child(even) {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
}
.logo-row span:hover {
  color: var(--gray-lead);
}

/* ---------- Dark sections base ---------- */
.on-dark {
  background: var(--black);
  color: #fff;
}
.on-dark .lead,
.on-dark p {
  color: var(--on-dark-muted);
}
.on-dark h2,
.on-dark h3 {
  color: #fff;
}

/* ---------- Bottleneck (pure black, ~790px tall) ---------- */
.bottleneck {
  padding: clamp(80px, 8.5vw, 122px) 0;
}
.bottleneck h2 {
  margin-top: 30px;
}
.bottleneck-grid {
  margin-top: clamp(48px, 5.5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4.45vw, 64px);
}
.bottleneck-grid .cell h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 24px;
}
.bottleneck-grid .cell p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--on-dark-muted);
}
.cell-icon {
  width: 88px;
  height: 88px;
  color: var(--accent);
}

/* ---------- Answer / statement (white) ---------- */
.answer {
  padding: clamp(72px, 8vw, 116px) 0 0;
  background-color: var(--white);
  background-image: radial-gradient(circle, rgba(15, 15, 14, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.statement {
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}
.quote-row {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 900px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.quote-row img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.quote-row blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.quote-row cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 18px;
  color: var(--gray-cite);
}

/* ---------- Old / new model cards ---------- */
.models {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: clamp(72px, 8vw, 116px);
}
.model-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 36px;
}
.model-old {
  background-color: var(--beige);
  background-image: radial-gradient(circle, rgba(15, 15, 14, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid var(--line);
}
.model-old h3 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 16px;
  max-width: 20ch;
}
.model-old p {
  margin-top: 14px;
  color: var(--gray-soft);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
.model-new {
  color: #fff;
  justify-content: flex-start;
  background: #7fb3d5;
}
.model-new .photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.model-new > * {
  position: relative;
}
.model-new h3 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 16px;
  max-width: 15ch;
}
.model-new .sub {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
.model-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray-soft);
}
.model-new .model-label {
  color: #fff;
}

/* pipeline overlay inside new-model card */
.pipeline {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(24, 209, 70, 0.9), rgba(9, 156, 42, 0.85));
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
}
.pipeline-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.pipeline-steps {
  display: flex;
  gap: 18px;
  padding: 12px 16px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
}
.pipeline-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pipeline-steps img {
  width: 13px;
  height: 13px;
  filter: invert(1);
}
.pipeline-task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.pipeline-task .who {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.pipeline-task .who img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.pipeline-task .who small {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.75);
}
.pipeline-task .who span {
  font-size: 11.5px;
  color: #fff;
}
.pipeline-task .eta {
  text-align: right;
  flex: none;
}
.pipeline-task .eta small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}
.pipeline-task .eta strong {
  font-size: 12.5px;
  color: #fff;
  font-weight: 500;
}

/* ---------- Mid statement (white) ---------- */
.mid-statement {
  padding: clamp(56px, 6vw, 88px) 0;
  background: var(--white);
}
.mid-statement h2 {
  max-width: 24ch;
}
.mid-statement .quote-row {
  margin-inline: 0;
  margin-top: 40px;
}

/* ---------- How it works (white, beige diagram card) ---------- */
.how {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--white);
  text-align: center;
}
.how h2 {
  margin-top: 28px;
  margin-inline: auto;
  max-width: 20ch;
}
.how-diagram {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--beige);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-media {
  position: relative;
  height: clamp(300px, 35.6vw, 512px); /* matches the 1280x500 frames */
}
.how-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.how-video.is-active {
  opacity: 1;
}
/* Steps 01 and 04 have baked-in orange accents; shift them to the green
   accent. 02 and 03 use the brand blue, so they stay unfiltered. */
.how-video:nth-child(1),
.how-video:nth-child(4) {
  filter: hue-rotate(118deg) saturate(1.05);
}

/* Steps double as tabs: progress bar fills on the active one, finished
   steps stay dark, upcoming steps read dimmed — like the reference. */
.steps {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
  text-align: left;
}
.step {
  position: relative;
  padding: 24px 0 0;
  background: none;
  border: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.step .bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.step .bar i {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.step.is-done .bar i,
html.no-js .step.is-active .bar i {
  transform: scaleX(1);
}
.step .num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: #b3b3b0;
  transition: color 0.3s ease;
}
.step h3 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 500;
  color: #b3b3b0;
  transition: color 0.3s ease;
}
.step p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #c4c2bd;
  transition: color 0.3s ease;
}
.step.is-active .num,
.step.is-done .num,
html.no-js .step .num {
  color: var(--ink);
}
.step.is-active h3,
.step.is-done h3,
html.no-js .step h3 {
  color: var(--black);
}
.step.is-active p,
.step.is-done p,
html.no-js .step p {
  color: var(--gray-body);
}

/* ---------- Services (white, dotted texture, pinned gallery) ---------- */
.services {
  padding: clamp(72px, 8vw, 112px) 0 0;
  background-color: var(--white);
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.services h2 {
  margin-top: 28px;
  max-width: 22ch;
}
.services-viewport {
  padding: clamp(40px, 5vw, 60px) 0 clamp(72px, 8vw, 112px);
}
.services-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.service-card {
  position: relative;
  flex: none;
  width: min(480px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  margin: 0;
  background: #111;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
  transform: translateY(-6px);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.68);
  color: #fff;
  backdrop-filter: blur(4px);
}
.service-card figcaption strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service-card figcaption span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* Scroll-pinned horizontal gallery (enabled by JS on wide screens) */
.services.pinned .services-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.services.pinned .services-container {
  max-width: none;
  padding: 0;
}
.services.pinned .services-row {
  overflow: visible;
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}


/* ---------- Benefits (white) ---------- */
.benefits {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--white);
}
.benefits-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.benefits-head h2 {
  max-width: 16ch;
}
.bento {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 20px;
}
.bento-left {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #fff;
  background: #0a0a0a;
}
.bento-left .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.bento-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72));
}
.bento-left > *:not(.bg) {
  position: relative;
  z-index: 1;
}
.bento-left h3 {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.bento-left p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  font-size: 17px;
}
.bento-left .btn {
  margin-top: 26px;
  align-self: flex-start;
}
.bento-right {
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  gap: 20px;
}
.bento-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--gray-bg);
}
.bento-card h3 {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.bento-card p {
  margin-top: 12px;
  color: var(--gray-lead);
  font-size: 16px;
  max-width: 48ch;
}
.bento-card.sky {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-card.sky .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-card.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55));
}
.bento-card.sky > *:not(.bg) {
  position: relative;
  z-index: 1;
}
.bento-card.sky p {
  color: rgba(255, 255, 255, 0.85);
}
.benefit-tiles {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-tile {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--gray-bg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.benefit-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
}
.benefit-tile img {
  width: 34px;
  height: 34px;
}
.benefit-tile h4 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 500;
}
.benefit-tile p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-lead);
}

/* ---------- For Salesforce customers (light band, cross grid) ---------- */
.customers {
  padding: clamp(72px, 8vw, 112px) 0;
  background-color: var(--gray-bg);
  background-image: linear-gradient(rgba(15,15,14,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,15,14,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  text-align: center;
}
.customers h2 {
  margin: 28px auto 0;
  max-width: 22ch;
}
.customers-copy {
  margin: 24px auto 0;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}
.customers-copy + .customers-copy {
  margin-top: 16px;
}
.customers-actions {
  margin-top: 36px;
}

/* ---------- Fit (white) ---------- */
.fit {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--white);
}
.fit-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.fit-head h2 {
  margin-top: 28px;
  margin-inline: auto;
  max-width: 20ch;
}
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin-inline: auto;
}
.fit-card {
  border-radius: var(--radius-lg);
  padding: 36px;
}
.fit-card.good {
  background: var(--gray-bg);
}
.fit-card.bad {
  background: var(--black);
  color: #fff;
}
.fit-card h3 {
  font-size: 24px;
  font-weight: 500;
}
.fit-card ul {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.fit-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
}
.fit-card.bad li {
  color: var(--on-dark-muted);
}
.fit-card .tick,
.fit-card .cross {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  margin-top: 3px;
}
.fit-card .tick {
  background: rgba(54, 100, 255, 0.12);
  color: var(--blue);
}
.fit-card .cross {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Impact / results (white, light cards) ---------- */
.impact {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--white);
}
.impact-head {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.impact-head h2 {
  margin-top: 28px;
  max-width: 20ch;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.impact-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.impact-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Pricing (centered, light band) ---------- */
.pricing {
  padding: clamp(72px, 8vw, 112px) 0;
  background-color: var(--gray-bg);
  background-image: linear-gradient(rgba(15,15,14,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,15,14,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  text-align: center;
}
.pricing h2 {
  margin: 26px auto 0;
  max-width: 18ch;
}
.pricing-copy {
  margin: 22px auto 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}
.pricing-actions {
  margin-top: 32px;
}
.impact-card {
  border-radius: var(--radius-lg);
  background: var(--gray-bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.07);
}
.impact-card.image-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  justify-content: flex-end;
}
.impact-card.image-card img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impact-card.image-card .caption {
  position: relative;
  margin: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(12, 12, 12, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
}
.impact-card.image-card .caption strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.impact-card.image-card .caption span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.impact-card .big {
  font-size: clamp(48px, 4.45vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.impact-card .stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-cite);
}
.impact-card p {
  color: var(--gray-lead);
  font-size: 16px;
}
.impact-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.impact-card .person {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.impact-card .person img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.impact-card .person strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.impact-card .person span {
  font-size: 13px;
  color: var(--gray-cite);
}
.impact-card.cta-card {
  background: var(--blue);
  color: #fff;
  justify-content: space-between;
}
.impact-card.cta-card h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}
.impact-card.cta-card .btn {
  align-self: flex-start;
}
.impact-card.cta-card.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.impact-card.cta-card.wide .btn {
  align-self: center;
  flex: none;
}
.impact-more {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Final CTA (reference: white) ---------- */
.final-cta {
  padding: clamp(88px, 10vw, 140px) 0;
  background: var(--white);
  text-align: center;
}
.final-cta h2 {
  margin-inline: auto;
  max-width: 18ch;
}
.final-cta .btn {
  margin-top: 40px;
}

/* ---------- Footer (black, ~650px) ---------- */
.site-footer {
  background: var(--black);
  color: #fff;
  padding: clamp(56px, 6vw, 84px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .brand {
  color: #fff;
}
.footer-top .brand .mark {
  background: #fff;
  color: var(--ink);
}
.footer-tagline {
  margin-top: 14px;
  font-size: 15px;
  color: var(--on-dark-muted);
  max-width: 30ch;
}
.footer-nav {
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--on-dark-muted);
  transition: color 0.15s ease;
}
.footer-nav a:hover {
  color: #fff;
}
.newsletter h4 {
  font-size: 20px;
  font-weight: 500;
}
.newsletter p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.newsletter form {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter input {
  flex: 1;
  min-width: 180px;
  padding: 13px 16px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.footer-wordmark {
  font-size: clamp(64px, 12.5vw, 200px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) 0 0;
  color: rgba(255, 255, 255, 0.95);
  user-select: none;
}
.footer-bottom {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-note {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 760px;
}

/* ---------- Animation layer ----------
   The .anim class is added by JS only, so content is never hidden without JS.
   --d is a per-element stagger delay set by the reveal engine. */
@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(7px);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0s);
  }
  .anim.in {
    opacity: 1;
    transform: none;
    filter: none;
  }
  /* Hero headline words — revealed one by one by JS */
  .hero h1 .word {
    opacity: 0;
    transform: translateY(0.55em) rotate(1.5deg);
    filter: blur(6px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0s);
  }
  .hero h1.played .word {
    opacity: 1;
    transform: none;
    filter: none;
  }
  [data-parallax] {
    will-change: transform;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bottleneck-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .models {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-left {
    min-height: 480px;
  }
  .benefit-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    gap: 26px;
  }
  .main-nav a {
    font-size: 15px;
  }
}

/* Header collapses to hamburger below 900px — five mono links don't fit */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    display: none;
    z-index: 40;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 14px var(--gutter);
    font-size: 16px;
  }
  .nav-toggle {
    display: block;
  }
  .header-cta {
    margin-left: auto; /* nav is out of flow; keep the CTA beside the toggle */
  }
  .site-header .inner {
    height: 68px;
  }
}
@media (max-width: 600px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .benefit-tiles {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-checks {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==========================================================================
   Original visual system (blueprint aesthetic) — added in the de-clone pass.
   Overrides sit at the end so they win by source order.
   ========================================================================== */

/* Brand mark (icon) + full wordmark logo */
.brand-mark { height: 32px; width: auto; display: block; }
.brand-logo { height: 34px; width: auto; display: block; }

/* Inline button arrows inherit button text color (work on dark + light) */
.btn .arrow { width: 18px; height: 18px; }

/* ---------- Hero: two-column composition ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(20px, 3vw, 40px);
}
.hero-copy h1 {
  max-width: none;
  font-size: clamp(40px, 4.4vw, 62px);
}
.hero-copy .lead { max-width: none; }
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(15, 15, 14, 0.08);
}

/* ---------- Persona marquee: faceless role cards ---------- */
.persona {
  flex: none;
  width: 236px;
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.persona-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(14, 194, 56, 0.1);
}
.persona-ic img { width: 20px; height: 20px; }
.persona-role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-top: 4px;
}
.persona-note { font-size: 15px; color: var(--gray-lead); line-height: 1.35; }

/* ---------- Monogram avatars (replace photo avatars) ---------- */
.avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #18d146, #0a8f2a);
}
.avatar.blue { background: linear-gradient(135deg, #3664ff, #1e3fd0); }
.avatar.ink { background: linear-gradient(135deg, #2c2c2a, #0a0a0a); }
.person .avatar { width: 40px; height: 40px; border-radius: 9px; font-size: 13px; }

/* ---------- How-it-works: SVG frames (replace <video>) ---------- */
.how-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.how-frame.is-active { opacity: 1; }

/* ---------- Model cards: image visuals, new-model now light ---------- */
.model-card .illo {
  margin-top: auto;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.model-old p,
.model-new .sub {
  margin-bottom: 28px;
}
.model-new {
  color: var(--ink);
  background-color: #eef4ff;
  background-image: radial-gradient(circle, rgba(24, 46, 120, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid rgba(54, 100, 255, 0.14);
}
.model-new .model-label { color: var(--gray-soft); }
.model-new h3 { color: var(--ink); }
.model-new .sub { color: var(--gray-lead); }
.model-new .illo { border-color: rgba(54, 100, 255, 0.18); }

/* ---------- Benefit tiles: icon tile ---------- */
.tile-ic {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(14, 194, 56, 0.1);
}
.tile-ic img { width: 22px; height: 22px; }

/* ---------- Bento: original dark panel + sky gradient (no photos) ---------- */
.bento-left {
  background-color: #0c0c0b;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.bento-left::after {
  background: radial-gradient(120% 90% at 20% 0%, rgba(14, 194, 56, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55));
}
.bento-card.sky {
  background: linear-gradient(145deg, #3664ff 0%, #23408f 55%, #0ec238 140%);
}
.bento-card.sky::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.32));
}

/* ---------- Use-case cards: contain the blueprint SVGs on a panel ---------- */
.service-card {
  background: var(--gray-bg);
  border: 1px solid var(--line);
}
.service-card img {
  object-fit: cover;
}
.service-card figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

/* ---------- Responsive: stack the two-column hero ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-copy h1 { font-size: clamp(38px, 8vw, 56px); }
   .eyebrow{
    display: none;
  }
  .hero-h1{
    margin-top: 0px;
  }
  .hero{
    padding-top: 10px;
  }
}

/* ==========================================================================
   v3 copy layer — experience-first positioning
   ========================================================================== */

/* Hero: supporting line + secondary CTA */
.hero-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}

/* Audience strip: longer persona notes need wider cards */
.persona {
  width: 300px;
  min-height: 190px;
}
.persona .persona-note {
  line-height: 1.45;
}

/* Problem: narrative intro */
.problem-intro {
  margin-top: 34px;
  max-width: 720px;
  display: grid;
  gap: 18px;
}
.problem-intro p {
  color: var(--on-dark-muted);
  font-size: 17px;
  line-height: 1.6;
}
.problem-seq {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 2 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
.problem-truth {
  color: #fff !important;
  font-weight: 500;
  font-size: 19px !important;
}

/* Category belief: body + credo line */
.statement-body {
  margin: 26px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}
.credo {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 24ch;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-family: var(--font-mono);
}
.credo::before,
.credo::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 22px auto;
}

/* Manifesto body */
.manifesto-body {
  margin-top: 36px;
  max-width: 760px;
  display: grid;
  gap: 16px;
}
.manifesto-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}
.mid-statement h2 {
  max-width: 30ch;
}

/* Platform section */
.platform {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--white);
}
.platform-intro {
  margin-top: 30px;
  max-width: 760px;
  display: grid;
  gap: 18px;
}
.platform-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}
.platform-nots {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 2 !important;
  color: var(--gray-lead) !important;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.platform-is {
  color: var(--ink) !important;
  font-weight: 500;
}
.platform-grid {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.platform-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--gray-bg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
}
.platform-card h4 {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 500;
}
.platform-card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-lead);
}

/* Use cases intro */
.services-intro {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-lead);
}

/* Benefits: role list inside the large card; 3-up tiles */
.role-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.role-list li {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 16px;
  position: relative;
}
.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--accent);
}
.role-list li strong {
  color: #fff;
  font-weight: 500;
}
.bento-left > p + .btn,
.bento-left .role-list + p {
  margin-top: 16px;
}
.benefit-tiles.three {
  grid-template-columns: repeat(3, 1fr);
}

/* Salesforce wedge */
.wedge {
  padding: clamp(72px, 8vw, 112px) 0;
  background-color: var(--gray-bg);
  background-image: linear-gradient(rgba(15, 15, 14, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 14, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
}
.wedge h2 {
  margin-top: 30px;
  max-width: 22ch;
}
.wedge-body {
  margin-top: 28px;
  max-width: 760px;
  display: grid;
  gap: 18px;
}
.wedge-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-body);
}

/* Impact: intro + 4 proof-slot cards */
.impact-intro {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-lead);
}
.impact-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.impact-card.slot {
  border: 1.5px dashed var(--line);
  background: var(--white);
}
.slot-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(14, 194, 56, 0.35);
  border-radius: 5px;
  padding: 4px 8px;
}
.impact-card.slot h3 {
  font-size: 21px;
  font-weight: 500;
}
.impact-card.slot p {
  font-size: 15px;
}

/* Security (dark) */
.security {
  padding: clamp(72px, 8.5vw, 118px) 0;
}
.security h2 {
  margin-top: 30px;
  max-width: 20ch;
}
.security-intro {
  margin-top: 24px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.security-grid {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.security-grid .cell h3 {
  margin-top: 20px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.security-grid .cell p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.cell-chip {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.cell-chip img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

/* Final CTA: body + two actions */
.cta-body {
  margin: 26px auto 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-lead);
}
.cta-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.final-cta .cta-actions .btn {
  margin-top: 0;
}

/* Pricing: allow two actions */
.pricing-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive for new sections */
@media (max-width: 1080px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-tiles.three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .platform-grid,
  .impact-grid.four,
  .security-grid,
  .benefit-tiles.three {
    grid-template-columns: 1fr;
  }
  .persona {
    width: 260px;
  }
}

/* How-it-works steps: buttons center their content by default — pin to top
   and reserve a two-line title zone so all descriptions start on one line. */
.steps .step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}
.steps .step h3 {
  min-height: 2.8em; /* two title lines, so single-line titles still align */
}
@media (max-width: 720px) {
  .steps .step h3 {
    min-height: 0; /* single column — no need to reserve space */
  }
}

/* ==========================================================================
   Hero v4 — studio split (left prompt, right aurora live-preview)
   ========================================================================== */
.hero-split {
  display: grid;
  grid-template-columns: minmax(480px, 49%) 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
  padding-top: 8px;
  padding-bottom: clamp(28px, 3vw, 44px);
}
.hero-split .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-split .eyebrow .ldot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 2px;
  animation: ldp 1.6s ease infinite;
}
@keyframes ldp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 194, 56, 0.5); }
  60% { box-shadow: 0 0 0 6px rgba(14, 194, 56, 0); }
}
.hero-h1 {
  margin-top: 26px;
  font-size: clamp(32px, 3vw, 43px);
  line-height: 1.12;
}
.hero-h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: wordIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-h1 .hl { position: relative; white-space: nowrap; }
.scribble {
  position: absolute;
  left: -2%;
  bottom: -8px;
  width: 104%;
  height: 13px;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: scribDraw 0.7s 0.85s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes scribDraw { to { stroke-dashoffset: 0; } }
.hero-lead {
  margin-top: 20px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-lead);
  animation: heroRise 0.6s 0.12s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-h1 .w { opacity: 1; transform: none; animation: none; }
  .scribble path { stroke-dashoffset: 0; animation: none; }
}

/* prompt card */
.prompt-card {
  margin: 28px 0 0; /* zeroes the UA's default <form> bottom margin */
  width: min(580px, 100%);
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 16px;
  padding: 14px 14px 11px;
  box-shadow: 0 22px 50px -22px rgba(17, 17, 16, 0.22);
  animation: heroRise 0.6s 0.18s cubic-bezier(0.23, 1, 0.32, 1) both;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.prompt-card:hover { transform: translateY(-2px); }
.prompt-card:focus-within {
  border-color: var(--ink);
  box-shadow: 0 26px 60px -20px rgba(17, 17, 16, 0.28), 0 0 0 4px rgba(14, 194, 56, 0.15);
}
#promptInput {
  width: 100%;
  min-height: 58px;
  resize: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
}
#promptInput::placeholder { color: #a8a8a2; }
.prompt-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.attach {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #8a8a84;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.attach:hover { border-color: #d8d8d4; color: var(--gray-lead); }
.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gray-lead);
  background: var(--gray-bg);
}
.sf-chip .cd {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: ldp 1.6s ease infinite;
}
.cloud-ic { width: 18px; height: 12px; }
.cloud-ic.lg { width: 26px; height: 17px; }
.cloud-ic.inv { filter: brightness(0) invert(1); }
.go-btn {
  margin-left: auto;
  background: var(--ink-btn);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.go-btn:hover { background: #000; transform: translateY(-1px); }
.go-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.go-btn:disabled:hover { background: var(--ink-btn); transform: none; }
.go-btn .arr { font-family: var(--font-mono); }
/* Only surfaces as the prompt nears the platform's 8000-char cap. */
.prompt-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a8a8a2;
  white-space: nowrap;
}
.prompt-count.over { color: #d92d20; }
/* Screen-reader-only: carries the counter's threshold announcements without
   taking part in the prompt-foot layout. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* The counter takes over the right-edge push when it's visible. */
.prompt-count:not([hidden]) ~ .go-btn { margin-left: 9px; }
.go-btn.pulse { animation: goPulse 1.6s ease infinite; }
@keyframes goPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17, 17, 16, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(17, 17, 16, 0); }
}

/* try chips + salesforce strip */
.try {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  animation: heroRise 0.6s 0.24s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.try .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a8a8a2;
  margin-right: 2px;
}
.tchip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-lead);
  transition: border-color 0.15s, color 0.15s;
}
.tchip:hover { border-color: var(--ink); color: var(--ink); }
.sf-strip {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: heroRise 0.6s 0.3s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.sf-strip .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #a8a8a2;
}
.sf-strip .sfwm {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #0176d3;
}
.sf-strip .clouds {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #8a8a84;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

/* aurora panel */
.hero-right { min-width: 0; }
.aurora {
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 40px 24px;
  min-height: 620px;
  background: linear-gradient(155deg, #9fd3e6 0%, #6ba3d6 34%, #7cb8d9 58%, #bfe4d8 100%);
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.aurora::before {
  width: 640px;
  height: 640px;
  top: -200px;
  right: -160px;
  background: radial-gradient(circle, rgba(214, 255, 236, 0.85), rgba(214, 255, 236, 0) 70%);
  animation: aur1 14s ease-in-out infinite alternate;
}
.aurora::after {
  width: 560px;
  height: 560px;
  bottom: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(120, 190, 230, 0.7), rgba(120, 190, 230, 0) 70%);
  animation: aur2 18s ease-in-out infinite alternate;
}
@keyframes aur1 { from { transform: translate(0, 0); } to { transform: translate(-90px, 70px); } }
@keyframes aur2 { from { transform: translate(0, 0); } to { transform: translate(90px, -60px); } }
.aur-title {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.016em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(15, 50, 80, 0.28);
  transition: opacity 0.35s ease;
}
.aur-sub {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
  max-width: none;
  white-space: nowrap;
  margin-top: 14px;
  text-shadow: 0 1px 12px rgba(15, 50, 80, 0.25);
  transition: opacity 0.35s ease;
}
.fadeout { opacity: 0 !important; }

/* browser preview mock */
.preview {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  width: min(720px, 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 100px -34px rgba(8, 35, 60, 0.6);
  animation: heroRise 0.7s 0.25s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.pv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #232325;
}
.pv-bar .tl { display: flex; gap: 7px; }
.pv-bar .tl i { width: 11px; height: 11px; border-radius: 50%; }
.pv-bar .tl i:nth-child(1) { background: #ff5f57; }
.pv-bar .tl i:nth-child(2) { background: #febc2e; }
.pv-bar .tl i:nth-child(3) { background: #28c840; }
.pv-bar .addr {
  flex: 1;
  max-width: 380px;
  margin: 0 auto;
  background: #39393c;
  border-radius: 7px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #a5a5a0;
  text-align: center;
}
.pv-body { background: #fff; position: relative; display: grid; }
.pv-sf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  background: linear-gradient(180deg, #0b5cab, #0176d3);
  color: #fff;
}
.pv-sf .waffle-s { display: grid; grid-template-columns: repeat(3, 3px); gap: 2px; }
.pv-sf .waffle-s i { width: 3px; height: 3px; background: rgba(255, 255, 255, 0.85); border-radius: 1px; }
.pv-sf b { font-size: 12.5px; font-weight: 700; }
.pv-sf .pv-search {
  flex: 1;
  max-width: 240px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
}
.pv-tabs {
  display: flex;
  gap: 18px;
  padding: 9px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: #555;
}
.pv-tabs span { padding-bottom: 8px; }
.pv-tabs .on { color: #0176d3; font-weight: 600; border-bottom: 2.5px solid #0176d3; }
.pv-stage { padding: 30px 30px; position: relative; min-height: 220px; }
.sel {
  position: relative;
  display: inline-block;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  padding: 8px 14px;
  background: rgba(54, 100, 255, 0.03);
}
.sel .hnd {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 2px;
}
.sel .hnd.h1 { top: -4px; left: -4px; }
.sel .hnd.h2 { top: -4px; right: -4px; }
.sel .hnd.h3 { bottom: -4px; left: -4px; }
.sel .hnd.h4 { bottom: -4px; right: -4px; }
.sel .eltag {
  position: absolute;
  top: -24px;
  left: -1px;
  background: var(--blue);
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
}
.sel-h {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.pv-sub {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--gray-lead);
  max-width: 430px;
  line-height: 1.6;
}
.pv-cta-row { margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.pv-cta {
  background: #0176d3;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
}
.pv-cta2 {
  background: #fff;
  color: #0176d3;
  border: 1px solid #c9c9c5;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
}
.pv-req {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  background: var(--gray-bg);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gray-lead);
}
.pv-req .rid { color: var(--blue); }
.pv-req .ck {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(14, 194, 56, 0.12);
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cursor {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.cursor svg { width: 14px; height: 14px; margin-left: -2px; }
.cursor .nm {
  border-radius: 999px;
  padding: 4px 12px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  margin-top: -2px;
}
.cur-priya { top: 46px; right: 14%; animation: curA 7s ease-in-out infinite alternate; }
.cur-priya .nm { background: var(--accent); }
.cur-priya svg { color: var(--accent); }
.cur-marc { bottom: 58px; left: 46%; animation: curB 8.5s ease-in-out infinite alternate; }
.cur-marc .nm { background: var(--blue); }
.cur-marc svg { color: var(--blue); }
@keyframes curA { from { transform: translate(0, 0); } 50% { transform: translate(-46px, 26px); } to { transform: translate(-12px, 54px); } }
@keyframes curB { from { transform: translate(0, 0); } 50% { transform: translate(60px, -20px); } to { transform: translate(24px, -44px); } }
.madewith {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #141413;
  color: #e8e8e4;
  border-radius: 8px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.madewith img { filter: none; }

/* carousel */
.carousel {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}
.car-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.32);
  color: #0f2c40;
  font-size: 15px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}
.car-arrow:hover { background: rgba(255, 255, 255, 0.5); }
.car-dots { display: flex; align-items: center; gap: 8px; }
.car-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  padding: 0;
  transition: width 0.3s ease, background 0.3s;
}
.car-dots .dot.on { width: 34px; background: #fff; }

@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr; }
  .aurora { min-height: 560px; }
}
@media (max-width: 720px) {
  .aurora { padding: 56px 18px 20px; min-height: 480px; }
  .cur-priya, .cur-marc { display: none; }
  .aur-sub { white-space: normal; }
}

/* ==========================================================================
   Preview scenes — one per carousel slide
   ========================================================================== */
/* all scenes share one grid cell so the window keeps the tallest scene's height */
.pv-scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pv-scene.on {
  visibility: visible;
  opacity: 1;
}
.pv-scene .pv-stage { flex: 1; min-height: 252px; }

/* ---------- scene 2 · persona journeys ---------- */
.ps-chips { display: flex; gap: 8px; margin-bottom: 16px; }
.pchip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.pchip .pav {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.pchip .pin { display: flex; flex-direction: column; line-height: 1.12; }
.pchip .pin b { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.pchip .pin i { font-style: normal; font-family: var(--font-mono); font-size: 9px; color: #8a8a84; }
.pchip.c1 { animation: chipCycA 4s infinite; }
.pchip.c2 { animation: chipCycB 4s infinite; }
.pchip.c3 { animation: chipCycC 4s infinite; }
@keyframes chipCycA {
  0%, 32% { background: #eef4ff; border-color: #0176d3; box-shadow: 0 3px 12px -5px rgba(1, 118, 211, 0.35); }
  34%, 100% { background: #fff; border-color: var(--line); box-shadow: none; }
}
@keyframes chipCycB {
  0%, 32% { background: #fff; border-color: var(--line); }
  34%, 65% { background: #eef4ff; border-color: #0176d3; box-shadow: 0 3px 12px -5px rgba(1, 118, 211, 0.35); }
  67%, 100% { background: #fff; border-color: var(--line); box-shadow: none; }
}
@keyframes chipCycC {
  0%, 65% { background: #fff; border-color: var(--line); }
  67%, 100% { background: #eef4ff; border-color: #0176d3; box-shadow: 0 3px 12px -5px rgba(1, 118, 211, 0.35); }
}
.ps-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ps-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  border-bottom: 1px solid #efefec;
  font-size: 12px;
  color: var(--ink);
}
.ps-row:last-child { border-bottom: none; }
.ps-row .ptx { min-width: 0; }
.ps-row .pck {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex: none;
  background: rgba(14, 194, 56, 0.12);
  color: #0aa02e;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: scale(0);
}
.ps-row .ptag {
  margin-left: auto;
  flex: none;
  font-size: 9.5px;
  font-weight: 600;
  border-radius: 5px;
  padding: 2px 7px;
}
.ps-row.r1 .pck { animation: ckPop1 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ps-row.r2 .pck { animation: ckPop2 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ps-row.r3 .pck { animation: ckPop3 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ps-row.r4 .pck { animation: ckPop4 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
@keyframes ckPop1 { 0%, 8% { transform: scale(0); } 12%, 100% { transform: scale(1); } }
@keyframes ckPop2 { 0%, 28% { transform: scale(0); } 32%, 100% { transform: scale(1); } }
@keyframes ckPop3 { 0%, 50% { transform: scale(0); } 54%, 100% { transform: scale(1); } }
@keyframes ckPop4 { 0%, 72% { transform: scale(0); } 76%, 100% { transform: scale(1); } }

/* ---------- scene 3 · lead form with required-field error ---------- */
.lf-stage { padding: 20px 26px 24px; }
.lf-head { display: flex; align-items: baseline; gap: 12px; }
.lf-head b { font-size: 16px; font-weight: 700; color: var(--ink); }
.lf-note { font-size: 10.5px; color: #8a8a84; }
.lf-note em, .lf-field .lb em { color: #c2334d; font-style: normal; }
.lf-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fdeef0;
  border: 1px solid #c2334d;
  color: #a02338;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: lfBanner 11s ease infinite;
  z-index: 3;
}
@keyframes lfBanner { 0%, 77% { opacity: 0; } 80%, 98% { opacity: 1; } 100% { opacity: 0; } }
.lf-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.lf-field { display: flex; flex-direction: column; gap: 4px; position: relative; }
.lf-field .lb { font-size: 10.5px; color: #6b6b66; }
.lf-field .inp {
  height: 30px;
  border: 1px solid #c9c9c5;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.lf-field .tv {
  display: block;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}
.inp.f1 { animation: lfFocus1 11s infinite; }
.inp.f2 { animation: lfFocus2 11s infinite; }
.inp.f3 { animation: lfFocus3 11s infinite; }
.inp.f4 { animation: lfFocus4 11s infinite; }
.inp.f1 .tv { animation: lfType1 11s steps(10) infinite; }
.inp.f2 .tv { animation: lfType2 11s steps(10) infinite; }
.inp.f3 .tv { animation: lfType3 11s steps(14) infinite; }
.inp.f4 .tv { animation: lfType4 11s steps(16) infinite; }
@keyframes lfType1 { 0%, 9% { width: 0; } 16%, 100% { width: var(--tw); } }
@keyframes lfType2 { 0%, 25% { width: 0; } 32%, 100% { width: var(--tw); } }
@keyframes lfType3 { 0%, 41% { width: 0; } 48%, 100% { width: var(--tw); } }
@keyframes lfType4 { 0%, 57% { width: 0; } 64%, 100% { width: var(--tw); } }
@keyframes lfFocus1 { 0%, 8% { border-color: #c9c9c5; box-shadow: none; } 9%, 17% { border-color: #0176d3; box-shadow: 0 0 0 2px rgba(1, 118, 211, 0.15); } 19%, 100% { border-color: #c9c9c5; box-shadow: none; } }
@keyframes lfFocus2 { 0%, 24% { border-color: #c9c9c5; box-shadow: none; } 25%, 33% { border-color: #0176d3; box-shadow: 0 0 0 2px rgba(1, 118, 211, 0.15); } 35%, 100% { border-color: #c9c9c5; box-shadow: none; } }
@keyframes lfFocus3 { 0%, 40% { border-color: #c9c9c5; box-shadow: none; } 41%, 49% { border-color: #0176d3; box-shadow: 0 0 0 2px rgba(1, 118, 211, 0.15); } 51%, 100% { border-color: #c9c9c5; box-shadow: none; } }
@keyframes lfFocus4 { 0%, 56% { border-color: #c9c9c5; box-shadow: none; } 57%, 65% { border-color: #0176d3; box-shadow: 0 0 0 2px rgba(1, 118, 211, 0.15); } 67%, 100% { border-color: #c9c9c5; box-shadow: none; } }
.inp.phone { animation: lfPhoneErr 11s infinite; }
@keyframes lfPhoneErr {
  0%, 77% { border-color: #c9c9c5; background: #fff; }
  80%, 98% { border-color: #c2334d; background: #fdf4f5; box-shadow: 0 0 0 2px rgba(194, 51, 77, 0.12); }
  100% { border-color: #c9c9c5; background: #fff; }
}
.lf-field .ferr {
  font-size: 10px;
  color: #c2334d;
  opacity: 0;
  animation: lfBanner 11s ease infinite;
}
.lf-actions { margin-top: 16px; display: flex; gap: 10px; }
.lf-cancel {
  background: #fff;
  color: #0176d3;
  border: 1px solid #c9c9c5;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 500;
}
.lf-save {
  background: #0176d3;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 11.5px;
  font-weight: 600;
  animation: lfSave 11s infinite;
}
@keyframes lfSave {
  0%, 73% { transform: scale(1); background: #0176d3; }
  75% { transform: scale(0.94); background: #0b5cab; }
  77%, 100% { transform: scale(1); background: #0176d3; }
}
.l-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 15px;
  height: 15px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  animation: lfCursor 11s ease-in-out infinite;
}
@keyframes lfCursor {
  0%       { transform: translate(430px, 30px); }
  8%, 17%  { transform: translate(150px, 82px); }   /* first name */
  24%, 33% { transform: translate(450px, 82px); }   /* last name */
  40%, 49% { transform: translate(160px, 140px); }  /* company */
  56%, 65% { transform: translate(470px, 140px); }  /* email — phone is skipped */
  72%, 76% { transform: translate(129px, 283px); }  /* save (button center; press fires at 75%) */
  80%, 100%{ transform: translate(142px, 296px); }
}
@media (prefers-reduced-motion: reduce) {
  .pchip, .ps-row .pck, .inp, .inp .tv, .lf-banner, .lf-field .ferr, .lf-save, .l-cursor {
    animation: none !important;
  }
  .ps-row .pck { transform: scale(1); }
  .inp .tv { width: var(--tw); }
  .l-cursor { display: none; }
}

/* Official Salesforce logo in the preview app headers */
.pv-sf .sf-logo {
  height: 20px;
  width: auto;
  flex: none;
}

/* Official Salesforce logo in the BUILT FOR strip */
.sf-logo-strip {
  height: 24px;
  width: auto;
}

.sf-logo-strip.small{
  height: 18px;
}
/* ==========================================================================
   Benefits bento v2 — photo left card, sky illustration card, blueprint duo
   ========================================================================== */
.bento-right {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}
.bento-card.sky {
  min-height: 250px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 24px 30px 30px;
}
.bento-card.sky .sky-copy {
  position: relative;
  z-index: 1;
  max-width: 46%;
}
.bento-card.sky h3 {
  color: #fff;
  text-shadow: 0 1px 14px rgba(10, 40, 70, 0.35);
}
.bento-card.sky p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(10, 40, 70, 0.35);
}
.bento-card.sky .sky-illus {
  position: relative;
  z-index: 1;
  width: 46%;
  max-width: 300px;
  height: auto;
  flex: none;
}
.bento-card.sky::after {
  background: linear-gradient(100deg, rgba(10, 45, 80, 0.38), rgba(10, 45, 80, 0.05) 60%);
}
.bento-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bento-card.illus {
  display: flex;
  flex-direction: column;
  padding: 0 0 26px;
  overflow: hidden;
}
.bento-card.illus .card-illus {
  width: 100%;
  height: auto;
  display: block;
}
.bento-card.illus h3 {
  padding: 18px 26px 0;
}
.bento-card.illus p {
  padding: 0 26px;
}
@media (max-width: 1080px) {
  .bento-duo {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .bento-duo {
    grid-template-columns: 1fr;
  }
  .bento-card.sky {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-card.sky .sky-copy,
  .bento-card.sky .sky-illus {
    max-width: 100%;
    width: 80%;
  }
}
.bento-left .bg {
  object-position: center 78%;
}

/* ---------- Promo video (inside How it works) ---------- */
.promo-video {
  max-width: 980px;
  margin: clamp(36px, 4.5vw, 56px) auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.35);
}
.promo-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 120px);
  background: var(--white);
}
.legal .container {
  max-width: 860px;
}
.legal h1 {
  margin-top: 26px;
}
.legal-updated {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-cite);
}
.legal-body {
  margin-top: clamp(32px, 4vw, 48px);
}
.legal-body h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 36px 0 0;
}
.legal-body p {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray-body);
}
.legal-body ul {
  margin-top: 14px;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.legal-body li {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gray-body);
  padding-left: 20px;
  position: relative;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}
.legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--gray-bg);
  padding: 1px 6px;
  border-radius: 4px;
}
