/* Anha soft launch: Slack UI design tokens, Salesforce-style page rhythm */

:root {
  --surface-base: #ffffff;
  --surface-tint: #f4faf8;
  --surface-raised: #d9ede7;
  --surface-overlay: #3f1652;

  --text-primary: #0f0f0f;
  --text-muted: #4a4f4b;
  --text-subtle: #656a66;
  --text-invert: #ffffff;

  --border-default: #bda6be;
  --border-soft: #e4e7e5;

  --accent: #481652;
  --accent-hover: #5c1c68;
  --accent-soft: #f3e9f5;
  --focus: #481652;

  --font: Manrope, "Segoe UI", sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.06), 0 1px 3px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 15, 15, 0.07), 0 2px 4px rgba(15, 15, 15, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 15, 15, 0.1);

  --wrap: min(1160px, calc(100% - 48px));
  --footer-h: 140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 5.4vw, 61px);
  font-weight: 700;
  line-height: 1.06;
}

h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.wrap-narrow {
  width: min(820px, calc(100% - 48px));
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.logo {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.logo:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-right: auto;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-invert);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-quiet {
  background: transparent;
  color: var(--text-muted);
}

.btn-quiet:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-invert {
  background: var(--surface-base);
  color: var(--accent);
}

.btn-invert:hover {
  background: var(--surface-raised);
}

.btn-ghost-light {
  background: transparent;
  color: var(--text-invert);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- shared section rhythm ---------- */

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--surface-tint);
}

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

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 100%;
  margin-bottom: 48px;
}

.section-head .section-lede {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 16px;
}

.section-head .cta-row {
  margin-top: 24px;
}

.section-head-sub {
  margin: 72px 0 24px;
}

.subhead {
  font-size: 24px;
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(145deg, #f6e8fa 0%, #faf2fa 32%, #eef9f5 72%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
  min-height: 430px;
}

.hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 58px);
}

.hero-copy .lede {
  font-size: 19px;
  color: var(--text-muted);
  margin-top: 22px;
  max-width: 47ch;
}

.hero-copy .cta-row {
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-subtle);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% 4% -4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(104, 205, 171, 0.34), transparent 44%),
    radial-gradient(circle at 72% 68%, rgba(183, 90, 200, 0.34), transparent 48%);
  filter: blur(22px);
  content: "";
}

.frame {
  background: var(--surface-base);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: #fafafa;
}

.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-default);
  opacity: 0.6;
}

.frame img,
.c360-frame {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: top left;
}

.frame-live .c360-frame {
  display: block;
  height: 360px;
  max-height: none;
  border: 0;
  background: #f3f3f3;
}

.signal-map {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.signal-map li {
  display: grid;
  grid-template-columns: minmax(7.5rem, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.signal-k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.hero-visual figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-subtle);
  text-align: center;
}

/* ---------- hero capability cards ---------- */

.hero-capabilities {
  position: relative;
  isolation: isolate;
  margin-top: 46px;
}

.factbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fact {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  grid-template-rows: minmax(66px, auto) 42px;
  gap: 14px 10px;
  align-items: end;
  min-width: 0;
  min-height: 152px;
  padding: 20px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(72, 22, 82, 0.08), 0 0 0 3px rgba(154, 221, 202, 0.14);
  color: var(--text-primary);
  animation: fact-rise 0.7s ease both;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.fact:nth-child(2) {
  box-shadow: 0 6px 20px rgba(72, 22, 82, 0.08), 0 0 0 3px rgba(171, 220, 183, 0.16);
}

.fact:nth-child(3) {
  box-shadow: 0 6px 20px rgba(72, 22, 82, 0.08), 0 0 0 3px rgba(241, 191, 218, 0.2);
}

.fact:nth-child(4) {
  box-shadow: 0 6px 20px rgba(72, 22, 82, 0.08), 0 0 0 3px rgba(237, 215, 145, 0.2);
}

.fact:hover {
  box-shadow: 0 14px 30px rgba(72, 22, 82, 0.14);
  transform: translateY(-3px);
}

.fact:nth-child(1) {
  animation-delay: 0.05s;
}

.fact:nth-child(2) {
  animation-delay: 0.12s;
}

.fact:nth-child(3) {
  animation-delay: 0.19s;
}

.fact:nth-child(4) {
  animation-delay: 0.26s;
}

.fact-icon {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fact-icon svg {
  width: 23px;
  height: 23px;
}

.fact-copy {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fact-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.fact-copy span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.fact-arrow {
  display: grid;
  grid-column: 3;
  grid-row: 2;
  width: 30px;
  height: 30px;
  align-self: center;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.fact:hover .fact-icon {
  transform: translateY(-1px);
}

.hero-ecosystem {
  overflow: hidden;
  margin-top: 55px;
  margin-bottom: 15px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.hero-ecosystem-track {
  display: flex;
  width: max-content;
  animation: hero-logo-marquee 24s linear infinite;
}

.hero-ecosystem-track ul {
  display: flex;
  flex: 0 0 auto;
  gap: 56px;
  align-items: center;
  margin: 0;
  padding: 0 56px 0 0;
  list-style: none;
}

.hero-ecosystem li {
  display: flex;
  width: 104px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

.hero-ecosystem img {
  width: auto;
  max-width: 92px;
  max-height: 28px;
  opacity: 1;
}

@keyframes hero-logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ecosystem-track {
    animation: none;
  }
}

@keyframes fact-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fact {
    animation: none;
  }
}

/* ---------- figures ---------- */

.figure {
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.figure img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.figure-square img {
  max-height: 380px;
}

.figure-card {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 28px;
  overflow: visible;
  border: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(155deg, #f7eaf8 0%, #eef8f4 48%, #fdf6f0 100%);
  box-shadow: none;
  perspective: 900px;
}

.smart-card {
  position: relative;
  display: flex;
  width: min(220px, 100%);
  aspect-ratio: 63 / 99;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 18px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 24px 40px rgba(72, 22, 82, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  color: var(--accent);
  transform: none;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.smart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.42), transparent 18%),
    radial-gradient(circle at 76% 48%, rgba(255, 232, 248, 0.28), transparent 25%),
    linear-gradient(124deg, transparent 12%, rgba(255, 255, 255, 0.3) 34%, transparent 52%);
  background-size: 125% 125%, 135% 135%, 170% 170%;
  mix-blend-mode: screen;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 346' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H220V216C116 232 58 346 0 316Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 346' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H220V216C116 232 58 346 0 316Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: anha-aurora-sheen 14s ease-in-out infinite;
}

.smart-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.smart-card-aurora-blooms {
  transform-origin: 110px 166px;
  animation: anha-aurora-breathe 16s ease-in-out infinite alternate;
}

.smart-card-aurora-ribbons {
  animation: anha-aurora-ribbons 13s ease-in-out infinite alternate;
}

.smart-card-aurora-sparks {
  animation: anha-aurora-sparks 5s ease-in-out infinite;
}

@keyframes anha-aurora-breathe {
  from {
    transform: translate(-7px, -5px) scale(1.06) rotate(-1deg);
  }

  to {
    transform: translate(9px, 7px) scale(1.13) rotate(2deg);
  }
}

@keyframes anha-aurora-ribbons {
  from {
    transform: translate(-9px, 7px);
  }

  to {
    transform: translate(10px, -7px);
  }
}

@keyframes anha-aurora-sparks {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes anha-aurora-sheen {
  0%,
  100% {
    background-position: 5% 10%, 90% 45%, 100% 100%;
  }

  50% {
    background-position: 22% 22%, 68% 60%, 0 0;
  }
}

.figure-card:hover .smart-card,
.figure-card.is-tilting .smart-card {
  box-shadow:
    0 32px 54px rgba(72, 22, 82, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

.figure-card.is-tilting .smart-card {
  transition: box-shadow 180ms ease;
}

.smart-card-art,
.smart-card-glare,
.smart-card-chip,
.smart-card-waves {
  z-index: 1;
}

.smart-card-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(180px circle at var(--gx, 30%) var(--gy, 18%),
      rgba(255, 255, 255, 0.42),
      transparent 55%);
  mix-blend-mode: screen;
  opacity: 0;
}

.figure-card.is-tilting .smart-card-glare {
  opacity: 1;
}

.smart-card-chip {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 32px;
}

.smart-card-chip svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 1px rgba(72, 22, 82, 0.18));
}

.smart-card-waves {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 18px;
  width: 28px;
  height: 28px;
  color: #fff;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(72, 22, 82, 0.22));
}

.smart-card-waves svg {
  display: block;
  width: 100%;
  height: 100%;
}

.smart-card-brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-top: auto;
  text-align: right;
}

.smart-card-brand strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.smart-card-brand small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .smart-card {
    transform: none;
    transition: none;
  }

  .smart-card::before,
  .smart-card-aurora-blooms,
  .smart-card-aurora-ribbons,
  .smart-card-aurora-sparks {
    animation: none;
  }

  .smart-card-art animate {
    display: none;
  }
}

.figure-wide {
  margin-bottom: 24px;
}

.figure-wide img {
  max-height: 550px;
}

.figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border-soft);
}

.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.tag-ok {
  background: var(--surface-raised);
  color: #1f4d42;
}

.tag-off {
  background: #f6ecec;
  color: #7a2b2b;
}

/* ---------- problem ---------- */

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  color: var(--text-muted);
}

.checklist li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-raised);
  color: #1f4d42;
  font-size: 12px;
  font-weight: 700;
}

.checklist-warn li::before {
  content: "!";
  background: #f6ecec;
  color: #7a2b2b;
}

.checklist-lock li::before {
  background: var(--accent-soft);
  color: var(--accent);
}

.checklist-lock li {
  font-size: 16px;
}

/* ---------- animated customer journey ---------- */

.journey {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 24px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 237, 231, 0.72), transparent 30%),
    linear-gradient(145deg, #ffffff 10%, #fbf7fc 100%);
  box-shadow: var(--shadow-lg);
}

.journey-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(72, 22, 82, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 22, 82, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.journey-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 11px;
  border: 1px solid rgba(72, 22, 82, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.journey-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #238b69;
  box-shadow: 0 0 0 4px rgba(35, 139, 105, 0.12);
}

.journey-stages {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-stage {
  position: relative;
  min-width: 0;
  padding: 16px 14px 18px;
  border: 1px solid rgba(72, 22, 82, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(12px);
}

.journey.is-visible .journey-stage {
  animation:
    journey-stage-in 500ms calc(var(--stage) * 110ms) ease forwards,
    journey-stage-live 7.5s calc(1s + var(--stage) * 1.25s) ease-in-out infinite;
}

.journey-stage-anha {
  border-color: rgba(72, 22, 82, 0.38);
  background: linear-gradient(150deg, #ffffff, #f4eaf6);
}

.journey-step {
  position: absolute;
  top: 10px;
  right: 11px;
  color: rgba(72, 22, 82, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.journey-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 42px;
  place-items: center;
  border: 1px solid rgba(72, 22, 82, 0.14);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 7px 18px rgba(72, 22, 82, 0.1);
}

.journey-icon svg {
  width: 30px;
  height: 30px;
}

.journey-icon-mark {
  background: var(--accent);
  color: #fff;
}

.journey-stage-copy {
  display: flex;
  flex-direction: column;
  min-height: 112px;
}

.journey-kicker {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-stage strong {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.3;
}

.journey-stage small {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.journey-track {
  position: absolute;
  z-index: 3;
  top: 143px;
  right: 10.5%;
  left: 10.5%;
  height: 2px;
  pointer-events: none;
}

.journey-track::before {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #d9cadd;
  content: "";
}

.journey-track-fill {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #238b69, var(--accent));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.journey.is-visible .journey-track-fill {
  animation: journey-track-fill 7.5s 650ms ease-in-out infinite;
}

.journey-signal {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px rgba(72, 22, 82, 0.13),
    0 0 18px rgba(72, 22, 82, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.journey.is-visible .journey-signal {
  animation: journey-signal-run 7.5s 650ms ease-in-out infinite;
}

.journey-loop {
  position: relative;
  min-height: 74px;
  margin-top: 7px;
}

.journey-loop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 64px;
  overflow: visible;
}

.journey-loop path {
  fill: none;
  stroke: rgba(72, 22, 82, 0.36);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
}

.journey-loop span {
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.journey-loop b {
  color: var(--accent);
}

.journey-details-label {
  margin: 42px 0 14px;
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes journey-stage-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes journey-stage-live {

  0%,
  13%,
  100% {
    border-color: rgba(72, 22, 82, 0.12);
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
  }

  5%,
  9% {
    border-color: rgba(72, 22, 82, 0.5);
    box-shadow: 0 10px 28px rgba(72, 22, 82, 0.15);
    transform: translateY(-4px);
  }
}

@keyframes journey-track-fill {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  6%,
  78% {
    opacity: 1;
  }

  82%,
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes journey-signal-run {
  0% {
    left: 0;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  78% {
    left: 100%;
    opacity: 1;
  }

  84%,
  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .journey {
    padding: 22px 18px 18px;
  }

  .journey-status {
    margin-bottom: 18px;
  }

  .journey-stages {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .journey-stage {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 38px 14px 14px;
  }

  .journey-icon {
    z-index: 2;
    margin: 0;
  }

  .journey-stage-copy {
    min-height: 0;
  }

  .journey-track {
    top: 111px;
    right: auto;
    bottom: 106px;
    left: 45px;
    width: 2px;
    height: auto;
  }

  .journey-track-fill {
    transform: scaleY(0);
    transform-origin: top;
  }

  .journey.is-visible .journey-track-fill {
    animation-name: journey-track-fill-mobile;
  }

  .journey-signal {
    top: 0;
    left: 50%;
  }

  .journey.is-visible .journey-signal {
    animation-name: journey-signal-run-mobile;
  }

  .journey-loop {
    min-height: 58px;
    margin-top: 2px;
  }

  .journey-loop svg {
    display: none;
  }

  .journey-loop span {
    width: 100%;
    white-space: normal;
  }

  .journey-details-label {
    margin-top: 34px;
  }
}

@keyframes journey-track-fill-mobile {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  6%,
  78% {
    opacity: 1;
  }

  82%,
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes journey-signal-run-mobile {
  0% {
    top: 0;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  78% {
    top: 100%;
    opacity: 1;
  }

  84%,
  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-stage {
    opacity: 1;
    transform: none;
  }

  .journey.is-visible .journey-stage,
  .journey.is-visible .journey-track-fill,
  .journey.is-visible .journey-signal {
    animation: none;
  }

  .journey-track-fill {
    opacity: 0.65;
    transform: none;
  }

  .journey-signal {
    display: none;
  }
}

/* ---------- customer 360 hub ---------- */

.customer360 {
  padding-bottom: 26px;
}

.customer360-map {
  position: relative;
  min-height: 690px;
  margin-top: -12px;
  margin-bottom: 84px;
}

.customer360-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.customer360-rings span {
  position: absolute;
  border: 1px solid rgba(72, 22, 82, 0.14);
  border-radius: 50%;
  inset: 0;
}

.customer360-rings span:nth-child(2) {
  inset: 52px;
  border-color: rgba(35, 139, 105, 0.2);
}

.customer360-rings span:nth-child(3) {
  inset: 112px;
  border-color: rgba(72, 22, 82, 0.18);
  background: radial-gradient(circle, rgba(243, 233, 245, 0.82), rgba(255, 255, 255, 0.15) 68%);
}

.customer360.is-visible .customer360-rings span:nth-child(2) {
  animation: customer360-ring-breathe 4s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(72, 22, 82, 0.1), 0 0 16px rgba(72, 22, 82, 0.4);
}

.customer360.is-visible .orbit-dot-one {
  animation: customer360-orbit-one 11s linear infinite;
}

.customer360.is-visible .orbit-dot-two {
  width: 8px;
  height: 8px;
  background: #238b69;
  animation: customer360-orbit-two 8s linear infinite;
}

.customer360.is-visible .orbit-dot-three {
  width: 6px;
  height: 6px;
  opacity: 0.65;
  animation: customer360-orbit-three 6s linear infinite;
}

.integration-node {
  position: absolute;
  z-index: 4;
  display: flex;
  width: 252px;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(72, 22, 82, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
}

.customer360.is-visible .integration-node {
  animation: customer360-node-in 500ms ease forwards;
}

.integration-data,
.integration-actions {
  animation-delay: 180ms !important;
}

.integration-crm {
  top: 42px;
  left: 8px;
}

.integration-data {
  bottom: -72px;
  left: 50%;
  width: 292px;
  margin-left: -146px;
}

.integration-actions {
  top: 42px;
  right: 8px;
}

.integration-logos {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.integration-logos img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 8px;
  background: #fff;
}

.integration-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.integration-icon svg {
  width: 24px;
  height: 24px;
}

.integration-node div {
  min-width: 0;
}

.integration-node strong,
.integration-node small {
  display: block;
}

.integration-node strong {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.3;
}

.integration-node small {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}

.customer360-core {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: flex;
  width: 184px;
  height: 184px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(72, 22, 82, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 18%, #eee0f2);
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.78),
    0 18px 44px rgba(72, 22, 82, 0.18);
  color: var(--accent);
  transform: translate(-50%, -50%);
}

.customer360.is-visible .customer360-core {
  animation: customer360-core-breathe 4s ease-in-out infinite;
}

.core-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
}

.customer360-core strong {
  font-size: 25px;
  line-height: 1.1;
}

.customer360-core>span:not(.core-signal) {
  font-size: 15px;
  font-weight: 700;
}

.customer360-core small {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-signal {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(72, 22, 82, 0.24);
  border-radius: 50%;
}

.customer360.is-visible .core-signal {
  animation: customer360-signal 2.4s ease-out infinite;
}

.impact-orbit {
  position: absolute;
  z-index: 5;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.impact-node {
  position: absolute;
  display: flex;
  width: 100px;
  height: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(72, 22, 82, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.customer360.is-visible .impact-node {
  animation:
    customer360-impact-in 450ms calc(300ms + var(--impact) * 90ms) ease forwards,
    customer360-impact-live 6s calc(1.2s + var(--impact) * 700ms) ease-in-out infinite;
}

.impact-node b {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
}

.impact-node span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.impact-conversion {
  --impact: 0;
  top: 9%;
  left: 50%;
}

.impact-retention {
  --impact: 1;
  top: 27%;
  left: 69%;
}

.impact-productivity {
  --impact: 2;
  top: 73%;
  left: 69%;
}

.impact-roi {
  --impact: 3;
  top: 91%;
  left: 50%;
}

.impact-recovery {
  --impact: 4;
  top: 73%;
  left: 31%;
}

.impact-tech {
  --impact: 5;
  top: 27%;
  left: 31%;
}

.customer360-flow {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.flow-spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  height: 1px;
  overflow: hidden;
  background: rgba(72, 22, 82, 0.16);
  transform-origin: left;
}

.flow-spoke::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #238b69, var(--accent), transparent);
  content: "";
  transform: translateX(-100%);
}

.customer360.is-visible .flow-spoke::after {
  animation: customer360-flow 3s ease-in-out infinite;
}

.flow-spoke-nw {
  transform: rotate(213deg);
}

.flow-spoke-sw {
  width: 34%;
  transform: rotate(90deg);
}

.flow-spoke-ne {
  transform: rotate(-33deg);
}

.customer360-caption {
  display: flex;
  position: relative;
  z-index: 7;
  gap: 20px;
  justify-content: center;
  margin-top: -2px;
  padding: 15px 18px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.customer360-caption span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--text-muted);
  font-size: 10px;
}

.customer360-caption b {
  color: var(--text-primary);
}

.caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.caption-in {
  background: #238b69;
}

.caption-out {
  background: var(--accent);
}

.caption-loop {
  border: 2px solid var(--accent);
}

@keyframes customer360-node-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes customer360-impact-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes customer360-impact-live {

  0%,
  16%,
  100% {
    box-shadow: var(--shadow-md);
  }

  6%,
  10% {
    box-shadow: 0 0 0 7px rgba(72, 22, 82, 0.07), 0 10px 24px rgba(72, 22, 82, 0.15);
  }
}

@keyframes customer360-ring-breathe {
  50% {
    border-color: rgba(72, 22, 82, 0.35);
    transform: scale(1.025);
  }
}

@keyframes customer360-core-breathe {
  50% {
    box-shadow:
      0 0 0 18px rgba(255, 255, 255, 0.62),
      0 22px 52px rgba(72, 22, 82, 0.23);
  }
}

@keyframes customer360-signal {
  0% {
    opacity: 0.65;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes customer360-orbit-one {
  from {
    transform: rotate(0deg) translateX(250px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(250px) rotate(-360deg);
  }
}

@keyframes customer360-orbit-two {
  from {
    transform: rotate(120deg) translateX(198px) rotate(-120deg);
  }

  to {
    transform: rotate(480deg) translateX(198px) rotate(-480deg);
  }
}

@keyframes customer360-orbit-three {
  from {
    transform: rotate(240deg) translateX(138px) rotate(-240deg);
  }

  to {
    transform: rotate(600deg) translateX(138px) rotate(-600deg);
  }
}

@keyframes customer360-flow {

  45%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 880px) {
  .customer360-map {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .customer360-rings,
  .customer360-flow {
    display: none;
  }

  .customer360-core,
  .integration-node,
  .impact-orbit,
  .impact-node {
    position: static;
  }

  .customer360-core {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 174px;
    height: 174px;
    margin: 14px auto 22px;
    transform: none;
  }

  .integration-node {
    width: auto;
    margin-left: 0;
    opacity: 0;
    transform: translateY(8px);
  }

  .impact-orbit {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    pointer-events: auto;
  }

  .impact-node {
    width: auto;
    height: auto;
    min-height: 82px;
    padding: 10px 6px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(8px) scale(1);
  }

  .customer360.is-visible .impact-node {
    animation: customer360-impact-in-mobile 450ms calc(300ms + var(--impact) * 90ms) ease forwards;
  }

  .customer360-caption {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .customer360-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer360-core,
  .impact-orbit {
    grid-column: 1;
  }

  .impact-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero composition overrides */
@media (max-width: 1060px) {
  .hero-capabilities .factbar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-capabilities .fact {
    margin-bottom: 0;
    padding: 20px;
    border-bottom: 1px solid rgba(72, 22, 82, 0.1);
  }

  .hero-capabilities .fact:nth-child(-n+2) {
    margin-bottom: 0;
    padding-bottom: 20px;
  }

  .hero-capabilities .fact::after {
    display: none;
  }

}

@media (max-width: 900px) {
  .hero {
    padding: 52px 0 38px;
  }

  .hero-grid {
    min-height: 0;
    gap: 44px;
  }

  .hero-visual {
    margin-top: 6px;
  }

  .hero-capabilities {
    margin-top: 42px;
  }

  .hero-capabilities .factbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-ecosystem-track ul {
    gap: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 560px) {
  .hero-capabilities .factbar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .hero-copy .lede {
    font-size: 18px;
  }

  .hero-capabilities .fact,
  .hero-capabilities .fact:nth-child(-n+2) {
    min-height: 142px;
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(72, 22, 82, 0.1);
  }

  .hero-capabilities .fact-icon {
    width: 42px;
    height: 42px;
  }

  .hero-capabilities .fact-icon svg {
    width: 23px;
    height: 23px;
  }

  .hero-ecosystem-track ul {
    width: auto;
    gap: 32px;
    padding-right: 32px;
  }

  .hero-ecosystem li {
    width: 90px;
  }
}

@keyframes customer360-impact-in-mobile {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .customer360.is-visible .customer360-rings span,
  .customer360.is-visible .orbit-dot,
  .customer360.is-visible .customer360-core,
  .customer360.is-visible .core-signal,
  .customer360.is-visible .impact-node,
  .customer360.is-visible .flow-spoke::after {
    animation: none;
  }

  .customer360 .integration-node,
  .customer360 .impact-node {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .customer360 .integration-node {
    transform: none;
  }
}

@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .customer360 .impact-node {
    transform: none;
  }
}

/* ---------- tabs ---------- */

.tabs {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border-soft);
  background: #fbfbfc;
}

.tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease, background-color 150ms ease;
}

.tab:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--surface-base);
}

.tab-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.tab[aria-selected="true"] .tab-num {
  color: var(--accent);
}

.panel {
  padding: 48px;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.panel-grid h3 {
  margin-bottom: 12px;
}

.panel-grid p {
  color: var(--text-muted);
}

.panel-grid .checklist {
  margin-top: 24px;
}

/* ---------- Salesforce platform journey ---------- */

.platform-journey {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(72, 22, 82, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 8%, rgba(35, 139, 105, 0.08), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(72, 22, 82, 0.09), transparent 28%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(72, 22, 82, 0.1);
}

.platform-journey-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(72, 22, 82, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 22, 82, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.platform-journey-status {
  display: inline-flex;
  position: relative;
  z-index: 4;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(35, 139, 105, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.platform-journey-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #238b69;
  box-shadow: 0 0 0 4px rgba(35, 139, 105, 0.1);
}

.platform-journey.is-visible .platform-journey-status span {
  animation: platform-status-pulse 2s ease-in-out infinite;
}

.platform-journey-stages {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr 1fr 1.16fr 1fr;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.platform-stage {
  position: relative;
  min-width: 0;
  min-height: 374px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(72, 22, 82, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 28px rgba(72, 22, 82, 0.08);
  opacity: 0;
  transform: translateY(14px);
}

.platform-stage-anha {
  border-color: rgba(72, 22, 82, 0.26);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(245, 233, 247, 0.96));
}

.platform-stage-actions {
  border-color: rgba(35, 139, 105, 0.24);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 245, 0.96));
}

.platform-journey.is-visible .platform-stage {
  animation: platform-stage-in 520ms calc(120ms + var(--platform-step) * 150ms) ease forwards;
}

.platform-step {
  position: absolute;
  top: 15px;
  right: 16px;
  color: rgba(72, 22, 82, 0.38);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.platform-stage-icon {
  display: grid;
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(72, 22, 82, 0.12);
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(72, 22, 82, 0.1);
}

.platform-stage-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.platform-stage-icon svg {
  width: 30px;
  height: 30px;
}

.platform-stage-icon-anha {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.platform-stage-icon-anha i {
  position: absolute;
  border: 1px solid rgba(72, 22, 82, 0.34);
  border-radius: 18px;
  inset: -7px;
  opacity: 0;
}

.platform-journey.is-visible .platform-stage-icon-anha i {
  animation: platform-anha-signal 2.4s 900ms ease-out infinite;
}

.platform-stage-icon-actions {
  border-color: rgba(35, 139, 105, 0.22);
  background: rgba(35, 139, 105, 0.1);
  color: #238b69;
}

.platform-stage-icon-outcome {
  background: rgba(72, 22, 82, 0.09);
}

.platform-kicker {
  margin: 0 0 5px;
  color: var(--accent) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-stage h3 {
  margin: 0 0 9px;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.25;
}

.platform-stage>p:not(.platform-kicker) {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.platform-event-tags,
.platform-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}

.platform-event-tags span,
.platform-outcomes span {
  padding: 5px 8px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 999px;
  background: rgba(72, 22, 82, 0.06);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.platform-profile {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 12px;
  background: rgba(247, 240, 248, 0.76);
}

.platform-profile>span:last-child,
.platform-action>span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.platform-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.platform-profile b,
.platform-action b {
  color: var(--text-primary);
  font-size: 10px;
  line-height: 1.3;
}

.platform-profile small,
.platform-action small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1.35;
}

.platform-action-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.platform-action {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(35, 139, 105, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 10px rgba(35, 139, 105, 0.05);
}

.platform-action img {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.platform-journey.is-visible .platform-action {
  animation: platform-action-live 7.5s calc(2.6s + var(--action-step) * 1.2s) ease-in-out infinite;
}

.platform-connectors {
  position: absolute;
  z-index: 1;
  top: 138px;
  right: 13%;
  left: 13%;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(72, 22, 82, 0.18);
  pointer-events: none;
}

.platform-connectors span {
  display: none;
}

.platform-connectors::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(72, 22, 82, 0.1), 0 0 16px rgba(72, 22, 82, 0.45);
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%);
}

.platform-journey.is-visible .platform-connectors::after {
  animation: platform-signal-run 7.5s 900ms ease-in-out infinite;
}

.platform-writeback {
  position: relative;
  min-height: 76px;
  margin: 5px 3% 0;
}

.platform-writeback svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 64px;
  overflow: visible;
}

.platform-writeback path {
  fill: none;
  stroke: rgba(72, 22, 82, 0.32);
  stroke-width: 1.4;
  stroke-dasharray: 6 7;
  vector-effect: non-scaling-stroke;
}

.platform-journey.is-visible .platform-writeback path {
  animation: platform-writeback-flow 3s linear infinite;
}

.platform-writeback span {
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 6px 12px;
  border: 1px solid rgba(72, 22, 82, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.platform-writeback b,
.platform-journey-summary b {
  color: var(--accent);
}

.platform-journey-summary {
  max-width: 74ch;
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

@keyframes platform-stage-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes platform-status-pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(35, 139, 105, 0.05);
    opacity: 0.68;
  }
}

@keyframes platform-anha-signal {
  0% {
    opacity: 0.7;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

@keyframes platform-signal-run {
  0% {
    left: 0;
    opacity: 0;
  }

  6%,
  92% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes platform-action-live {
  0%,
  12%,
  100% {
    border-color: rgba(35, 139, 105, 0.12);
    box-shadow: 0 4px 10px rgba(35, 139, 105, 0.05);
    transform: translateX(0);
  }

  4%,
  8% {
    border-color: rgba(35, 139, 105, 0.48);
    box-shadow: 0 0 0 4px rgba(35, 139, 105, 0.07);
    transform: translateX(3px);
  }
}

@keyframes platform-writeback-flow {
  to {
    stroke-dashoffset: -26;
  }
}

@media (max-width: 900px) {
  .platform-journey-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-stage {
    min-height: 342px;
  }

  .platform-connectors {
    display: none;
  }
}

@media (max-width: 560px) {
  .platform-journey {
    padding: 16px;
    border-radius: 18px;
  }

  .platform-journey-status {
    font-size: 9px;
  }

  .platform-journey-stages {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
  }

  .platform-stage {
    min-height: 0;
    padding: 18px;
  }

  .platform-stage-icon {
    margin-bottom: 20px;
  }

  .platform-writeback {
    min-height: 52px;
    margin-top: 12px;
  }

  .platform-writeback svg {
    display: none;
  }

  .platform-writeback span {
    position: static;
    display: block;
    white-space: normal;
    text-align: center;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-journey .platform-stage {
    opacity: 1;
    transform: none;
  }

  .platform-journey-status span,
  .platform-stage-icon-anha i,
  .platform-action,
  .platform-connectors::after,
  .platform-writeback path {
    animation: none !important;
  }
}

/* ---------- flow line ---------- */

.flowline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flow-node {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-tint);
  border: 1px solid var(--border-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.flow-node-anha {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-invert);
}

.flow-pulse {
  position: relative;
  flex: 1 1 60px;
  min-width: 40px;
  height: 2px;
  background: var(--border-soft);
  border-radius: 2px;
  overflow: hidden;
}

.flow-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: var(--accent);
  animation: flow-run 1.9s ease-in-out infinite;
}

@keyframes flow-run {
  0% {
    left: -30%;
  }

  100% {
    left: 100%;
  }
}

@media (max-width: 700px) {
  .flowline {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 20px;
    overflow: visible;
  }

  .flow-node {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .flow-pulse {
    flex: 0 0 auto;
    align-self: center;
    width: 2px;
    min-width: 0;
    height: 28px;
    margin: 4px 0;
  }

  .flow-pulse::after {
    top: -30%;
    left: 0;
    width: 100%;
    height: 30%;
    animation-name: flow-run-vertical;
  }
}

@keyframes flow-run-vertical {
  0% {
    top: -30%;
  }

  100% {
    top: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-pulse::after {
    animation: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }

  .cta-band::before {
    inset: -10% -6% -14% -6%;
    opacity: 0.55;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- cards ---------- */

.card {
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3,
.card h4 {
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card-cloud img {
  margin-bottom: 16px;
}

.card-owner {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-subtle) !important;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* ---------- Setup in Get started ---------- */

.setup-panel {
  margin-top: 72px;
}

.setup-panel .section-head-sub {
  margin-top: 0;
  margin-bottom: 32px;
}

.setup-panel .section-lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 52ch;
}

.setup-layout {
  display: grid;
  gap: 32px;
}

.figure-setup img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.setup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  counter-reset: setup;
}

.setup-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  box-shadow: var(--shadow-sm);
  counter-increment: setup;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.setup-steps li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.setup-steps li::before {
  content: counter(setup);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.setup-steps .setup-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.setup-steps strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.setup-steps span {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------- Use cases ---------- */

.uc-list {
  border-top: 1px solid #e8e8e8;
}

.uc-item {
  margin: 0;
  border-bottom: 1px solid #e8e8e8;
  background: transparent;
}

.uc-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 20px;
  padding: 28px 4px;
  cursor: pointer;
}

.uc-summary::-webkit-details-marker {
  display: none;
}

.uc-title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.uc-plus {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.uc-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--surface-base);
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.uc-cta:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.uc-item[open] .uc-plus {
  display: none;
}

.uc-item[open] .uc-cta {
  display: inline-flex;
}

.uc-body {
  padding: 0 4px 36px;
}

.uc-media {
  margin: 0 0 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-tint);
}

.uc-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.uc-flow-label {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.uc-flow {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  position: relative;
}

.uc-flow::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: #f0f0f0;
  z-index: 0;
}

.uc-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  z-index: 1;
}

.uc-flow-num {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #481652;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px var(--surface-base);
}

.uc-flow div strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.uc-flow div span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.uc-blurb {
  margin: 0;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

.more-industries {
  margin-top: 48px;
}

.industry-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-chips li {
  padding: 10px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--surface-base);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.usecase-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  padding: 44px 48px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(200, 140, 220, 0.35) 0%, rgba(200, 140, 220, 0) 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(88, 40, 120, 0.55) 0%, rgba(88, 40, 120, 0) 50%),
    linear-gradient(125deg, #2a0e36 0%, #481652 42%, #6b2a7c 78%, #3a1248 100%);
  color: var(--text-invert);
  box-shadow: var(--shadow-lg);
}

.usecase-cta-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(420px, 55%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 233, 245, 0.28) 0%, rgba(243, 233, 245, 0) 68%);
  pointer-events: none;
  z-index: 0;
  animation: usecase-glow 8s ease-in-out infinite alternate;
}

.usecase-cta-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.usecase-cta-sparkles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f3e9f5;
  opacity: 0.55;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  animation: usecase-twinkle 2.8s ease-in-out infinite;
}

.usecase-cta-sparkles span:nth-child(1) {
  top: 18%;
  right: 12%;
  width: 10px;
  height: 10px;
  animation-delay: 0s;
}

.usecase-cta-sparkles span:nth-child(2) {
  top: 28%;
  right: 28%;
  width: 6px;
  height: 6px;
  opacity: 0.4;
  animation-delay: 0.45s;
}

.usecase-cta-sparkles span:nth-child(3) {
  top: 62%;
  right: 18%;
  width: 7px;
  height: 7px;
  animation-delay: 0.9s;
}

.usecase-cta-sparkles span:nth-child(4) {
  bottom: 22%;
  left: 8%;
  width: 6px;
  height: 6px;
  opacity: 0.35;
  animation-delay: 1.2s;
}

.usecase-cta-sparkles span:nth-child(5) {
  top: 14%;
  left: 42%;
  width: 5px;
  height: 5px;
  opacity: 0.3;
  animation-delay: 0.6s;
}

.usecase-cta-sparkles span:nth-child(6) {
  bottom: 18%;
  right: 36%;
  width: 9px;
  height: 9px;
  animation-delay: 1.6s;
}

.usecase-cta-copy,
.usecase-cta .cta-row {
  position: relative;
  z-index: 1;
}

.usecase-cta .eyebrow {
  color: #e8d5ef;
}

.usecase-cta h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}

.usecase-cta p:not(.eyebrow) {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.usecase-cta .cta-row {
  justify-content: flex-end;
}

.usecase-cta .btn-primary {
  background: #f3e9f5;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(15, 10, 24, 0.22);
}

.usecase-cta .btn-primary:hover {
  background: #fff;
}

.usecase-cta .btn-outline {
  color: var(--text-invert);
  border-color: rgba(243, 233, 245, 0.55);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.usecase-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(243, 233, 245, 0.85);
}

@keyframes usecase-twinkle {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.85) rotate(0deg);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.15) rotate(18deg);
  }
}

@keyframes usecase-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }

  to {
    transform: translate3d(-6%, 8%, 0) scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .usecase-cta-sparkles span,
  .usecase-cta-glow {
    animation: none;
  }
}

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

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-ready {
  background: var(--surface-raised);
  color: #1f4d42;
}

.badge-api {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-custom {
  background: #eeeeee;
  color: #4a4f4b;
}

/* ---------- impact ---------- */

.impact {
  background: #faf7fb;
}

.impact-wrap {
  width: min(920px, calc(100% - 48px));
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.impact-feature {
  margin: 0 auto 48px;
  max-width: 720px;
  text-align: center;
}

.impact-stat {
  margin: 0 0 20px;
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.impact-feature blockquote {
  margin: 0 0 20px;
}

.impact-feature blockquote p {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

.impact-feature figcaption,
.impact-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-subtle);
}

.impact-feature figcaption {
  flex-direction: row;
  text-align: left;
}

.impact-feature figcaption strong {
  display: block;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
}

.impact-feature figcaption span,
.impact-source span {
  display: block;
  color: var(--text-subtle);
}

.impact-source-logo {
  display: block;
  height: 22px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.impact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.impact-link::after {
  content: "›";
  font-size: 1.15em;
  line-height: 1;
}

.impact-link:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin-bottom: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.impact-grid article {
  padding-top: 28px;
}

.impact-num {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.impact-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.impact-grid article>p:not(.impact-num):not(.impact-source) {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.impact-grid .impact-source {
  justify-content: flex-start;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.impact-roundup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
  max-width: 52ch;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-subtle);
}

.impact-roundup .impact-source-logo {
  display: block;
  margin-inline: auto;
}

.impact-roundup a {
  color: var(--accent);
  font-weight: 600;
}

.impact-bridge {
  margin: 0 auto;
  max-width: 58ch;
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- revenue teams ---------- */

.teams {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(105deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(252, 247, 252, 0.84) 40%,
      rgba(246, 238, 249, 0.7) 72%,
      rgba(255, 255, 255, 0.58) 100%),
    url("assets/signal-field.png") center / cover no-repeat;
  color: var(--text-primary);
  padding: 96px 0;
}

.teams-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 48px 56px;
  align-items: center;
}

.teams-copy {
  max-width: none;
  min-width: 0;
}

.teams-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.teams-copy>p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

.teams-copy .btn-primary {
  box-shadow: var(--shadow-sm);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px 20px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(72, 22, 82, 0.14);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 36px rgba(72, 22, 82, 0.12);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
}

.team-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  color: var(--accent);
}

.team-icon svg {
  width: 26px;
  height: 26px;
}

.team-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.team-card>p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.team-link:hover {
  color: var(--accent-hover);
}

.team-link span {
  transition: transform 0.15s ease;
}

.team-link:hover span {
  transform: translateX(3px);
}

/* ---------- stat band ---------- */

.statband {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 80% at 78% 55%, rgba(124, 58, 140, 0.55) 0%, rgba(124, 58, 140, 0) 58%),
    linear-gradient(118deg, #1f0a28 0%, #481652 38%, #6b2a7c 72%, #2f0f3a 100%);
  color: var(--text-invert);
  padding: 88px 0;
}

.statband-head {
  max-width: 38rem;
  margin-bottom: 48px;
}

.statband .eyebrow {
  margin-bottom: 14px;
  color: rgba(243, 233, 245, 0.92);
}

.statband-head h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.statband-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: center;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.stat b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  border-radius: 50%;
  background: #e8d5ef;
  color: #2a0e36;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- data model / security layout ---------- */

.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.model-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chips span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: var(--surface-tint);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--accent);
}

/* ---------- timeline ---------- */

.steps-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps-timeline li {
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  background: var(--surface-base);
  box-shadow: var(--shadow-sm);
}

.phase {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.steps-timeline h3 {
  margin-bottom: 10px;
}

.steps-timeline p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ---------- logo row ---------- */

.logo-row {
  list-style: none;
  margin: 48px 0 0;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 32px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-base);
}

.logo-row img {
  height: 30px;
  width: auto;
  margin: 0 auto;
  opacity: 0.82;
  transition: opacity 150ms ease;
}

.logo-row li:hover img {
  opacity: 1;
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr);
  gap: 48px 64px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-intro h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.faq-wave {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin-top: 28px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e6e6e6;
}

.faq details {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0;
  background: transparent;
  height: auto;
}

.faq summary {
  cursor: pointer;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 0;
  padding: 22px 4px 22px 0;
  color: var(--text-primary);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font);
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--accent-hover);
}

.faq details p {
  margin: 0;
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  font-family: var(--font);
}

/* ---------- cta band ---------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f3e9f5;
  color: var(--text-primary);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -10% -6% -14% -6%;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/cta-wave-overlay.svg");
  background-repeat: no-repeat;
  background-position: 78% 48%;
  background-size: 135% auto;
  opacity: 0.72;
  mix-blend-mode: multiply;
  animation: cta-wave-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes cta-wave-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-1.5%, -1.2%, 0) scale(1.03);
  }
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(243, 233, 245, 0.88) 0%, rgba(243, 233, 245, 0.55) 32%, rgba(243, 233, 245, 0.18) 58%, rgba(243, 233, 245, 0.05) 100%),
    linear-gradient(180deg, rgba(243, 233, 245, 0.65) 0%, rgba(243, 233, 245, 0.15) 28%, rgba(243, 233, 245, 0) 55%);
}

.cta-band>.wrap {
  position: relative;
  z-index: 1;
}

.cta-band .section-head .eyebrow-light {
  color: var(--accent);
}

.cta-band .section-head .section-lede {
  color: var(--text-muted);
}

.cta-band .section-head {
  margin-bottom: 32px;
}

.cta-band .btn-invert {
  background: var(--accent);
  color: var(--text-invert);
}

.cta-band .btn-invert:hover {
  background: var(--accent-hover);
}

.cta-band .btn-ghost-light {
  color: var(--accent);
  border-color: var(--border-default);
  background: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.9);
}

.form-shell {
  margin-top: 48px;
  padding: 40px;
  background: var(--surface-base);
  color: var(--text-primary);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.form-shell>p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  background: var(--surface-base);
  font: inherit;
  font-size: 16px;
  color: var(--text-primary);
}

.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.form-actions .btn-invert {
  background: var(--accent);
  color: var(--text-invert);
}

.form-actions .btn-invert:hover {
  background: var(--accent-hover);
}

.form-actions .btn-invert:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.4;
}

.form-status {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #1b5e20;
}

.form-status.is-error {
  color: #b71c1c;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- footer ---------- */

main {
  position: relative;
  z-index: 1;
  margin-bottom: var(--footer-h);
  background: var(--surface-base);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  padding: 40px 0 35px;
  font-size: 14px;
  color: var(--text-subtle);
  background: var(--surface-base);
}

.foot {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-brand {
  color: var(--text-subtle);
}

.foot-copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-subtle);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-transform: uppercase;
  font-size: 12px;
}

.foot-links a {
  color: var(--text-subtle);
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {

  .cloud-grid,
  .include-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factbar-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    padding: 20px 24px 20px 0;
  }

  .fact:nth-child(2n)::after {
    display: none;
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid rgba(243, 233, 245, 0.18);
    padding-bottom: 24px;
    margin-bottom: 8px;
  }

  .logo-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-grid,
  .problem-layout,
  .model-layout,
  .panel-grid,
  .usecase-cta,
  .faq-layout,
  .teams-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .teams {
    padding: 64px 0;
  }

  .teams-copy {
    max-width: none;
  }

  .teams-layout {
    gap: 32px;
  }

  .foot-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .foot-brand {
    text-align: center;
  }

  .foot-links {
    justify-content: center;
  }

  .faq-intro {
    position: static;
  }

  .faq-wave {
    width: min(220px, 70%);
    margin-top: 16px;
  }

  .uc-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 22px 0;
    gap: 14px;
  }

  .uc-title {
    font-size: 17px;
  }

  .uc-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .uc-flow::before {
    top: 18px;
    bottom: 18px;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
    background: #f0f0f0;
  }

  .uc-flow li {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .uc-flow li>div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .uc-flow-num {
    flex: 0 0 36px;
  }

  .uc-media img {
    max-height: 320px;
  }

  .usecase-cta {
    padding: 28px;
  }

  .usecase-cta .cta-row {
    justify-content: flex-start;
  }

  .hero-copy .lede {
    max-width: none;
  }

  .integ-grid,
  .steps-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .setup-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .figure-setup img {
    max-height: 220px;
  }

  .tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab {
    padding: 16px;
    font-size: 15px;
  }

  .panel {
    padding: 28px;
  }

  .figure img,
  .figure-square img {
    max-height: 220px;
  }

  .figure-card {
    min-height: 300px;
    padding: 20px;
  }

  .frame img,
  .frame-live .c360-frame {
    max-height: none;
    height: 320px;
  }

  .signal-map li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .form-shell {
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    margin-bottom: 32px;
  }

  .impact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .impact-grid article {
    padding: 24px 0;
    border-top: 1px solid var(--border-soft);
  }

  .impact-grid article:first-child {
    border-top: 0;
    padding-top: 20px;
  }

  .impact-wrap {
    width: calc(100% - 32px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .cloud-grid,
  .include-grid,
  .factbar-grid,
  .stat-grid,
  .teams-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact {
    align-items: flex-start;
    text-align: left;
    padding: 18px 0;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .fact:nth-child(-n+2) {
    border-bottom: 0;
    padding-bottom: 18px;
    margin-bottom: 0;
  }

  .fact:not(:last-child)::after {
    display: block;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(243, 233, 245, 0) 0%, rgba(243, 233, 245, 0.28) 15%, rgba(243, 233, 245, 0.28) 85%, rgba(243, 233, 245, 0) 100%);
  }

  .fact:nth-child(2n)::after {
    display: block;
  }

  .fact-icon {
    width: 28px;
    height: 28px;
  }

  .fact-icon svg {
    width: 26px;
    height: 26px;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 24px;
  }

  .nav-actions .btn-quiet {
    display: none;
  }
}