/* Propicy — landing */
:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #dbe5ff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #7c3aed;
  --radius: 14px;
  --shadow: 0 2px 8px rgb(15 23 42 / 0.06);
  --shadow-md: 0 14px 36px rgb(37 99 235 / 0.14);
  --primary-rgb: 37 99 235;
  --accent-rgb: 124 58 237;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Georgia", "Times New Roman", serif;
}

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

html {
  /* Instant in-page jumps feel more reliable than smooth-scroll on long pages */
  scroll-behavior: auto;
  /* Offset sticky header when using #home, #workflow-visual, #contact, etc. */
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 360px at 100% -120px, rgb(var(--primary-rgb) / 0.14), transparent),
    radial-gradient(900px 340px at 0% 0%, rgb(var(--accent-rgb) / 0.12), transparent),
    var(--bg);
}

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

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* SVG icons (sprite: icons.svg) */
.icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  color: inherit;
}
.icon--card {
  width: 1.35rem;
  height: 1.35rem;
}
.icon--float {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}
.icon--lead {
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
}
.icon--nav {
  width: 1rem;
  height: 1rem;
  opacity: 0.9;
}
.icon--btn {
  width: 1rem;
  height: 1rem;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgb(15 23 42 / 0.08);
  border-bottom-color: rgb(var(--primary-rgb) / 0.25);
}

/* Temporarily hidden — remove this block to show Pricing again */
.nav__link[data-nav="pricing"] {
  display: none !important;
}
section#pricing {
  display: none !important;
}

.site-header__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.5rem;
}

.site-header__start {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  order: 1;
  max-width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: transform 0.25s ease, color 0.2s ease;
}
.logo:hover {
  text-decoration: none;
  color: var(--primary);
  transform: translateY(-1px);
}
.logo__img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgb(var(--primary-rgb) / 0.18));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover .logo__img {
  transform: scale(1.04);
}
.logo__text {
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .logo:hover {
    transform: none;
  }
  .logo:hover .logo__mark {
    transform: none;
  }
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
  order: 2;
}

.nav {
  display: none;
  align-items: stretch;
  gap: 0.5rem;
  order: 3;
  flex-basis: 100%;
  width: 100%;
}

#site-nav-open:checked ~ .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link:hover {
  color: var(--primary);
  text-decoration: none;
}
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link.is-current {
  color: var(--primary);
}

.nav__link.is-current::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav__link::after {
    transition: none;
    transform: scaleX(0);
  }
  .nav__link:hover::after {
    transform: scaleX(1);
  }
}

.nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#site-nav-open:checked ~ .nav .nav__actions {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.lang-field {
  display: flex;
  align-items: center;
}

.site-header__start .lang-field {
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.lang-select {
  width: auto;
  min-width: 6.75rem;
  max-width: 10rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-select:hover {
  border-color: rgb(var(--primary-rgb) / 0.45);
}

.lang-select:focus {
  outline: 2px solid rgb(var(--primary-rgb) / 0.35);
  outline-offset: 1px;
  border-color: var(--primary);
}

@media (min-width: 768px) {
  .site-header__inner {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .site-header__start,
  .nav {
    order: 0;
  }

  /* Burger wrapper: empty on desktop once toggle is hidden */
  .site-header__tools {
    display: none;
    margin-left: 0;
  }

  .nav,
  #site-nav-open:checked ~ .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 0.25rem 1.25rem;
    flex-basis: auto;
    width: auto;
    min-width: 0;
  }

  #site-nav-open:checked ~ .nav .nav__actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .nav__actions {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .lang-select {
    min-width: 7rem;
    max-width: none;
  }

  /* Burger / hamburger: mobile only (hidden on desktop) */
  .nav-toggle {
    display: none !important;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle:hover {
  background: var(--bg);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
#site-nav-open:checked ~ .site-header__tools .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#site-nav-open:checked ~ .site-header__tools .nav-toggle span:nth-child(2) {
  opacity: 0;
}
#site-nav-open:checked ~ .site-header__tools .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.schedule-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 140;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #0069ff;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgb(0 105 255 / 0.35);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.schedule-fab:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgb(0 105 255 / 0.45);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn--ghost:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgb(var(--primary-rgb) / 0.25);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn__label {
  position: relative;
  z-index: 1;
}

.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgb(255 255 255 / 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: btnShine 6s ease-in-out infinite;
}

@keyframes btnShine {
  0%,
  70% {
    transform: translateX(-100%);
  }
  85% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg);
  color: var(--text);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Scroll reveal — static site (no JS observer): keep content visible immediately */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero__bullets .hero__bullet:nth-child(1) {
  --reveal-delay: 0.06s;
}
.hero__bullets .hero__bullet:nth-child(2) {
  --reveal-delay: 0.12s;
}
.hero__bullets .hero__bullet:nth-child(3) {
  --reveal-delay: 0.18s;
}

.services-grid .service-card:nth-child(1) {
  --reveal-delay: 0.04s;
}
.services-grid .service-card:nth-child(2) {
  --reveal-delay: 0.1s;
}
.services-grid .service-card:nth-child(3) {
  --reveal-delay: 0.16s;
}
.services-grid .service-card:nth-child(4) {
  --reveal-delay: 0.22s;
}
.services-grid .service-card:nth-child(5) {
  --reveal-delay: 0.28s;
}
.services-grid .service-card:nth-child(6) {
  --reveal-delay: 0.34s;
}

.hero__capabilities .hero-cap:nth-child(1) {
  --reveal-delay: 0.04s;
}
.hero__capabilities .hero-cap:nth-child(2) {
  --reveal-delay: 0.08s;
}
.hero__capabilities .hero-cap:nth-child(3) {
  --reveal-delay: 0.12s;
}
.hero__capabilities .hero-cap:nth-child(4) {
  --reveal-delay: 0.16s;
}
.hero__capabilities .hero-cap:nth-child(5) {
  --reveal-delay: 0.2s;
}
.hero__capabilities .hero-cap:nth-child(6) {
  --reveal-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn--shine::after {
    animation: none;
  }
  .btn--primary:hover,
  .btn--ghost:hover {
    transform: none;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: visible;
  padding: 3.8rem 0 4.6rem;
  background: linear-gradient(180deg, rgb(var(--primary-rgb) / 0.12) 0%, var(--bg) 58%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 60% at 50% -30%,
    rgb(var(--accent-rgb) / 0.28),
    transparent 55%
  );
  pointer-events: none;
  animation: heroGlow 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from {
    opacity: 0.75;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

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

@media (min-width: 768px) {
  .hero {
    padding: 5.2rem 0 5.6rem;
  }
}

.hero__grid {
  display: grid;
  gap: 2.9rem;
  /* Top-align so the headline + CTAs stay in view; centering hid the top/bottom of the copy */
  align-items: start;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.hero__copy,
.hero__card {
  min-width: 0;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(
    115deg,
    var(--text) 0%,
    var(--text) 40%,
    var(--primary) 55%,
    var(--accent) 75%,
    var(--text) 95%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleSheen 10s ease-in-out infinite;
}

@keyframes titleSheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--text);
    animation: none;
  }
}

.hero__lead {
  font-size: 1.16rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 48ch;
}

/* Hero flow line — same steps as #workflow-visual (workflowViz.k1–k6) */
.hero__scan {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  max-width: min(100%, 52rem);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--text-muted);
}

.hero__scan-item {
  display: inline-block;
  opacity: 0.38;
  color: var(--text-muted);
  transform: translateY(0);
}

.hero__scan-item--0 {
  animation: heroScanSpot0 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-item--1 {
  animation: heroScanSpot1 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-item--2 {
  animation: heroScanSpot2 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-item--3 {
  animation: heroScanSpot3 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-item--4 {
  animation: heroScanSpot4 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-item--5 {
  animation: heroScanSpot5 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.hero__scan-join {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.28;
  color: var(--text-muted);
  user-select: none;
  transform: translateY(-0.05em);
}

@keyframes heroScanSpot0 {
  0%,
  2% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  5%,
  11% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  15%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

@keyframes heroScanSpot1 {
  0%,
  16% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  19%,
  25% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  29%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

@keyframes heroScanSpot2 {
  0%,
  30% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  33%,
  39% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  43%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

@keyframes heroScanSpot3 {
  0%,
  44% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  47%,
  53% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  57%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

@keyframes heroScanSpot4 {
  0%,
  58% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  61%,
  67% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  71%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

@keyframes heroScanSpot5 {
  0%,
  72% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
  75%,
  90% {
    opacity: 1;
    color: var(--text);
    transform: translateY(-1px);
  }
  94%,
  100% {
    opacity: 0.38;
    color: var(--text-muted);
    transform: translateY(0);
  }
}

/* Workflow diagram — animated rail + staggered nodes */
.section--workflow-viz {
  padding-block: 2.75rem 3rem;
  background: linear-gradient(
    180deg,
    rgb(var(--primary-rgb) / 0.06),
    rgb(255 255 255 / 0) 55%
  );
}

.workflow-viz {
  position: relative;
  margin: 1.75rem auto 0;
  padding: 0.5rem 0 0.25rem;
  max-width: min(100%, 68rem);
}

.workflow-viz__rail {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 1.85rem;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgb(var(--primary-rgb) / 0.12),
    rgb(var(--accent-rgb) / 0.45),
    rgb(var(--primary-rgb) / 0.12)
  );
  background-size: 220% 100%;
  animation: workflowRailShift 5s ease-in-out infinite;
  box-shadow: 0 0 24px rgb(var(--accent-rgb) / 0.2);
}

@keyframes workflowRailShift {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.85;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

.workflow-viz__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.workflow-viz__step {
  flex: 1;
  min-width: 0;
  max-width: 9.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.workflow-viz__node {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 0.95);
  border: 1px solid rgb(var(--primary-rgb) / 0.22);
  box-shadow: 0 10px 32px rgb(15 23 42 / 0.08);
  animation: workflowNodeFloat 3.2s ease-in-out infinite;
  animation-delay: calc(var(--wf-i, 0) * 0.38s);
}

.workflow-viz__node--crm {
  border-color: rgb(var(--primary-rgb) / 0.38);
  box-shadow: 0 10px 36px rgb(var(--primary-rgb) / 0.18);
}

.workflow-viz__node--channels {
  width: 3.7rem;
  height: 3.7rem;
}

.workflow-viz__node--deal {
  border-color: rgb(var(--accent-rgb) / 0.45);
  background: linear-gradient(
    155deg,
    rgb(255 255 255 / 0.98),
    rgb(var(--accent-rgb) / 0.08)
  );
}

.workflow-viz__node--dashboard {
  border-color: rgb(var(--primary-rgb) / 0.35);
  background: linear-gradient(
    155deg,
    rgb(255 255 255 / 0.98),
    rgb(var(--primary-rgb) / 0.07)
  );
  box-shadow: 0 10px 34px rgb(var(--primary-rgb) / 0.14);
}

@keyframes workflowNodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.workflow-viz__icon {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
}

.workflow-viz__icon--line {
  color: var(--primary);
}

.workflow-viz__channels {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.16rem;
  place-items: center;
}

.workflow-viz__channels .workflow-viz__icon {
  width: 0.95rem;
  height: 0.95rem;
}

.workflow-viz__crm-stack {
  width: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}

.workflow-viz__crm-stack .workflow-viz__icon {
  width: 0.78rem;
  height: 0.78rem;
}

.workflow-viz__kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--primary-rgb) / 0.85);
}

.workflow-viz__label {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
  padding: 0 0.15rem;
}

@media (max-width: 900px) {
  .workflow-viz__rail {
    display: none;
  }

  .workflow-viz__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 22rem;
    margin-inline: auto;
  }

  .workflow-viz__step {
    max-width: none;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.2rem;
    align-items: start;
    text-align: left;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgb(var(--primary-rgb) / 0.1);
  }

  .workflow-viz__step:last-child {
    border-bottom: none;
  }

  .workflow-viz__step .workflow-viz__node {
    grid-column: 1;
    grid-row: 1 / span 2;
    animation: none;
    align-self: center;
  }

  .workflow-viz__kicker {
    grid-column: 2;
    grid-row: 1;
  }

  .workflow-viz__label {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-viz__rail {
    animation: none;
    background-position: 50% 50%;
  }

  .workflow-viz__node {
    animation: none;
  }

  .hero__scan-item {
    animation: none !important;
    opacity: 1 !important;
    color: var(--text) !important;
    transform: none !important;
  }
}

.hero__bullets {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 44ch;
}

.hero__bullet {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.45;
}

.hero__bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgb(var(--primary-rgb) / 0.15);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.hero__cta--conversion .btn--primary {
  box-shadow:
    0 4px 18px rgb(var(--primary-rgb) / 0.35),
    0 1px 2px rgb(15 23 42 / 0.08);
}

.hero__cta-note {
  margin: 0 0 1.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.5;
}

/* Subtle attention on primary contact CTA */
.btn--pulse {
  position: relative;
}

.btn--pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgb(var(--primary-rgb) / 0.4);
  animation: heroCtaPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes heroCtaPulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.06);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--pulse::after {
    display: none;
  }
}

.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero__card:hover {
  border-color: rgb(var(--primary-rgb) / 0.28);
  box-shadow: 0 12px 40px rgb(15 23 42 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
    opacity: 0.85;
  }
}
.hero__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.hero__card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hero__capabilities {
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: linear-gradient(160deg, #f7f8ff 0%, #edf2ff 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero__card:hover .hero__capabilities {
  border-color: rgb(var(--primary-rgb) / 0.22);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8), 0 4px 20px rgb(var(--primary-rgb) / 0.08);
}

@media (min-width: 420px) {
  .hero__capabilities {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-cap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.85);
  border: 1px solid rgb(var(--primary-rgb) / 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cap:hover {
  border-color: rgb(var(--primary-rgb) / 0.32);
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.06);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cap:hover {
    transform: none;
  }
}

.hero-cap__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(
    145deg,
    rgb(var(--primary-rgb) / 0.16),
    rgb(var(--accent-rgb) / 0.22)
  );
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.hero-cap__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.hero-cap:hover .hero-cap__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 16px rgb(var(--primary-rgb) / 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .hero-cap:hover .hero-cap__icon {
    transform: none;
  }
}

.hero-cap__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-cap__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.hero-cap__sub {
  display: block;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.hero-cap:focus-visible {
  outline: 2px solid rgb(var(--primary-rgb) / 0.55);
  outline-offset: 2px;
}

.hero__preview {
  margin: 1rem 0 1.15rem;
  perspective: 900px;
}

.hero__preview-layer {
  position: relative;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}

.hero__photo-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgb(15 23 42 / 0.12);
  background: var(--surface);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero__card:hover .hero__photo-frame {
  box-shadow: 0 22px 56px rgb(15 23 42 / 0.14);
}

.hero__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__photo-frame:hover .hero__photo {
  transform: scale(1.06);
}

.hero__photo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgb(255 255 255 / 0.2) 48%,
    transparent 56%
  );
  transform: translateX(-100%);
  animation: photoShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes photoShine {
  0%,
  60% {
    transform: translateX(-100%);
  }
  75% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo-frame:hover .hero__photo {
    transform: scale(1.02);
  }
  .hero__photo-shine {
    animation: none;
    opacity: 0;
  }
  .hero__preview-layer {
    transform: none;
  }
}

.hero__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(var(--primary-rgb) / 0.22);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.12);
  max-width: 11rem;
  animation: floatBob 5s ease-in-out infinite;
}

.hero__float--1 {
  top: 8%;
  right: -4%;
  animation-delay: 0s;
}

.hero__float--2 {
  bottom: 10%;
  left: -6%;
  animation-delay: -2.4s;
}

@keyframes floatBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.hero__float-text strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hero__float-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.25;
}

@media (max-width: 480px) {
  .hero__float {
    max-width: 9.5rem;
    padding: 0.45rem 0.6rem;
  }
  .hero__float--1 {
    right: 0;
  }
  .hero__float--2 {
    left: 0;
  }
}

/* Photo strip */
.visual-strip {
  padding: 0 0 2.5rem;
  overflow: hidden;
}

.visual-strip__track {
  display: flex;
  gap: 1rem;
  padding: 0 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.visual-tile {
  position: relative;
  flex: 0 0 min(320px, 85vw);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.visual-tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgb(15 23 42 / 0.12);
}

.visual-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.visual-tile:hover img {
  transform: scale(1.05);
}

.visual-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(transparent, rgb(15 23 42 / 0.88));
  transform: translateY(0);
  transition: padding 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .visual-tile:hover {
    transform: none;
  }
  .visual-tile:hover img {
    transform: none;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin: 0 0 0.5rem;
  text-align: center;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 2.9rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.section--cta {
  /* Extra space so the fixed Calendly link doesn’t cover the form on small screens */
  padding-bottom: 6.5rem;
}

.section--widgets {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 2.6rem;
  --widgets-parallax-y: 0px;
}

.section--widgets::before,
.section--widgets::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(2px);
  transform: translateY(var(--widgets-parallax-y));
  will-change: transform;
}

.section--widgets::before {
  width: 460px;
  height: 460px;
  top: -160px;
  left: -140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgb(var(--primary-rgb) / 0.2),
    rgb(var(--primary-rgb) / 0.02) 68%,
    transparent 75%
  );
}

.section--widgets::after {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 55% 45%,
    rgb(var(--accent-rgb) / 0.2),
    rgb(var(--accent-rgb) / 0.02) 68%,
    transparent 75%
  );
  transform: translateY(calc(var(--widgets-parallax-y) * -0.8));
}

.section--widgets .container {
  position: relative;
}

.section--widgets .section__title {
  position: relative;
  margin-bottom: 0.6rem;
}

.section--widgets .section__title::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 0.22rem;
  margin: 0.8rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.ops-widgets {
  display: grid;
  gap: 1rem;
  counter-reset: widget;
}

@media (min-width: 700px) {
  .ops-widgets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ops-widgets {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ops-widget {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(var(--primary-rgb) / 0.2);
  border-radius: 14px;
  padding: 1.05rem 1rem 1rem;
  background: linear-gradient(
      165deg,
      rgb(255 255 255 / 0.98) 0%,
      rgb(var(--primary-rgb) / 0.08) 65%,
      rgb(var(--accent-rgb) / 0.08) 100%
    );
  box-shadow:
    0 10px 26px rgb(15 23 42 / 0.08),
    inset 0 1px 0 rgb(255 255 255 / 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ops-widget:hover,
.ops-widget:focus-visible {
  transform: translateY(-7px);
  border-color: rgb(var(--accent-rgb) / 0.5);
  box-shadow:
    0 18px 36px rgb(var(--primary-rgb) / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
}

.ops-widget::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.8;
}

.ops-widget::after {
  counter-increment: widget;
  content: counter(widget, decimal-leading-zero);
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgb(var(--primary-rgb) / 0.48);
}

.ops-widget__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.75rem;
  background: linear-gradient(
    145deg,
    rgb(var(--primary-rgb) / 0.24),
    rgb(var(--accent-rgb) / 0.24)
  );
  box-shadow: 0 8px 18px rgb(var(--primary-rgb) / 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ops-widget:hover .ops-widget__icon,
.ops-widget:focus-visible .ops-widget__icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 24px rgb(var(--primary-rgb) / 0.28);
}

.ops-widget h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.ops-widget p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

/* Staggered icon pop when modules section enters view */
.section--widgets.is-in-view .ops-widget__icon {
  animation: widgetIconPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.section--widgets.is-in-view .ops-widget:nth-child(1) .ops-widget__icon {
  animation-delay: 0.05s;
}
.section--widgets.is-in-view .ops-widget:nth-child(2) .ops-widget__icon {
  animation-delay: 0.1s;
}
.section--widgets.is-in-view .ops-widget:nth-child(3) .ops-widget__icon {
  animation-delay: 0.15s;
}
.section--widgets.is-in-view .ops-widget:nth-child(4) .ops-widget__icon {
  animation-delay: 0.2s;
}
.section--widgets.is-in-view .ops-widget:nth-child(5) .ops-widget__icon {
  animation-delay: 0.25s;
}
.section--widgets.is-in-view .ops-widget:nth-child(6) .ops-widget__icon {
  animation-delay: 0.3s;
}
.section--widgets.is-in-view .ops-widget:nth-child(7) .ops-widget__icon {
  animation-delay: 0.35s;
}
.section--widgets.is-in-view .ops-widget:nth-child(8) .ops-widget__icon {
  animation-delay: 0.4s;
}
.section--widgets.is-in-view .ops-widget:nth-child(9) .ops-widget__icon {
  animation-delay: 0.45s;
}

@keyframes widgetIconPop {
  from {
    transform: scale(0.88) rotate(-12deg);
    opacity: 0.65;
  }
  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--widgets.is-in-view .ops-widget__icon {
    animation: none;
  }
}

[data-tilt-card] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 1.45rem;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
  border-color: rgb(var(--primary-rgb) / 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

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

.service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    rgb(var(--primary-rgb) / 0.16),
    rgb(var(--accent-rgb) / 0.22)
  );
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 8px 22px rgb(var(--primary-rgb) / 0.22);
}

.service-card:focus-visible {
  outline: 2px solid rgb(var(--primary-rgb) / 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-card__icon,
  .service-card:focus-visible .service-card__icon {
    transform: none;
  }
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.section--why,
.section--roles,
.section--proof,
.section--pricing,
.section--product-hero {
  position: relative;
}

.role-grid,
.proof-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .role-grid,
  .proof-grid,
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-card,
.proof-card,
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.role-card h3,
.pricing-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.role-card p,
.pricing-card p,
.proof-card span {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.58;
}

.proof-card {
  text-align: center;
}

.proof-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.pricing-card__price {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--primary-hover);
}

.pricing-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pricing-card--featured {
  border-color: rgb(var(--primary-rgb) / 0.42);
  box-shadow: var(--shadow-md);
  background: linear-gradient(
    165deg,
    rgb(255 255 255 / 0.98) 0%,
    rgb(var(--primary-rgb) / 0.08) 100%
  );
}

.pricing-plans {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.35rem;
}

@media (min-width: 900px) {
  .pricing-plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-plan {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.pricing-plan--featured {
  border-color: rgb(var(--primary-rgb) / 0.5);
  box-shadow: var(--shadow-md);
  background: linear-gradient(
    165deg,
    rgb(255 255 255 / 0.98) 0%,
    rgb(var(--primary-rgb) / 0.08) 100%
  );
}

.pricing-plan__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--primary-rgb) / 0.88);
}

.pricing-plan__price {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--primary-hover);
}

.pricing-plan ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 1rem;
}

.pricing-meta {
  margin: 0.9rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.pricing-meta span {
  border: 1px solid rgb(203 213 225 / 0.95);
  border-radius: 999px;
  background: #fff;
  color: rgb(51 65 85 / 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.26rem 0.58rem;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.pricing-tab {
  border: 1px solid rgb(var(--primary-rgb) / 0.25);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pricing-tab[aria-selected="true"] {
  background: rgb(var(--primary-rgb) / 0.12);
  border-color: rgb(var(--primary-rgb) / 0.6);
  color: var(--primary-hover);
}

.pricing-tab-panels {
  max-width: 72rem;
  margin: 0 auto;
}

.pricing-module-panel[hidden] {
  display: none;
}

.pricing-module-panel .pricing-grid {
  margin-top: 0.35rem;
}

.pricing-builder {
  margin-top: 1.4rem;
  border: 1px solid rgb(203 213 225 / 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgb(15 23 42 / 0.06);
  padding: 1.05rem;
}

.pricing-builder h3 {
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
}

.pricing-builder > p {
  margin: 0 0 0.95rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pricing-builder-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .pricing-builder-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    align-items: start;
    gap: 1.1rem;
  }
}

.pricing-builder-grid {
  display: grid;
  gap: 0.6rem;
}

.pricing-builder-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 0.55rem;
  padding: 0 0.65rem 0.1rem;
  color: rgb(71 85 105 / 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgb(226 232 240 / 0.95);
  border-radius: 14px;
  padding: 0.72rem 0.75rem;
  background: #fff;
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease,
    background-color 0.22s ease;
}

.builder-row:hover {
  border-color: rgb(148 163 184 / 0.75);
  box-shadow: 0 10px 22px rgb(15 23 42 / 0.08);
  transform: translateY(-1px);
}

.builder-row.is-selected {
  border-color: rgb(var(--primary-rgb) / 0.42);
  background: rgb(239 246 255 / 0.55);
  box-shadow: 0 10px 24px rgb(var(--primary-rgb) / 0.14);
}

.builder-row__name {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin: 0;
  font-size: 0.91rem;
  font-weight: 600;
}

.builder-row__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.builder-row__price {
  border: 1px solid rgb(var(--primary-rgb) / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  padding: 0.34rem 0.58rem;
  font: inherit;
  font-size: 0.84rem;
}

.builder-row__price {
  min-width: 6.05rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--primary-hover);
}

.builder-tier {
  display: inline-flex;
  border: 1px solid rgb(203 213 225 / 0.95);
  border-radius: 999px;
  background: rgb(248 250 252 / 0.9);
  padding: 0.13rem;
  gap: 0.14rem;
}

.builder-tier__btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.builder-tier__btn:hover {
  color: var(--primary-hover);
  transform: translateY(-1px);
}

.builder-tier__btn.is-active {
  background: rgb(224 242 254 / 0.95);
  color: #1e3a8a;
  box-shadow: inset 0 0 0 1px rgb(147 197 253 / 0.95);
}

.builder-row__features {
  grid-column: 1 / -1;
  display: block;
  border-top: 1px dashed rgb(var(--primary-rgb) / 0.26);
  margin-top: 0.35rem;
  padding-top: 0.6rem;
}

.builder-row__feature-desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.builder-row__features ul {
  margin: 0.4rem 0 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.81rem;
  line-height: 1.45;
}

.builder-row__features li:empty {
  display: none;
}

.builder-row.is-selected .builder-row__feature-desc,
.builder-row.is-selected .builder-row__features ul {
  color: rgb(17 24 39 / 0.9);
}

.pricing-builder-summary {
  border: 1px solid rgb(203 213 225 / 0.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 26px rgb(15 23 42 / 0.08);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.38rem;
}

.pricing-builder-summary h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-builder-summary__lead {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 980px) {
  .pricing-builder-summary {
    position: sticky;
    top: 88px;
  }
}

.pricing-builder-summary span {
  font-size: 0.78rem;
  color: rgb(71 85 105 / 0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-builder-summary strong {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--primary-hover);
}

.pricing-builder-summary p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.pricing-builder-summary [data-pricing-selected] {
  white-space: pre-line;
  line-height: 1.55;
  max-height: 12.5rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.pricing-builder-summary .btn {
  margin-top: 0.2rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 720px) {
  .pricing-builder-head {
    display: none;
  }

  .builder-row {
    grid-template-columns: 1fr;
  }

  .builder-row__price {
    justify-self: start;
  }
}

.section--product-hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(
    125deg,
    #1e3a8a 0%,
    var(--primary-hover) 35%,
    var(--accent) 70%,
    #5b21b6 100%
  );
  background-size: 200% 200%;
  animation: ctaGradient 16s ease infinite;
  color: #f8fafc;
  padding: 4rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 0 0 4rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 80%,
    rgb(255 255 255 / 0.08),
    transparent 45%
  );
  pointer-events: none;
}

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

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.cta-band .btn--ghost {
  background: transparent;
  color: #f8fafc;
  border: 1px solid rgb(255 255 255 / 0.45);
}

.cta-band .btn--ghost:hover {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  border-color: rgb(255 255 255 / 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .cta-band .btn--ghost:hover {
    transform: none;
  }
}

@keyframes ctaGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band {
    animation: none;
    background-size: 100% 100%;
  }
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}
.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 48ch;
  opacity: 0.94;
  font-size: 1.0625rem;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}
.cta-band .btn--primary:hover {
  background: #eef2ff;
  color: #1e3a8a;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.25rem;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: rgb(148 163 184 / 0.9);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgb(var(--primary-rgb) / 0.35);
  outline-offset: 1px;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgb(var(--primary-rgb) / 0.08);
  transform: translateY(-1px);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .form-message {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}
.contact-form .form-message--ok {
  color: var(--accent);
}
.contact-form .form-message--err {
  color: #b91c1c;
}

.contact-aside {
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: fit-content;
}
.contact-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
}
.contact-aside ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Legal pages (privacy / terms): same chrome as home, long-form body */
.legal-doc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.08);
  transition: left 0.15s ease, top 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0.75rem;
  top: 0.75rem;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.legal-doc__wrap {
  flex: 1;
  padding: 2.25rem 0 3rem;
}
.legal-doc {
  max-width: 44rem;
  margin: 0 auto;
}
.legal-doc h1 {
  font-family: var(--display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.legal-doc__intro {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.legal-doc__section {
  margin-bottom: 1.75rem;
}
.legal-doc__section:last-of-type {
  margin-bottom: 0;
}
.legal-doc__h2 {
  font-family: var(--display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.65rem;
}
.legal-doc p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.legal-doc p:last-child {
  margin-bottom: 0;
}
.legal-doc__html {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}
.legal-doc__html p {
  margin: 0 0 0.75rem;
}
.legal-doc__html p:last-child {
  margin-bottom: 0;
}
.legal-doc__html a {
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: #0b1223;
  color: #a7b4d7;
  padding: 3rem 0;
  font-size: 0.875rem;
}
.site-footer a {
  color: #dbe5ff;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.site-footer__brand {
  font-family: var(--display);
  font-weight: 700;
  color: #f8fafc;
}
.site-footer__inner--legal {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .site-footer__inner--legal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}
.site-footer__sep {
  color: #64748b;
  user-select: none;
}
.site-footer__copy {
  margin: 0;
  color: #a7b4d7;
  font-size: 0.875rem;
}
.site-footer__company {
  margin: 0;
  flex-basis: 100%;
  max-width: 36rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94a3b8;
}
.site-footer__inner--legal .site-footer__company {
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer__inner--legal .site-footer__company {
    text-align: left;
  }
}

/* Utility */
.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;
}
