/* ============================================================================
   CYBERCUBE — epple-modelled concept
   Monochrome · rounded cards · minimal nav · light-weight grotesque
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #14181a;
  --ink-soft: #2b3134;
  --muted: #697278;
  --panel: #f3f3f1;
  --panel-2: #ecece8;
  --line: rgba(20, 24, 26, 0.12);
  --line-strong: rgba(20, 24, 26, 0.3);
  --dark: #14181a;
  --accent: #0d85d8;
  --accent-bright: #2b9fe6;
  --accent-soft: rgba(13, 133, 216, 0.12);
  --success: #12a97a;
  --success-soft: rgba(18, 169, 122, 0.14);
  --warn: #c7860a;
  --warn-soft: rgba(224, 161, 6, 0.16);
  --violet: #8b7cf0;
  --violet-soft: rgba(139, 124, 240, 0.16);
  --danger: #b53318;
  --danger-soft: rgba(181, 51, 24, 0.14);

  --radius: 30px;
  --radius-sm: 20px;
  --maxw: 1180px;
  --gutter: 24px;
  /* Shared raised-card elevation (bento, testimonials, pricing, how-we-work). */
  --shadow-card: 0 1px 2px rgba(20, 24, 26, 0.04),
    0 18px 40px -30px rgba(20, 24, 26, 0.3);
  /* Vertical space between sections: each block contributes half above + half below */
  --section-gap: clamp(64px, 9vw, 110px);
  /* Buttons — primary (filled accent) + secondary (outline) */
  --btn-primary-bg: var(--accent);
  --btn-primary-bg-hover: var(--accent-bright);
  --btn-primary-fg: #fff;
  --btn-primary-border: var(--accent);
  --btn-secondary-bg: transparent;
  --btn-secondary-fg: var(--ink);
  --btn-secondary-border: var(--line-strong);
  --btn-secondary-bg-hover: var(--accent);
  --btn-secondary-fg-hover: #fff;
  --btn-secondary-border-hover: var(--accent);
  --btn-on-dark-fg: #fff;
  --btn-on-dark-border: rgba(255, 255, 255, 0.45);
  --btn-on-dark-bg-hover: #fff;
  --btn-on-dark-fg-hover: var(--ink);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section[id] {
  scroll-margin-top: 90px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}
:where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.logo__img {
  height: 64px;
  width: auto;
  display: block;
}
.logo--big .logo__img {
  height: 110px;
}
.icon {
  width: 22px;
  height: 22px;
}
.arrow {
  transition: transform 0.2s ease;
}

/* ---------------------------------------------------------------- Pills --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--btn-secondary-border);
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pill:hover {
  background: var(--btn-secondary-bg-hover);
  color: var(--btn-secondary-fg-hover);
  border-color: var(--btn-secondary-border-hover);
}
.pill:hover .arrow {
  transform: translateX(3px);
}
.pill--accent,
.pill--dark {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-border);
}
.pill--accent:hover,
.pill--dark:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg);
}
.pill--light {
  border-color: var(--btn-on-dark-border);
  color: var(--btn-on-dark-fg);
}
.pill--light:hover {
  background: var(--btn-on-dark-bg-hover);
  color: var(--btn-on-dark-fg-hover);
  border-color: var(--btn-on-dark-bg-hover);
}

/* --------------------------------------------------------------- Header --- */
.bar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}
.bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo__mark {
  width: 30px;
  height: 30px;
}
.logo__word {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bar__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bar__login:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.bar__login .icon {
  width: 18px;
  height: 18px;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
.menu-btn .icon {
  width: 26px;
  height: 26px;
}
/* compact login on small screens: icon only */
@media (max-width: 560px) {
  .bar__login-label {
    display: none;
  }
  .bar__login {
    padding: 9px 11px;
  }
  .bar__actions {
    gap: 12px;
  }
  /* Shrink the header logo so logo + actions fit a narrow row. */
  .bar .logo__img {
    height: 52px;
  }
  /* The large footer logo must not exceed the column on small screens. */
  .logo--big .logo__img {
    height: auto;
    max-width: min(100%, 240px);
  }
}

/* -------------------------------------------------------------- Overlay --- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  animation: fade 0.25s ease;
}
.overlay[hidden] {
  display: none;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.overlay__inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 40px;
}
.overlay__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.overlay__nav a span {
  width: 2.5ch;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
}
.overlay__nav a:hover {
  color: var(--muted);
  padding-left: 10px;
}
.overlay__foot {
  margin-top: auto;
  padding-top: 40px;
}

/* ----------------------------------------------------------------- Hero --- */
.hero {
  padding-top: 24px;
  padding-bottom: calc(var(--section-gap) / 2);
}
.hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1c2226 0%, #0e1113 72%);
  color: #fff;
  min-height: min(66vh, 540px);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 76px);
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.3px, transparent 1.3px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 120% at 82% 0%, #000 18%, transparent 72%);
  pointer-events: none;
}
.hero__card::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(43, 159, 230, 0.28), transparent);
  pointer-events: none;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.01;
}
.hero__lede {
  margin: 22px 0 32px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

/* Hero 3D cube — bloom diffusion + float, melting into the card */
.hero__art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  /* diffuse the left side into the copy, trim the far right edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%);
  animation: cubeFloat 7s ease-in-out infinite;
}
.hero__art img {
  grid-area: 1 / 1;
  width: min(370px, 82%);
  height: auto;
}
.hero__art-bloom {
  filter: blur(36px) saturate(1.35);
  opacity: 0.6;
  transform: scale(1.14);
}
.hero__art-cube {
  filter: drop-shadow(0 18px 40px rgba(13, 133, 216, 0.45));
}
@keyframes cubeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* -------------------------------------------------------------- Sections -- */
main > section {
  padding-block: calc(var(--section-gap) / 2);
}
.section--tint {
  background: #f7f7f5;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.display {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 20ch;
  text-wrap: balance;
}
.display--center {
  text-align: center;
  margin-inline: auto;
  max-width: 20ch;
}

/* Split (heading + body) */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: start;
}
.split__body p {
  color: var(--muted);
  font-size: 1.1rem;
}
.split__body p + p {
  margin-top: 18px;
}
.split__body .pill {
  margin-top: 28px;
}

/* Services list */
.services {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.service__num {
  color: var(--muted);
  font-weight: 500;
}
.service h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  margin-bottom: 12px;
}
.service p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.06rem;
}
/* Why-work-with-us: centred reasons in a narrower column */
#why .services {
  max-width: 720px;
  margin-inline: auto;
}
#why .service {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 10px;
}
#why .service p {
  max-width: 52ch;
  margin-inline: auto;
}

/* At-a-glance: label -> checked value, value side reads as one tinted card */
.qa {
  --qa-tint: rgba(13, 133, 216, 0.06);
  --qa-line: rgba(13, 133, 216, 0.22);
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  column-gap: clamp(20px, 4vw, 56px);
  max-width: 1020px;
  margin: clamp(40px, 5vw, 60px) 0 0;
}
.qa__row {
  display: contents;
}
.qa__label {
  display: flex;
  align-items: center;
  padding: 15px 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.qa__row:last-child .qa__label {
  border-bottom: 0;
}
.qa__value {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px clamp(16px, 2vw, 24px);
  background: var(--qa-tint);
  border-left: 1px solid var(--qa-line);
  border-right: 1px solid var(--qa-line);
  border-bottom: 1px solid var(--qa-line);
  color: var(--ink-soft);
  font-size: 1rem;
  white-space: nowrap;
}
.qa__row:first-child .qa__value {
  border-top: 1px solid var(--qa-line);
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}
.qa__row:last-child .qa__value {
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}
.tick {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
}
.tick::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* Comparison variant: us (green) vs a typical dev shop (grey) */
.qa--compare {
  --them-tint: rgba(20, 24, 26, 0.035);
  --them-line: var(--line);
  grid-template-columns: minmax(110px, 0.42fr) 1fr 1fr;
  column-gap: clamp(14px, 2vw, 28px);
  max-width: none;
}
.qa__them {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px clamp(16px, 2vw, 24px);
  background: var(--them-tint);
  border-right: 1px solid var(--them-line);
  border-bottom: 1px solid var(--them-line);
  color: var(--muted);
  font-size: 1rem;
  white-space: nowrap;
}
.qa__row:first-child .qa__them {
  border-top: 1px solid var(--them-line);
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}
.qa__row:last-child .qa__them {
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}
/* column headers */
.qa__head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.qa__head strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.qa__value.qa__head strong {
  color: var(--accent);
}
.qa__head span {
  font-size: 0.82rem;
  color: var(--muted);
}
/* grey "no" marker */
.dash {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 24, 26, 0.08);
}
.dash::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--muted);
  border-radius: 2px;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}
.tags li {
  padding: 9px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Category marquee (loops right → left; set is cloned in JS for seamless wrap) */
.marquee {
  margin-top: 44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.container .marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.marquee--b {
  margin-top: 16px;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 72s linear infinite;
}
.marquee--b .marquee__track {
  animation-duration: 94s;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  flex: none;
  margin-right: 14px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.98rem;
  color: var(--ink);
  white-space: nowrap;
  background: var(--bg);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ======================================================= Bento feature grid */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.bento-cta {
  margin-top: 44px;
  text-align: center;
}
.pill--lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}
.bcard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.bcard__title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin-bottom: 12px;
}
.bcard__text {
  color: var(--muted);
  font-size: 1rem;
}
.bcard__viz {
  margin-top: auto;
}
.bcard--wide .bcard__viz {
  margin-top: 0;
}
.muted {
  color: var(--muted);
}
.vitalic {
  font-style: italic;
}
.vgreen {
  color: var(--success);
  font-weight: 600;
}
.vbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.vbadge--green {
  color: var(--success);
  background: var(--success-soft);
}
.vbadge--green::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* 1 · connect */
.viz-connect {
  padding: 18px;
  background: var(--panel);
  border-radius: 18px;
}
.viz-connect__tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vchip {
  padding: 7px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.viz-connect__arrow {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
}
.viz-dash {
  position: relative;
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px -20px rgba(15, 30, 55, 0.45);
}
.viz-dash__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f6f6f5;
  border-bottom: 1px solid var(--line);
}
.viz-dash__lights {
  display: inline-flex;
  gap: 5px;
  flex: none;
}
.viz-dash__lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.viz-dash__lights i:nth-child(1) {
  background: #ff5f57;
}
.viz-dash__lights i:nth-child(2) {
  background: #febc2e;
}
.viz-dash__lights i:nth-child(3) {
  background: #28c840;
}
.viz-dash__addr {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.viz-dash__body {
  padding: 14px;
}
.viz-sync {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.viz-sync__label {
  flex: none;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.viz-sync__slot {
  position: relative;
  flex: 1;
  height: 32px;
}
.viz-tool {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
}
.viz-tool:first-child {
  opacity: 1;
}
.viz-line {
  display: block;
  height: 7px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--line-strong);
  opacity: 0.4;
}
.viz-line:last-child {
  width: 70%;
}
.viz-dash__stats {
  display: flex;
  gap: 14px;
  margin: 2px 0 10px;
}
.viz-dash__stats strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
}
.viz-dash__stats span {
  font-size: 0.66rem;
  color: var(--muted);
}
.viz-dash__main i {
  display: block;
  height: 7px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--line-strong);
  opacity: 0.4;
}
.viz-dash__main i:nth-of-type(2) {
  width: 70%;
}

/* 2 · prototype */
.viz-proto {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border-radius: 16px;
}
.viz-proto__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}
.viz-proto__screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vscreen {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 66px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.vscreen--on {
  background: var(--violet-soft);
  border-color: transparent;
}
.vscreen i {
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
  opacity: 0.45;
}
.vscreen--on i {
  background: var(--violet);
  opacity: 0.65;
}
.viz-check {
  display: grid;
  gap: 8px;
}
.viz-check li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.vtick {
  flex: none;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.6rem;
  font-weight: 700;
}
.viz-approve {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vavatar {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #c8d0da, #99a5b2);
}
.vavatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.viz-approve__txt {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.viz-approve__txt strong {
  font-size: 0.82rem;
}
.viz-approve__txt span {
  font-size: 0.72rem;
  color: var(--muted);
}
.vcheckdot {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.7rem;
}

/* 3 · mvp */
.viz-mvp {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border-radius: 16px;
}
.viz-mvp__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.viz-mvp__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vstat {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vstat span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.vstat strong {
  display: block;
  margin-top: 3px;
  font-size: 1.3rem;
  font-weight: 600;
}
.vbars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}
.vbars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--success), #8fd9c4);
}

/* BI / analytics */
.viz-bi {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border-radius: 16px;
}
.viz-bi__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}
.viz-bi__chart {
  width: 100%;
  height: 84px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.viz-bi__area {
  fill: var(--accent-soft);
  stroke: none;
}
.viz-bi__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.viz-bi__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.viz-bi__insight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.viz-bi__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

/* 4 · portal */
.viz-portal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.viz-portal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.viz-portal__org {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.vlogo {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}
.vlogo svg {
  width: 14px;
  height: 14px;
}
.vchip--sm {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
}
.viz-portal__order {
  font-weight: 600;
  font-size: 0.88rem;
}
.vprogress {
  display: flex;
  gap: 4px;
}
.vprogress i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--success);
}
.vprogress i.off {
  background: var(--line-strong);
  opacity: 0.4;
}
.viz-portal__steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
}
.viz-portal__steps strong {
  color: var(--ink);
}
.viz-portal__row {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* 5 · ai */
.viz-ai {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--panel);
  border-radius: 16px;
}
.ai-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8rem;
}
.ai-row--warn {
  background: var(--warn-soft);
  border-color: transparent;
}
.ai-badge {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
}
.ai-bang {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--warn);
  font-weight: 700;
}
.ai-txt {
  flex: 1;
  color: var(--muted);
}
.ai-txt strong {
  color: var(--ink);
  font-weight: 600;
}
.ai-time {
  color: var(--muted);
  font-size: 0.72rem;
}
.ai-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.ai-btn {
  padding: 9px 16px;
  border: 1px solid var(--btn-secondary-border);
  border-radius: 8px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ai-btn:hover {
  background: var(--btn-secondary-bg-hover);
  color: var(--btn-secondary-fg-hover);
  border-color: var(--btn-secondary-border-hover);
}
.ai-btn--dark {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-border);
}
.ai-btn--dark:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg);
}

/* AI card "live" animation — feed cascades in, badges pulse, warn row nudges */
@media (prefers-reduced-motion: no-preference) {
  .viz-ai.is-live .ai-row {
    animation: aiRowIn 0.55s ease backwards;
  }
  .viz-ai.is-live .ai-row:nth-child(1) {
    animation-delay: 0.05s;
  }
  .viz-ai.is-live .ai-row:nth-child(2) {
    animation-delay: 0.25s;
  }
  .viz-ai.is-live .ai-row:nth-child(3) {
    animation-delay: 0.45s;
  }
  .viz-ai.is-live .ai-row--warn {
    animation: aiRowIn 0.55s ease 0.65s backwards,
      aiWarn 2.4s ease-in-out 1.7s infinite;
  }
  .viz-ai.is-live .ai-actions {
    animation: aiRowIn 0.55s ease 0.85s backwards;
  }
  .viz-ai.is-live .ai-badge {
    animation: aiBadge 2.8s ease-in-out infinite;
  }
  @keyframes aiRowIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes aiWarn {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(224, 161, 6, 0);
    }
    50% {
      box-shadow: 0 0 0 3px var(--warn-soft);
    }
  }
  @keyframes aiBadge {
    0%,
    100% {
      box-shadow: 0 0 0 0 var(--accent-soft);
    }
    50% {
      box-shadow: 0 0 0 4px var(--accent-soft);
    }
  }
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

/* Showcase */
/* Testimonials — two auto-scrolling rows of quote cards */
.voices {
  overflow: hidden;
}
.quotes {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quotes__row {
  margin-top: 0;
}
.quotes__row .marquee__track {
  align-items: stretch;
  animation-duration: 66s;
}
.quotes__row--rev .marquee__track {
  animation-duration: 82s;
  animation-direction: reverse;
}
.voices__cta {
  margin-top: clamp(36px, 5vw, 52px);
}
.quote {
  flex: none;
  width: clamp(290px, 78vw, 384px);
  margin: 4px 20px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.quote__text {
  flex: 1;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}
.quote__text::before {
  content: "“";
  color: var(--accent);
  font-weight: 700;
}
.quote__text::after {
  content: "”";
  color: var(--accent);
  font-weight: 700;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
/* photo covers the circle; initials remain as the fallback underneath */
.quote__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.quote__id {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.quote__name {
  font-weight: 600;
  color: var(--ink);
}
.quote__role {
  font-size: 0.86rem;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .quotes__row .marquee__track {
    animation: none;
  }
  .quotes__row {
    overflow-x: auto;
  }
}

/* ===================================================== What we build grid === */
.build-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.build-head .display {
  margin-inline: auto;
}
.build-head__lede {
  max-width: 56ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}
/* 1px gaps show the card background through as divider lines */
.buildgrid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.buildcell {
  background: var(--bg);
  padding: clamp(24px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
}
.buildcell__kicker {
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.buildcell__title {
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.buildcell__text {
  color: var(--muted);
  font-size: 0.98rem;
}
.buildcell--cta {
  background: var(--ink);
}
.buildcell--cta .buildcell__kicker {
  color: var(--accent-bright);
}
.buildcell--cta .buildcell__title {
  color: #fff;
}
.buildcell--cta .pill {
  margin-top: auto;
  align-self: flex-start;
}

/* Stat band */
.statband__card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(48px, 9vw, 110px) 24px;
  text-align: center;
}
/* two counters side by side, split by a divider */
.statband__card--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(48px, 7vw, 84px) clamp(32px, 6vw, 72px);
}
.statband__item {
  position: relative;
}
.statband__card--duo .statband__item + .statband__item::before {
  content: "";
  position: absolute;
  left: calc(clamp(32px, 6vw, 72px) / -2 - 0.5px);
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: var(--line);
}
.statband__num {
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.statband__card--duo .statband__num {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}
.statband__label {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}
.statband__card--duo .statband__label {
  max-width: 26ch;
  margin-inline: auto;
}

/* How we work */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.principle {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.principle h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.principle p {
  color: var(--muted);
  font-size: 0.99rem;
}

/* ============================================================ How we work ===
   Four-stage path — alternating cards, ghost step numbers, per-stage visuals
   ========================================================================== */
.display .accent {
  color: var(--accent);
}

.path {
  max-width: 1060px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* Grid items must be allowed to shrink below their visuals' intrinsic width,
   otherwise a wide mockup forces page-level horizontal scroll on mobile. */
.path__step {
  min-width: 0;
}
.path__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 2.8vw, 38px);
  box-shadow: var(--shadow-card);
}
/* visuals line up along the bottom edge of each row */
.path__card .viz {
  margin-top: auto;
}

/* Text block -------------------------------------------------------------- */
.path__text {
  position: relative;
}
.path__num {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--line-strong);
  opacity: 0.4;
  margin-bottom: 12px;
}
.path__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.path__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.path__title {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  margin-bottom: 12px;
}
.path__body {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 22px;
}
.path__card .pill {
  font-size: 0.92rem;
  padding: 12px 20px;
}

/* Tags / badges ----------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--panel-2);
  color: var(--ink-soft);
}
.tag--accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.tag--success {
  background: var(--success-soft);
  color: var(--success);
}
.tag--warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.tag--violet {
  background: var(--violet-soft);
  color: var(--violet);
}

/* Shared visual shell ----------------------------------------------------- */
.viz {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.92rem;
}
.viz__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.viz__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.viz__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.chk {
  flex: none;
  width: 17px;
  height: 17px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  position: relative;
}
.chk--on {
  background: var(--success);
  border-color: var(--success);
}
.chk--on::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* 01 · Scope checklist ---------------------------------------------------- */
.chk--wait {
  background: var(--warn-soft);
  border-color: var(--warn);
}
.scope {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scope li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
}
.scope li .tag {
  margin-left: auto;
  padding: 2px 9px;
  font-size: 0.68rem;
}
.scope .is-off {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.scope__row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.scope__avatar {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--violet));
}
.scope__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.scope__done {
  margin-left: auto;
  color: var(--success);
  font-weight: 600;
}

/* 02 · Prototype screens + flow tabs -------------------------------------- */
.viz__meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.screen {
  position: relative;
  height: 72px;
  padding: 11px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.screen i {
  height: 5px;
  border-radius: 999px;
  background: var(--panel-2);
}
.screen i:nth-child(1) {
  width: 70%;
}
.screen i:nth-child(2) {
  width: 90%;
}
.screen--active {
  background: var(--violet-soft);
  border-color: var(--violet);
}
/* mouse pointer sitting over the selected screen */
.screen__cursor {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 13px;
  height: 13px;
  background: var(--ink);
  clip-path: polygon(0 0, 0 72%, 26% 55%, 44% 94%, 60% 86%, 42% 48%, 72% 48%);
}
.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tabs span {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tabs .is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.tabs i {
  flex: 1;
  height: 2px;
  background: var(--line);
}

/* 03 · Build pipeline + test meter ---------------------------------------- */
.pipeline {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 4px 0 2px;
}
.pipeline__step {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.pipeline__step i {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  z-index: 1;
}
.pipeline__step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--success);
}
.pipeline__step:last-child::before {
  display: none;
}
.meter__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--ink-soft);
}
.meter__head strong {
  color: var(--ink);
}
.meter__track {
  height: 7px;
  border-radius: 999px;
  background: var(--panel-2);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--success);
}
.pr {
  flex: none;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--violet);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.viz__count {
  margin-left: auto;
  color: var(--ink);
  font-weight: 600;
}

/* 04 · Launch — versions, stats, ownership -------------------------------- */
.live {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}
.versions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.versions span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}
.versions i {
  width: 12px;
  height: 2px;
  background: var(--line-strong);
}
.versions .is-next {
  border-style: dashed;
  color: var(--muted);
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
}
.stat__label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 5px;
}
.stat__value {
  font-size: 1.12rem;
  color: var(--ink);
}
.stat__value--sm {
  font-size: 0.92rem;
}
.own {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.own__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.own__badge svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}
.own__pct {
  margin-left: auto;
  color: var(--warn);
  font-weight: 700;
}

/* ========================================================= Pricing plans === */
.price-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}
.price-filter__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.price-chip {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.price-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.price-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
/* "Something else?" — a link to contact, not a price filter */
.price-chip--more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-style: dashed;
  color: var(--muted);
  text-decoration: none;
}
.price-chip--more:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg);
}
.price-chip--more:hover .arrow {
  transform: translateX(3px);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-card);
}
.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 1px 2px rgba(20, 24, 26, 0.04),
    0 24px 50px -28px rgba(13, 133, 216, 0.4);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plan__tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan__price {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan__price span {
  display: inline-block;
}
.plan__meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}
.price-bump {
  animation: price-bump 0.34s ease;
}
@keyframes price-bump {
  0% {
    transform: translateY(4px);
    opacity: 0.4;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.features-swap {
  animation: features-swap 0.34s ease;
}
@keyframes features-swap {
  0% {
    opacity: 0.25;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .price-bump,
  .features-swap {
    animation: none;
  }
}
.plan__features {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
}
.plan__features li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.plan__features li:first-child {
  border-top: 0;
  padding-top: 0;
}
.plan__features strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 600;
}
.plan .pill {
  margin-top: auto;
  justify-content: center;
}
.plans__note {
  margin: 30px auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================== FAQ ======== */
.faq {
  max-width: 920px;
  margin: clamp(40px, 5vw, 56px) auto 0;
}
.faq__tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--ink);
  border-radius: 999px;
}
.faq__tab {
  flex: 1;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq__tab:hover {
  color: #fff;
}
.faq__tab.is-active {
  background: var(--accent);
  color: #fff;
}

.faq__panel {
  margin-top: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2px clamp(14px, 2.4vw, 26px);
  box-shadow: var(--shadow-card);
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:first-child {
  border-top: 0;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}
.faq__q:hover .faq__icon {
  border-color: var(--accent);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink-soft);
  border-radius: 2px;
}
.faq__icon::before {
  width: 11px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px;
  height: 11px;
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease;
}
.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item.is-open .faq__icon {
  border-color: var(--accent);
}
/* smooth height via grid-template-rows */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a-inner {
  overflow: hidden;
}
.faq__a p {
  padding: 0 4px 26px;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  .faq__a,
  .faq__icon::after {
    transition: none;
  }
}

/* Two panels */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 56px);
}
.panel .label {
  margin-bottom: 22px;
}
.panel__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 16px;
}
.panel p {
  color: var(--muted);
  font-size: 1.06rem;
}
.panel .pill {
  margin-top: 26px;
}

/* Perspective */
.perspective {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.perspective__quote {
  margin: 0 0 30px;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.perspective__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 30px;
}
.perspective__name {
  font-weight: 600;
}
.perspective__role {
  color: var(--muted);
}

/* Credentials */
.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.cred {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 140px;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1.06rem;
}

/* Contact */
.contact__card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(44px, 8vw, 100px) 24px;
  text-align: center;
}
.contact__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: #fff;
}
.contact__lede {
  max-width: 48ch;
  margin: 18px auto 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
}
.foot__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.logo--big .logo__mark {
  width: 46px;
  height: 46px;
}
.logo--big .logo__word {
  font-size: 2.4rem;
}
.foot__col h4 {
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__col a {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}
.foot__col a:hover {
  opacity: 1;
}
.foot__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* -------------------------------------------- Blueprint ↔ Production demo -- */
.bp-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 48px;
  align-items: end;
  margin-bottom: 36px;
}
.bp-head .display {
  max-width: none;
  white-space: nowrap;
}
.bp-head__lede {
  color: var(--muted);
  font-size: 1.08rem;
}
.bp {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 34px 70px -46px rgba(0, 0, 0, 0.45);
}
.bp__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fbfbfa;
  border-bottom: 1px solid var(--line);
}
.bp__dots {
  display: inline-flex;
  gap: 6px;
}
.bp__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
  opacity: 0.45;
}
.bp__url {
  margin-inline: auto;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.bp__toggle {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: var(--ink);
  border-radius: 999px;
}
.bp__btn {
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 15px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, color 0.2s ease;
}
.bp__btn[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}
.bp__stage {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  background: #fff;
  min-height: 430px;
}
.bp__view--prod {
  position: relative;
  z-index: 1;
}
.bp__view--blue {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(16px, 2.2vw, 26px);
  background: #fcfcfb;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.bp[data-view="blueprint"] .bp__view--blue {
  clip-path: inset(0 0 0 0);
}

/* Seam: vertical line that tracks the wipe boundary, glowing while it moves */
.bp__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 2px;
  z-index: 4;
  background: var(--accent);
  box-shadow: 0 0 16px 1px rgba(13, 133, 216, 0.6);
  transform: translateX(-1px);
  opacity: 0;
  pointer-events: none;
  transition: left 0.6s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.25s ease;
}
.bp[data-view="blueprint"] .bp__seam {
  left: 0;
}
.bp.is-moving .bp__seam {
  opacity: 1;
}

/* Production internals */
.bp__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bp__stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.bp__stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}
.bp__stat-num {
  display: block;
  margin: 5px 0 9px;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bp__chip {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
}
.bp__chip--pos {
  background: rgba(13, 133, 216, 0.12);
  color: var(--accent);
  border-color: transparent;
}
.bp__chip--warn {
  background: rgba(199, 134, 10, 0.15);
  color: #b4780a;
  border-color: transparent;
}
.bp__lower {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.bp__board,
.bp__opt {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.bp__board-head,
.bp__opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.92rem;
}
.bp__board-head span {
  font-weight: 400;
  font-size: 0.76rem;
  color: var(--muted);
}
.bp__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bp__col-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: var(--muted);
}
.bp__job {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.74rem;
  color: var(--muted);
}
.bp__job b {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.bp__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--muted);
  vertical-align: middle;
}
.bp__dot--pos {
  background: var(--accent);
}
.bp__dot--warn {
  background: #d39a1a;
}
.bp__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(13, 133, 216, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
}
.bp__opt-list {
  display: grid;
  gap: 11px;
}
.bp__opt-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--muted);
}
.bp__ai {
  flex: none;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 5px;
  padding: 1px 5px;
}
.bp__opt-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.bp__opt-foot span {
  color: var(--accent);
  font-weight: 600;
}

/* Blueprint = exact wireframe skeleton of the production view */
.bp__tag {
  display: inline-block;
  padding: 4px 9px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  color: var(--accent);
  background: rgba(13, 133, 216, 0.1);
  border: 1px solid rgba(13, 133, 216, 0.28);
  border-radius: 6px;
}
.bp__tag--corner {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 2px 6px;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}
/* reuse production boxes, re-skin as dashed wireframe frames */
.bp__view--blue .bp__stat,
.bp__view--blue .bp__board,
.bp__view--blue .bp__opt,
.bp__view--blue .bp__job {
  position: relative;
  border: 1.5px dashed var(--line-strong);
  background: transparent;
}
/* redact every production text run into a bar that sits exactly where the
   real text is — same font, weight, size → identical position and width */
.bp__view--blue .bpw-bar {
  color: transparent;
  background: rgba(20, 24, 26, 0.3);
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* drop production fills so only bars + dashed frames remain */
.bp__view--blue .bp__chip,
.bp__view--blue .bp__badge,
.bp__view--blue .bp__ai {
  background: transparent !important;
  border-color: transparent !important;
}
.bp__view--blue .bp__dot {
  background: rgba(20, 24, 26, 0.26);
}

/* ------------------------------------------------------------ Responsive -- */
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .grid4 {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
  .path {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .plan--featured {
    order: -1;
  }
  .faq__tabs {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }
  .faq__tab {
    border-radius: 999px;
  }
  /* stack the comparison: label heading, then the two cards */
  .qa--compare {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .qa--compare .qa__row {
    display: block;
    margin-bottom: 22px;
  }
  .qa--compare .qa__row:last-child {
    margin-bottom: 0;
  }
  .qa--compare .qa__row--head {
    display: none;
  }
  .qa--compare .qa__label {
    padding: 0 0 10px;
    border-bottom: 0;
    font-size: 1.05rem;
  }
  .qa--compare .qa__value {
    border: 1px solid var(--qa-line);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
  }
  .qa--compare .qa__them {
    border: 1px solid var(--them-line);
    border-radius: var(--radius-sm);
  }
  /* allow wrapping again once the cards are full width */
  .qa--compare .qa__value,
  .qa--compare .qa__them {
    white-space: normal;
  }
  .buildgrid {
    grid-template-columns: 1fr 1fr;
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .creds {
    grid-template-columns: 1fr 1fr;
  }
  .foot__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .grid4 {
    grid-template-columns: 1fr;
  }
  .buildgrid {
    grid-template-columns: 1fr;
  }
  .statband__card--duo {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .statband__card--duo .statband__item + .statband__item::before {
    left: 20%;
    right: 20%;
    top: -18px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .path {
    gap: 20px;
  }
  .path__card {
    padding: 24px;
  }
  .path__num {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .service {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 32px 0;
  }
  .foot__inner {
    grid-template-columns: 1fr;
  }
  .foot__base {
    flex-direction: column;
    gap: 8px;
  }
}

/* --------------------------------------------------------------- Reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 860px) {
  .bp-head {
    grid-template-columns: 1fr;
  }
  .bp__stats {
    grid-template-columns: 1fr 1fr;
  }
  .bp__lower {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .bp__cols {
    grid-template-columns: 1fr;
  }
  .bp__url {
    display: none;
  }
  .bp__stage {
    min-height: 0;
  }
  .bp-head .display {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bp__view--blue {
    transition: none;
  }
  .bp__seam {
    display: none;
  }
  .hero__art {
    animation: none;
  }
  .marquee__track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .hero__art {
    width: 72%;
    opacity: 0.26;
  }
}

/* Bento mockups — "live" entrance animations (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
  /* 1 · One system: chips cascade, dashboard reveals, arrow nudges */
  .viz-connect.is-live .vchip {
    animation: aiRowIn 0.5s ease backwards;
  }
  .viz-connect.is-live .vchip:nth-child(1) { animation-delay: 0.05s; }
  .viz-connect.is-live .vchip:nth-child(2) { animation-delay: 0.11s; }
  .viz-connect.is-live .vchip:nth-child(3) { animation-delay: 0.17s; }
  .viz-connect.is-live .vchip:nth-child(4) { animation-delay: 0.23s; }
  .viz-connect.is-live .vchip:nth-child(5) { animation-delay: 0.29s; }
  .viz-connect.is-live .vchip:nth-child(6) { animation-delay: 0.35s; }
  .viz-connect.is-live .vchip:nth-child(7) { animation-delay: 0.41s; }
  .viz-connect.is-live .vchip:nth-child(8) { animation-delay: 0.47s; }
  .viz-connect.is-live .vchip:nth-child(9) { animation-delay: 0.53s; }
  .viz-connect.is-live .viz-dash {
    animation: aiRowIn 0.6s ease 0.55s backwards;
  }
  .viz-connect.is-live .viz-connect__arrow {
    animation: arrowNudge 1.8s ease-in-out 0.9s infinite;
  }

  /* 2 · Prototype: screens pop, checklist ticks, approval slides in */
  .viz-proto.is-live .vscreen {
    animation: popIn 0.45s ease backwards;
  }
  .viz-proto.is-live .vscreen:nth-child(1) { animation-delay: 0.05s; }
  .viz-proto.is-live .vscreen:nth-child(2) { animation-delay: 0.15s; }
  .viz-proto.is-live .vscreen:nth-child(3) { animation-delay: 0.25s; }
  .viz-proto.is-live .viz-check li {
    animation: aiRowIn 0.45s ease backwards;
  }
  .viz-proto.is-live .viz-check li:nth-child(1) { animation-delay: 0.45s; }
  .viz-proto.is-live .viz-check li:nth-child(2) { animation-delay: 0.65s; }
  .viz-proto.is-live .viz-check li:nth-child(3) { animation-delay: 0.85s; }
  .viz-proto.is-live .viz-approve {
    animation: aiRowIn 0.5s ease 1.15s backwards;
  }
  .viz-proto.is-live .vcheckdot {
    animation: popIn 0.4s ease 1.55s backwards;
  }

  /* 3 · MVP: stats in, bars grow from the baseline */
  .viz-mvp.is-live .vstat {
    animation: aiRowIn 0.5s ease backwards;
  }
  .viz-mvp.is-live .vstat:nth-child(1) { animation-delay: 0.1s; }
  .viz-mvp.is-live .vstat:nth-child(2) { animation-delay: 0.22s; }
  .viz-mvp.is-live .vbars i {
    transform-origin: bottom;
    animation: barGrow 0.6s cubic-bezier(0.3, 1.1, 0.4, 1) backwards;
  }
  .viz-mvp.is-live .vbars i:nth-child(1) { animation-delay: 0.35s; }
  .viz-mvp.is-live .vbars i:nth-child(2) { animation-delay: 0.43s; }
  .viz-mvp.is-live .vbars i:nth-child(3) { animation-delay: 0.51s; }
  .viz-mvp.is-live .vbars i:nth-child(4) { animation-delay: 0.59s; }
  .viz-mvp.is-live .vbars i:nth-child(5) { animation-delay: 0.67s; }
  .viz-mvp.is-live .vbars i:nth-child(6) { animation-delay: 0.75s; }
  .viz-mvp.is-live .vbars i:nth-child(7) { animation-delay: 0.83s; }
  .viz-mvp.is-live .vbars i:nth-child(8) { animation-delay: 0.91s; }

  /* 4 · Portal: progress fills, rows slide in */
  .viz-portal.is-live .vprogress i:not(.off) {
    transform-origin: left;
    animation: fillX 0.5s ease backwards;
  }
  .viz-portal.is-live .vprogress i:nth-child(1) { animation-delay: 0.25s; }
  .viz-portal.is-live .vprogress i:nth-child(2) { animation-delay: 0.45s; }
  .viz-portal.is-live .viz-portal__row {
    animation: aiRowIn 0.5s ease 0.6s backwards;
  }
  .viz-portal.is-live .viz-portal__row:last-child {
    animation-delay: 0.75s;
  }

  @keyframes popIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  @keyframes arrowNudge {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(4px);
    }
  }
  @keyframes barGrow {
    from {
      transform: scaleY(0);
    }
    to {
      transform: scaleY(1);
    }
  }
  @keyframes fillX {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  /* One system: connected tools cycle in place, one at a time */
  .viz-connect.is-live .viz-tool {
    animation: toolCycle 13s linear infinite;
    animation-delay: calc(var(--i) * -1.3s);
  }
  @keyframes toolCycle {
    0% {
      opacity: 0;
      transform: translateY(8px);
    }
    3% {
      opacity: 1;
      transform: translateY(0);
    }
    8% {
      opacity: 1;
      transform: translateY(0);
    }
    11% {
      opacity: 0;
      transform: translateY(-8px);
    }
    100% {
      opacity: 0;
    }
  }

  /* BI: line draws on, area + stats + insight fade in */
  .viz-bi.is-live .viz-bi__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: biDraw 1.1s ease 0.2s forwards;
  }
  .viz-bi.is-live .viz-bi__area {
    animation: biFade 0.8s ease 0.5s backwards;
  }
  .viz-bi.is-live .viz-bi__stats .vstat {
    animation: aiRowIn 0.5s ease backwards;
  }
  .viz-bi.is-live .viz-bi__stats .vstat:nth-child(1) {
    animation-delay: 0.9s;
  }
  .viz-bi.is-live .viz-bi__stats .vstat:nth-child(2) {
    animation-delay: 1s;
  }
  .viz-bi.is-live .viz-bi__insight {
    animation: aiRowIn 0.5s ease 1.15s backwards;
  }
  @keyframes biDraw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes biFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* ===================================================== Start-a-project modal */
.pmodal[hidden] {
  display: none;
}
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 5vh, 64px) 16px;
  overflow-y: auto;
}
.pmodal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 26, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.pmodal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 30px 80px -24px rgba(20, 24, 26, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .pmodal__dialog {
    animation: pm-in 0.25s ease;
  }
  @keyframes pm-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
.pmodal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.pmodal__close svg {
  width: 18px;
  height: 18px;
}
.pmodal__close:hover {
  background: var(--panel);
}
.pmodal__title {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-right: 44px;
}
.pmodal__count {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.pmodal__lede {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.02rem;
}
.pmodal__progress {
  display: flex;
  gap: 8px;
  margin: 22px 0 6px;
}
.pmodal__progress span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.2s ease;
}
.pmodal__progress span.is-on {
  background: var(--ink);
}
.pmodal__form {
  margin-top: 16px;
}
.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pm-field {
  margin-bottom: 16px;
}
.pm-field > label,
.pm-field legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.pm-opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}
.pm-field input,
.pm-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pm-field input::placeholder,
.pm-field textarea::placeholder {
  color: var(--muted);
}
.pm-field input:focus,
.pm-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pm-field textarea {
  resize: vertical;
  min-height: 92px;
}
.pm-err {
  display: none;
  margin-top: 7px;
  color: var(--danger);
  font-size: 0.9rem;
}
.pm-field.is-invalid input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}
.pm-field.is-invalid .pm-err {
  display: block;
}
/* Spam honeypot — kept out of view and out of the tab order for real users. */
.pm-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Inline submit feedback (error state). */
.pm-formstatus {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.pm-formstatus[data-state="error"] {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger) 32%, transparent);
}
.pm-formstatus[data-state="success"] {
  color: color-mix(in srgb, var(--success), var(--ink) 38%);
  background: var(--success-soft);
  border: 1px solid color-mix(in srgb, var(--success) 32%, transparent);
}
.pm-choices {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.pm-opt-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pm-opt-card:hover {
  border-color: var(--line-strong);
}
.pm-opt-card input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex: none;
}
.pm-opt-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pmodal__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.pmodal__actions .pill {
  justify-content: center;
}
.pm-full {
  width: 100%;
}
.pm-grow {
  flex: 1;
}
.pmodal__note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.pmodal__privacy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pmodal__privacy a:hover {
  color: var(--accent);
}
/* on the confirmation screen, drop the header title, intro lede + progress */
.pmodal--done .pmodal__title,
.pmodal--done .pmodal__lede,
.pmodal--done .pmodal__progress {
  display: none;
}
.pmodal__done {
  text-align: center;
  padding: 22px 0 6px;
}
.pmodal__check {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}
.pmodal__check svg {
  width: 28px;
  height: 28px;
}
.pmodal__done-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.pmodal__done p {
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 44ch;
}
.pmodal__done a {
  color: var(--accent);
}
@media (max-width: 560px) {
  .pm-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== Legal pages ========= */
.legal {
  padding-top: 40px;
  padding-bottom: var(--section-gap);
}
.privacy-content,
.accessibility-content {
  max-width: 760px;
  margin-inline: auto;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 42px 0 14px;
}
.legal h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
}
.legal p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.legal ul,
.legal ol {
  list-style: revert;
  padding-left: 1.4em;
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.legal li {
  margin-bottom: 7px;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover {
  color: var(--accent-bright);
}
.privacy-updated,
.last-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
/* Table of contents + summary read as tinted cards */
.privacy-toc {
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  margin: 30px 0 42px;
}
.privacy-toc h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.privacy-toc ol {
  margin-bottom: 0;
}
.privacy-section {
  scroll-margin-top: 96px;
  margin-bottom: 10px;
}
.privacy-summary {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  margin-top: 36px;
}
.privacy-summary h2 {
  margin-top: 0;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.97rem;
}
.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: 11px 13px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.privacy-table th {
  background: var(--panel);
  font-weight: 600;
}
.privacy-footer-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 26px;
}
/* WCAG badge + contact card on the accessibility page */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.contact-card {
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  margin: 22px 0;
}
.contact-card h2,
.contact-card h3 {
  margin-top: 0;
}
/* Inline "button" links (open the request form) styled as text links */
.legal .link-button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.legal .link-button:hover {
  color: var(--accent-bright);
}
/* "Back to Home" call-to-action → primary pill */
.privacy-back {
  margin-top: 44px;
}
.legal .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid var(--btn-primary-border);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}
.legal .btn-cta:hover {
  background: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg);
}

/* ===================================================== Cookie consent ====== */
.cc-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(150%);
  width: min(880px, calc(100% - 32px));
  z-index: 70;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px -24px rgba(20, 24, 26, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease, visibility 0.3s;
}
.cc-banner.is-open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.cc-banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 18px 22px;
}
.cc-banner__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.cc-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cc-banner__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cc-banner .cc-btn {
  padding: 10px 22px;
}
/* "Decline" uses the on-dark outline treatment so it reads on the dark banner. */
.cc-banner .cc-btn:not(.pill--accent) {
  background: transparent;
  color: var(--btn-on-dark-fg);
  border-color: var(--btn-on-dark-border);
}
.cc-banner .cc-btn:not(.pill--accent):hover {
  background: var(--btn-on-dark-bg-hover);
  color: var(--btn-on-dark-fg-hover);
  border-color: var(--btn-on-dark-bg-hover);
}
/* Footer "Cookie settings" trigger — matches the other footer links. */
.foot__col button.foot__cc {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.foot__col button.foot__cc:hover {
  color: var(--ink);
}
@media (max-width: 560px) {
  .cc-banner__actions {
    flex: 1 1 auto;
  }
  .cc-banner .cc-btn {
    flex: 1;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc-banner {
    transition: opacity 0.2s ease, visibility 0.2s;
  }
  .cc-banner,
  .cc-banner.is-open {
    transform: translateX(-50%);
  }
}

/* Client login modal — narrower than the project wizard. */
.pmodal__dialog--sm {
  max-width: 440px;
}

/* ===================================================== 404 page ============ */
      .nf {
        min-height: 72vh;
        display: flex;
        align-items: center;
      }
      .nf__inner {
        text-align: center;
        max-width: 560px;
        margin-inline: auto;
      }
      .nf__code {
        font-size: clamp(4rem, 14vw, 8rem);
        line-height: 1;
        letter-spacing: -0.03em;
        color: var(--accent);
      }
      .nf__title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
        margin: 10px 0 14px;
      }
      .nf__lede {
        color: var(--muted);
        font-size: 1.1rem;
        margin-bottom: 28px;
      }

/* ===================================================== About — values grid = */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}
