/* =========================================================
   Layout concept: a white canvas where each workflow step sits
   beside a tilted colour panel (violet, lavender, lilac, cream)
   holding a live product mock-up, stitched together by hand-drawn
   dashed connector lines.
   ========================================================= */
:root {
  color-scheme: light;

  /* colour */
  --canvas: #ffffff;
  --canvas-soft: #f8f6ff;
  --ink: #0f0c1d;
  --ink-2: #37334d;
  --muted: #6d6886;
  --line: #e9e5f5;
  --line-strong: #d6d0ec;

  --violet: #7b5cfa;
  --violet-deep: #5a3ce6;
  --violet-soft: #e6e0ff;
  --lavender: #dcd4fd;
  --lavender-2: #eeeaff;
  --lilac: #efcdfa;
  --lilac-2: #f8e7fd;
  --cream: #f6eddf;
  --peach: #fbdca6;
  --yellow: #ffc83d;

  --green: #17a36b;
  --green-soft: #dcf5ea;
  --amber: #c97a06;
  --amber-soft: #fff0d4;
  --red: #e0474c;
  --red-soft: #fde6e6;
  --blue: #3b82f6;

  --on-violet: #ffffff;

  /* type */
  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-h1: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.35rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.075rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* space + shape */
  --gutter: 24px;
  --maxw: 1280px;
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 150px);
  --r-card: 20px;
  --r-ui: 18px;
  --shadow-ui: 0 30px 60px -24px rgba(44, 22, 140, 0.38), 0 8px 18px -8px rgba(44, 22, 140, 0.18);
  --shadow-soft: 0 18px 40px -22px rgba(44, 22, 140, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

main { overflow-x: hidden; }
@supports (overflow-x: clip) { main { overflow-x: clip; } }
img, svg { max-width: 100%; }
svg use { pointer-events: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
code { font-family: var(--f-mono); font-size: 0.85em; background: var(--lavender-2); padding: 0.1em 0.35em; border-radius: 6px; }
.mono { font-family: var(--f-mono); font-size: 0.85em; font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

section[id], [id="for-agencies"] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-label, .eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
}
.section-copy { font-size: var(--fs-lead); color: var(--muted); max-width: 62ch; text-wrap: pretty; }

.section { padding-block: var(--section-y); position: relative; }
.section-head { display: grid; gap: 18px; max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* SplitText masks */
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-icon-bg: rgba(255, 255, 255, 0.14);
  --btn-hover: var(--violet);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: 120%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--btn-hover);
  transform: translate(-50%, 60%) scale(0.2);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1.15); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(91, 60, 230, 0.55); }
.btn:active { transform: scale(0.97); }
.btn-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--btn-icon-bg);
  flex: none;
  overflow: hidden;
}
.btn-icon svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .btn-icon svg { transform: translateX(3px); }
.btn:hover .btn-icon--down svg { transform: translateY(3px); }
.btn--sm { padding: 5px 5px 5px 16px; font-size: 0.875rem; gap: 10px; }
.btn--sm .btn-icon { width: 30px; height: 30px; }
.btn--sm .btn-icon svg { width: 15px; height: 15px; }
.btn--lg { padding: 8px 8px 8px 26px; font-size: 1rem; }
.btn--lg .btn-icon { width: 42px; height: 42px; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-icon-bg: var(--lavender-2);
  --btn-hover: var(--lavender-2);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-icon-bg: var(--violet); --btn-hover: var(--yellow); }
.btn--light .btn-icon { color: #fff; }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; --btn-icon-bg: rgba(255,255,255,0.18); --btn-hover: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-word { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo-mark { position: relative; width: 30px; height: 30px; display: block; }
.logo-mark i { position: absolute; border-radius: 50%; display: block; }
.logo-mark i:nth-child(1) { width: 14px; height: 14px; left: 0; top: 0; background: var(--violet); }
.logo-mark i:nth-child(2) { width: 14px; height: 14px; right: 0; top: 8px; background: var(--yellow); }
.logo-mark i:nth-child(3) { width: 14px; height: 14px; left: 6px; bottom: 0; background: var(--ink); }
.logo:hover .logo-mark i:nth-child(1) { transform: translate(2px, 2px); }
.logo-mark i { transition: transform 0.4s var(--ease); }
.logo--light { color: #fff; }
.logo--light .logo-mark i:nth-child(3) { background: #fff; }

.main-nav { display: flex; gap: 6px; margin-inline: auto; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s, background-color 0.25s;
}
.main-nav a:hover { color: var(--ink); background: var(--lavender-2); }
.main-nav a.is-active { color: var(--violet-deep); background: var(--lavender-2); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.blob--a { width: 520px; height: 520px; background: var(--lavender); right: -120px; top: -140px; animation: drift 16s ease-in-out infinite alternate; }
.blob--b { width: 380px; height: 380px; background: var(--lilac-2); left: -160px; bottom: -80px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.blob--c { width: 260px; height: 260px; background: var(--cream); left: 42%; top: 38%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123, 92, 250, 0.45); } 100% { box-shadow: 0 0 0 10px rgba(123, 92, 250, 0); } }

.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.hero-title .line-inner { display: inline-block; }
.ink-highlight {
  position: relative;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%);
  background-repeat: no-repeat;
  background-size: var(--hl, 100%) 100%;
}
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.hero-sub { color: var(--muted); max-width: 58ch; font-size: var(--fs-small); text-wrap: pretty; }
.cta-row { margin-top: 6px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.trust-line .sep { color: var(--violet); }

/* hero visual */
.hero-visual { position: relative; min-width: 0; padding: 28px 20px 40px 24px; }
.hero-curve { position: absolute; left: -70px; top: -40px; width: 70%; height: 115%; z-index: 0; overflow: visible; }
.hero-panel { position: relative; z-index: 1; }
.hero-panel .panel-face { padding: clamp(28px, 4.5vw, 52px) clamp(22px, 3.5vw, 44px); }

.wf-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-ui);
  box-shadow: var(--shadow-ui);
  padding: 18px;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  rotate: 2deg;
}
.wf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.wf-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-green 1.8s ease-out infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(23, 163, 107, 0.5); } 100% { box-shadow: 0 0 0 8px rgba(23, 163, 107, 0); } }
.wf-status {
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--violet-deep);
  background: var(--lavender-2); padding: 4px 9px; border-radius: 999px;
  min-width: 148px; text-align: center;
}
.wf-list { display: grid; gap: 8px; position: relative; }
.wf-list::before {
  content: ""; position: absolute; left: 26px; top: 24px; bottom: 24px; width: 2px;
  background-image: linear-gradient(var(--line-strong) 50%, transparent 50%);
  background-size: 2px 7px;
}
.wf-step {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px 9px 8px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.wf-ico {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--canvas-soft); color: var(--muted); flex: none;
  transition: background-color 0.5s, color 0.5s;
}
.wf-ico svg { width: 18px; height: 18px; }
.wf-name { flex: 1; }
.wf-state {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--line); color: transparent;
  transition: background-color 0.4s, color 0.4s, transform 0.4s var(--ease);
  transform: scale(0.8);
}
.wf-state svg { width: 13px; height: 13px; }
.wf-step.is-done { color: var(--ink); }
.wf-step.is-done .wf-state { background: var(--green); color: #fff; transform: scale(1); }
.wf-step.is-done .wf-ico { background: var(--lavender-2); color: var(--violet-deep); }
.wf-step.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 14px 28px -12px rgba(91, 60, 230, 0.65);
}
.wf-step.is-active .wf-ico { background: rgba(255, 255, 255, 0.18); color: #fff; }
.wf-step.is-active .wf-state { background: rgba(255, 255, 255, 0.25); transform: scale(1); }
.wf-step.is-active .wf-state::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid #fff; border-top-color: transparent;
  animation: spin 0.8s linear infinite; position: absolute;
}
.wf-step .wf-state { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.wf-progress { margin-top: 14px; height: 6px; background: var(--lavender-2); border-radius: 99px; overflow: hidden; }
.wf-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--lilac)); border-radius: inherit; transition: width 0.8s var(--ease); }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink);
  font-size: 0.8rem; font-weight: 600;
  padding: 9px 14px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
  animation: bob 5s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip svg { width: 15px; height: 15px; color: var(--violet); }
.chip-a { left: -4px; top: 6%; }
.chip-b { right: 0; bottom: 4%; animation-delay: -2.5s; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-dot--green { background: var(--green); }
@keyframes bob { 50% { translate: 0 -10px; } }
.float-coin { position: absolute; z-index: 2; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe28a, var(--yellow) 55%, #e2a400); box-shadow: 4px 5px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.coin-a { width: 26px; height: 26px; right: 12%; top: 0; }
.coin-b { width: 16px; height: 16px; right: 4%; top: 9%; animation-delay: -1.3s; }

/* ---------- panels (tilted colour cards, from the reference) ---------- */
.panel { position: relative; --face: var(--violet); --back: var(--lavender-2); }
.panel--violet { --face: var(--violet); --back: #e6e0ff; }
.panel--lavender { --face: var(--lavender); --back: var(--lavender-2); }
.panel--lilac { --face: var(--lilac); --back: var(--lilac-2); }
.panel--cream { --face: var(--cream); --back: var(--peach); }
.panel-back {
  position: absolute; inset: 0;
  background: var(--back);
  translate: 18px 16px;
  rotate: 1.2deg;
  border-radius: 6px;
}
.panel-face {
  position: relative;
  background: var(--face);
  border-radius: 6px;
  rotate: -1.8deg;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}
.panel-face > * { min-width: 0; }
.dash-curve { pointer-events: none; }
.dash-curve path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  opacity: 0.75;
}

/* ---------- product UI mock-ups ---------- */
.ui {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--r-ui);
  box-shadow: var(--shadow-ui);
  padding: 16px;
  rotate: 1.8deg;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.ui-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ui-dots { display: inline-flex; gap: 5px; }
.ui-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.ui-dots i:first-child { background: #ff8d8d; }
.ui-dots i:nth-child(2) { background: var(--yellow); }
.ui-dots i:nth-child(3) { background: #6ad6a4; }
.ui-bar-title { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 0.95rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-tag { font-family: var(--f-mono); font-size: 0.68rem; padding: 4px 8px; border-radius: 999px; background: var(--canvas-soft); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.ui-tag--v { background: var(--lavender-2); color: var(--violet-deep); border-color: transparent; }
.ui-tag--ig { background: linear-gradient(90deg, #fde0ef, #ffeccc); color: #b1306b; border-color: transparent; }
.ui-note { margin-top: 10px; font-size: 0.68rem; color: var(--muted); font-family: var(--f-mono); text-align: right; }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.pill svg { width: 12px; height: 12px; }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--violet { background: var(--lavender-2); color: var(--violet-deep); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }

/* analyse */
.an-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.an-block { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.an-title { font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 8px; }
.an-top { grid-column: 1 / -1; }
.an-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; display: block; }
.thumb em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 0.62rem; font-weight: 600; background: rgba(255, 255, 255, 0.9); color: var(--ink); padding: 2px 6px; border-radius: 999px; }
.thumb--1 { background: radial-gradient(circle at 70% 35%, var(--yellow) 0 16%, transparent 17%), linear-gradient(135deg, var(--violet), #a58bff); }
.thumb--2 { background: radial-gradient(circle at 30% 60%, #fff 0 12%, transparent 13%), linear-gradient(135deg, var(--lilac), #f5a9d8); }
.thumb--3 { background: linear-gradient(160deg, transparent 55%, var(--peach) 55%), linear-gradient(135deg, var(--cream), #f2d9b0); }
.spark { width: 100%; height: 62px; display: block; overflow: visible; }
.spark-grid { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.spark-area { fill: var(--lavender-2); stroke: none; }
.spark-line { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-end { fill: var(--violet); stroke: #fff; stroke-width: 2; }
.bars { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; font-size: 0.7rem; }
.bar { height: 8px; background: var(--canvas-soft); border-radius: 99px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--violet); border-radius: inherit; transform-origin: left; }
.bar-row:nth-child(2) .bar i { background: #a58bff; }
.bar-row:nth-child(3) .bar i { background: var(--lavender); }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 4px; display: block; background: var(--canvas-soft); }
.heat .h1 { background: var(--lavender); }
.heat .h2c { background: #a58bff; }
.heat .h3 { background: var(--violet); }
.an-themes { grid-column: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--canvas-soft); color: var(--ink-2); border: 1px solid var(--line); }
.chip--v { background: var(--violet); color: #fff; border-color: transparent; }
.chip--l { background: var(--lavender); border-color: transparent; color: var(--ink); }
.chip--y { background: #ffe9a8; border-color: transparent; color: var(--ink); }
.chip--p { background: var(--lilac); border-color: transparent; color: var(--ink); }

/* plan */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 12px; text-align: center; }
.cal-h { font-size: 0.62rem; font-weight: 600; color: var(--muted); padding-bottom: 2px; }
.cal-d { position: relative; font-size: 0.7rem; padding: 5px 0 9px; border-radius: 8px; background: var(--canvas-soft); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cal-d.muted { color: #b9b4cc; background: transparent; }
.cal-d.has::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--violet); }
.cal-d.has--v { background: var(--lavender-2); }
.cal-d.has--y::after { background: #e2a400; }
.cal-d.has--p::after { background: #d46ee8; }
.cal-d.has--l::after { background: #a58bff; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.tbl th { text-align: left; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; background: var(--canvas-soft); }
.tbl td { padding: 10px; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; }

/* prepare */
.ui-prepare { max-width: 440px; }
.cc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cc-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-deep); font-weight: 500; }
.cc-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; align-items: stretch; }
.cc-preview {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 190px;
  background: linear-gradient(160deg, #2a1a6e, var(--violet) 60%, #b69cff);
}
.cc-shape { position: absolute; border-radius: 50%; }
.cc-shape.s1 { width: 64%; aspect-ratio: 1; left: 18%; top: 16%; background: radial-gradient(circle at 35% 30%, #ffe28a, var(--yellow) 60%, #e2a400); }
.cc-shape.s2 { width: 30%; aspect-ratio: 1; right: -6%; top: 6%; background: var(--lilac); opacity: 0.9; }
.cc-shape.s3 { width: 120%; height: 40%; left: -10%; bottom: -18%; border-radius: 50% 50% 0 0; background: #1b1147; }
.cc-play { position: absolute; left: 50%; top: 48%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
.cc-play::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid var(--violet-deep); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.cc-preview-label { position: absolute; left: 8px; bottom: 8px; font-size: 0.62rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.3); padding: 3px 8px; border-radius: 999px; }
.cc-list { display: grid; gap: 0; align-content: start; }
.cc-list > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line-strong); }
.cc-list > div:last-child { border-bottom: 0; }
.cc-list dt { color: var(--muted); font-size: 0.75rem; }
.cc-list dd { color: var(--ink); font-weight: 600; font-size: 0.8rem; text-align: right; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; }
.tick svg { width: 12px; height: 12px; }
.cc-status {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 12px; background: var(--green-soft);
}
.cc-status-label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.cc-status-value { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse-green 1.6s ease-out infinite; }

/* publish */
.queue { display: grid; gap: 8px; }
.q-item {
  display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.q-time { color: var(--muted); }
.q-type { font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item--next { background: var(--canvas-soft); border-style: dashed; }
.q-timeline { position: relative; height: 4px; border-radius: 99px; background: var(--canvas-soft); margin-top: 12px; overflow: hidden; }
.q-now { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; background: linear-gradient(90deg, var(--peach), var(--yellow)); border-radius: inherit; transform-origin: left; transform: scaleX(0.53); animation: now 6s ease-in-out infinite alternate; }
@keyframes now { to { transform: scaleX(1); } }

/* track */
.pipeline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.pipeline li {
  position: relative;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: var(--canvas-soft); color: var(--muted); border: 1px solid var(--line);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.pipeline li + li::before { content: "→"; position: absolute; left: -9px; top: 50%; transform: translate(-50%, -50%); color: var(--line-strong); font-weight: 400; display: none; }
.pipeline li.is-on { background: var(--violet); color: #fff; border-color: var(--violet); }
.pipeline li.is-past { background: var(--lavender-2); color: var(--violet-deep); border-color: transparent; }
.exception {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft); padding: 6px 10px; border-radius: 999px;
  margin-bottom: 14px;
  animation: alert-glow 2s ease-in-out infinite;
}
.exception svg { width: 14px; height: 14px; }
@keyframes alert-glow { 50% { box-shadow: 0 0 0 5px rgba(224, 71, 76, 0.12); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; min-width: 0; }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.66rem; color: var(--muted); line-height: 1.25; }
.stat--alert { background: var(--red-soft); border-color: transparent; }
.stat--alert .stat-num { color: var(--red); }

/* tasks (for teams) */
.ui-tasks { max-width: 420px; }
.tasks { display: grid; gap: 8px; }
.tasks li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); font-size: 0.88rem; }
.t-box { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--violet); color: #fff; flex: none; }
.t-box svg { width: 13px; height: 13px; }

/* ---------- problem ---------- */
.problem { background: linear-gradient(180deg, #fff 0%, var(--canvas-soft) 100%); }
.mess { position: relative; aspect-ratio: 1000 / 520; max-width: 1100px; margin: 0 auto clamp(56px, 7vw, 96px); }
.mess-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mess-path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; opacity: 0.7; }
.mess-path--faint { stroke: var(--red); opacity: 0.35; }
.mess-node {
  position: absolute;
  left: var(--x); top: var(--y);
  translate: -50% -50%;
  rotate: var(--r);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-weight: 600; color: var(--ink); font-size: 0.92rem;
  white-space: nowrap;
  z-index: 1;
}
.mess-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--canvas-soft); color: var(--muted); flex: none; }
.mess-ico svg { width: 17px; height: 17px; }
.mess-badge { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.7rem; display: grid; place-items: center; }
.mess-q { position: absolute; top: -12px; right: -10px; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--f-display); font-weight: 800; display: grid; place-items: center; box-shadow: 2px 2px 0 var(--ink); }

.problem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.p-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  display: grid; gap: 10px; align-content: start;
  transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.p-card:nth-child(4), .p-card:nth-child(5) { grid-column: span 3; }
.p-card:hover { translate: 0 -6px; box-shadow: var(--shadow-soft); border-color: var(--lavender); }
.p-card p { color: var(--muted); font-size: var(--fs-small); }
.p-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 6px; }
.p-ico svg { width: 22px; height: 22px; }

.transition-statement {
  margin-top: clamp(64px, 8vw, 110px);
  text-align: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--violet-deep);
  text-wrap: balance;
}

/* ---------- solution flow (5 steps) ---------- */
.flow5 { position: relative; max-width: 1120px; margin-inline: auto; }
.flow5-track { position: absolute; left: 10%; right: 10%; top: 71px; height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; }
.flow5-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), #b69cff, var(--violet)); transform-origin: left; border-radius: inherit; }
.flow5-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.flow5-item a {
  display: grid; justify-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  padding: 12px 8px 20px;
  border-radius: var(--r-card);
  transition: background-color 0.35s;
}
.flow5-num { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; }
.flow5-ico {
  width: 84px; height: 84px; border-radius: 26px;
  display: grid; place-items: center;
  background: #fff; color: var(--violet-deep);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.flow5-ico svg { width: 32px; height: 32px; }
.flow5-name { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 1rem; }
.flow5-item a:hover .flow5-ico, .flow5-item.is-lit .flow5-ico { background: var(--violet); color: #fff; border-color: var(--violet); transform: translateY(-6px) rotate(-4deg); box-shadow: 0 20px 36px -16px rgba(91, 60, 230, 0.7); }
.flow5-item:nth-child(2) .flow5-ico { --tilt: 3deg; }

/* ---------- steps ---------- */
.steps { position: relative; padding-top: 12px; }
.step-rail {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 10px);
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  display: flex; gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.step-rail a {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.85rem; color: var(--muted);
  padding: 7px 14px; border-radius: 999px;
  transition: background-color 0.35s, color 0.35s;
}
.step-rail a span { font-family: var(--f-mono); font-size: 0.7rem; }
.step-rail a:hover { color: var(--ink); }
.step-rail a.is-active { background: var(--ink); color: #fff; }

.step { position: relative; padding-block: clamp(80px, 9vw, 130px); }
.step-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.step-copy { display: grid; gap: 18px; align-content: center; min-width: 0; }
.step-copy > p:not([class]) { color: var(--muted); max-width: 52ch; }
.step-lead { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; }
.step-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-deep); font-size: 0.95rem; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0; font-weight: 500; }
.step-dash { width: 36px; height: 2px; background: var(--violet); display: block; border-radius: 2px; }
.step-visual { position: relative; min-width: 0; padding: 12px 24px 28px 8px; }
.step-curve { position: absolute; top: 0; bottom: 0; width: 220px; height: 100%; z-index: 0; overflow: visible; }
.step-curve--a { left: calc(50% - 150px); }
.step-curve--b { left: calc(50% - 170px); }

.output-box {
  display: grid; gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  max-width: 440px;
  position: relative; overflow: hidden;
}
.output-box::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--violet); opacity: 0.55; }
.output-label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); position: relative; z-index: 1; }
.output-box p { position: relative; z-index: 1; font-weight: 500; }

.list-head { font-weight: 700; color: var(--ink); margin-bottom: -8px; }
.dot-list { display: grid; gap: 6px; }
.dot-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 500; }
.dot-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); flex: none; }

.highlight-card {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--lavender-2);
  max-width: 460px;
}
.highlight-card p { color: var(--ink); line-height: 1.45; }
.highlight-card--cream { background: var(--cream); }
.hl-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--violet); color: #fff; display: grid; place-items: center; flex: none; }
.hl-ico svg { width: 20px; height: 20px; }

.no-more { display: grid; gap: 8px; }
.no-more-label { font-weight: 700; color: var(--ink); }
.no-more ul { display: grid; gap: 6px; }
.no-more li { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; color: var(--muted); }
.strike { position: relative; display: inline-block; }
.strike::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(var(--strike, 1)); transform-origin: left;
}

/* ---------- compare ---------- */
.compare { background: var(--canvas-soft); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin-inline: auto; }
.compare-col { border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); }
.compare-col--without { background: #fff; border: 1px solid var(--line); }
.compare-col--with { background: var(--violet); color: #fff; box-shadow: 0 30px 60px -28px rgba(91, 60, 230, 0.6); }
.compare-title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.95rem; margin-bottom: 20px; color: var(--ink); }
.compare-col--with .compare-title { color: #fff; }
.c-badge { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.c-badge svg { width: 16px; height: 16px; }
.c-badge--x { background: var(--red-soft); color: var(--red); }
.c-badge--ok { background: #fff; color: var(--violet-deep); }
.compare-col li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.compare-col--without li { color: var(--muted); }
.compare-col--without li::before { content: ""; width: 14px; height: 2px; background: var(--red); opacity: 0.6; flex: none; border-radius: 2px; }
.compare-col--with li { border-top-color: rgba(255, 255, 255, 0.2); }
.compare-col--with li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.25); }

.from-to { display: grid; gap: 18px; max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0; }
.ft-row { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; }
.ft-label { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ft-chain { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: center; }
.ft-chain li { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.ft-chain li + li::before { content: "→"; color: var(--muted); font-weight: 400; margin-right: 2px; }
.ft-row--from .ft-chain li { color: var(--muted); }
.ft-row--from .ft-chain li:not(:first-child)::after { content: none; }
.ft-row--from .ft-chain { padding: 12px 16px; border: 1.5px dashed var(--line-strong); border-radius: 16px; background: #fff; }
.ft-row--to .ft-chain { padding: 12px 16px; border-radius: 16px; background: var(--ink); }
.ft-row--to .ft-chain li { color: #fff; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--f-display); font-size: 0.9rem; transition: color 0.35s; }
.ft-row--to .ft-chain li + li::before { color: var(--violet); }
.ft-row--to .ft-chain li.is-lit { color: var(--yellow); }

/* ---------- split (for teams) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-visual { padding: 12px 28px 28px 8px; min-width: 0; }
.split-copy { display: grid; gap: 20px; min-width: 0; }
.split-copy > p:not([class]) { color: var(--muted); }
.more-time { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 14px; }
.more-time-title { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.more-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.more-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 0.9rem; transition: background-color 0.3s, color 0.3s, translate 0.3s var(--ease); }
.more-chips li:hover { background: var(--violet); translate: 0 -2px; }
.key-message { font-size: var(--fs-lead); color: var(--ink-2); border-left: 3px solid var(--violet); padding-left: 16px; }
.key-message strong { color: var(--ink); }

/* ---------- owners ---------- */
.owners { padding-bottom: clamp(56px, 7vw, 96px); }
.owners-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.owners-copy { display: grid; gap: 20px; }
.owners-copy > p:not([class]) { color: var(--muted); }
.lead-sm { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; }
.visibility { display: grid; gap: 8px; }
.visibility li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  font-weight: 600; color: var(--ink);
  transition: translate 0.4s var(--ease), border-color 0.3s;
}
.visibility li:hover { translate: 6px 0; border-color: var(--lavender); }
.v-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.v-dot--grey { background: #a9a4bf; }
.v-dot--green { background: var(--green); }
.v-dot--violet { background: var(--violet); }
.v-dot--blue { background: var(--blue); }
.v-dot--ink { background: var(--ink); }
.v-dot--amber { background: #e8a21b; }

/* ---------- arc statement (from the reference's purple arc) ---------- */
.arc-section { position: relative; overflow: hidden; background: var(--violet); padding-block: clamp(120px, 16vw, 220px) clamp(90px, 12vw, 160px); isolation: isolate; }
.arc-bg { position: absolute; inset: 0; z-index: -1; }
.arc-hole {
  position: absolute;
  left: 50%; top: clamp(40px, 7vw, 110px);
  width: max(1500px, 170vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  translate: -50% 0;
  transform-origin: 50% 0;
}
.arc-inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.arc-kicker { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.big-statement {
  display: grid;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 0.2rem + 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #b3aec8;
}
.bs-line { display: block; white-space: nowrap; }
.bs-l1 { position: relative; justify-self: start; }
.bs-l2 { justify-self: end; padding-left: 1.4em; }
.bs-l3 { justify-self: start; }
.bs-l4 { justify-self: end; padding-left: 1.4em; }
.bs-l1::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 0.08em;
  background: var(--red); border-radius: 99px; transform: scaleX(var(--strike, 1)); transform-origin: left;
}
.big-statement--accent { color: var(--ink); }
.big-statement--accent .bs-l3 { color: var(--violet); }
.bs-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-block: 10px; animation: bob 2.8s ease-in-out infinite; }
.bs-arrow svg { width: 28px; height: 28px; }
.arc-support { margin-top: 24px; font-size: var(--fs-lead); color: var(--ink-2); }
.arc-support strong { color: var(--ink); }

/* ---------- who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.who-card {
  grid-column: span 2;
  position: relative;
  border-radius: var(--r-card);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
  transition: box-shadow 0.45s var(--ease), border-color 0.45s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.who-card:nth-child(4), .who-card:nth-child(5) { grid-column: span 3; }
.who-card::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -70px; top: -70px; background: var(--card-tint, var(--lavender-2)); transition: transform 0.6s var(--ease); z-index: 0;
}
.who-card:hover::before { transform: scale(1.5); }
.who-card > * { position: relative; z-index: 1; }
.who-card:nth-child(2) { --card-tint: var(--lilac-2); }
.who-card:nth-child(3) { --card-tint: var(--cream); }
.who-card:nth-child(4) { --card-tint: #fff4d6; }
.who-card:nth-child(5) { --card-tint: var(--lavender-2); }
.who-card:hover { box-shadow: var(--shadow-soft); border-color: var(--lavender); }
.who-card p { color: var(--muted); font-size: var(--fs-small); }
.who-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.who-ico svg { width: 22px; height: 22px; }

/* ---------- use cases ---------- */
.usecases { background: var(--canvas-soft); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uc-card {
  background: #fff; border-radius: var(--r-card); padding: 28px; border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
  transition: box-shadow 0.45s var(--ease), border-color 0.45s;
  transform-style: preserve-3d;
}
.uc-card:hover { box-shadow: var(--shadow-soft); border-color: var(--lavender); }
.uc-card h3 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.uc-card p { color: var(--muted); font-size: var(--fs-small); }
.uc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px; transform: rotate(-4deg); transition: transform 0.5s var(--ease); }
.uc-card:hover .uc-ico { transform: rotate(4deg) scale(1.06); }
.uc-ico svg { width: 24px; height: 24px; }
.uc-ico--v { background: var(--violet); color: #fff; }
.uc-ico--p { background: var(--lilac); color: var(--ink); }
.uc-ico--y { background: var(--yellow); color: var(--ink); }
.uc-ico--l { background: var(--lavender); color: var(--ink); }

/* ---------- impact ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.impact-card {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  min-height: 280px;
  display: grid; align-content: end; gap: 12px;
  overflow: hidden;
  transition: translate 0.5s var(--ease), rotate 0.5s var(--ease);
}
.impact-card:hover { translate: 0 -6px; rotate: -0.6deg; }
.impact-card h3 { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); letter-spacing: -0.01em; text-transform: uppercase; }
.impact-card p { max-width: 36ch; font-size: var(--fs-lead); }
.impact-num {
  position: absolute; right: clamp(20px, 3vw, 36px); top: clamp(8px, 2vw, 20px);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: 1; letter-spacing: -0.05em;
  opacity: 0.9;
}
.impact-card--violet { background: var(--violet); color: #fff; }
.impact-card--violet h3 { color: #fff; }
.impact-card--violet .impact-num { color: rgba(255, 255, 255, 0.22); }
.impact-card--lavender { background: var(--lavender); color: var(--ink); }
.impact-card--lavender .impact-num { color: rgba(91, 60, 230, 0.2); }
.impact-card--cream { background: var(--cream); color: var(--ink); }
.impact-card--cream .impact-num { color: rgba(201, 122, 6, 0.2); }
.impact-card--lilac { background: var(--lilac); color: var(--ink); }
.impact-card--lilac .impact-num { color: rgba(120, 30, 150, 0.16); }

/* ---------- connected flow ---------- */
.connected { overflow: hidden; }
.cflow { position: relative; max-width: 1180px; margin-inline: auto; aspect-ratio: 1000 / 420; }
.cflow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cflow-base { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 5 7; }
.cflow-draw { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; }
.cflow-dot { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.cflow-dot--2 { fill: var(--violet); stroke: #fff; }
.cflow-list { position: absolute; inset: 0; }
.cf-node {
  position: absolute;
  left: var(--cx); top: var(--cy);
  width: 17%;
  translate: -50% -50%;
  display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 14px 10px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(0.72rem, 0.55rem + 0.35vw, 0.9rem);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.cf-n { font-family: var(--f-mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; font-weight: 500; transition: color 0.4s; }
.cf-node.is-lit { background: var(--violet); color: #fff; border-color: var(--violet); }
.cf-node.is-lit .cf-n { color: rgba(255, 255, 255, 0.75); }
.cf-node--human { box-shadow: 0 0 0 5px var(--yellow), var(--shadow-soft); }
.cf-node--ig { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f58529, #dd2a7b, #8134af) border-box; border-color: transparent; border-width: 2px; }
.cf-node--ig.is-lit { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af) padding-box, linear-gradient(135deg, #f58529, #dd2a7b, #8134af) border-box; }
.cflow-loop {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-deep);
  background: var(--lavender-2); padding: 10px 16px; border-radius: 999px;
}
.cflow-loop svg { width: 18px; height: 18px; animation: spin 6s linear infinite; }

/* ---------- control ---------- */
.control { background: var(--canvas-soft); }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.control-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 12px; align-content: start; text-align: left; transition: translate 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.control-card:hover { translate: 0 -6px; box-shadow: var(--shadow-soft); }
.control-card h3 { letter-spacing: 0.08em; text-transform: uppercase; }
.control-card p { color: var(--muted); }
.control-card--human { background: var(--ink); border-color: var(--ink); }
.control-card--human h3 { color: #fff; }
.control-card--human p { color: #c9c5dc; }
.control-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 10px; }
.control-ico svg { width: 26px; height: 26px; }
.control-ico--ai { background: var(--lavender); color: var(--violet-deep); }
.control-ico--human { background: var(--yellow); color: var(--ink); }
.control-ico--auto { background: var(--violet); color: #fff; }
.control-statement {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink);
  text-wrap: balance;
}
.control-statement span { color: var(--muted); }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--violet);
  color: #fff;
  padding-block: clamp(100px, 13vw, 180px);
  text-align: center;
}
.final-bg { position: absolute; inset: 0; z-index: -1; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.28); transform: translate(-50%, -50%); animation: ring-spin 60s linear infinite; }
.ring--1 { width: 520px; height: 520px; }
.ring--2 { width: 860px; height: 860px; animation-direction: reverse; animation-duration: 90s; }
.ring--3 { width: 1240px; height: 1240px; border-style: solid; border-color: rgba(255, 255, 255, 0.12); }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.final-inner { display: grid; justify-items: center; gap: 28px; }
.final-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.03em;
  max-width: 17em; color: #fff; text-wrap: balance;
}
.final-copy { max-width: 60ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.86); }
.final-support { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.8); }

/* ---------- lead form ---------- */
.lead-section { background: linear-gradient(180deg, var(--canvas-soft), #fff); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.lead-intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 40px); }
.lead-intro > p:not([class]) { color: var(--muted); max-width: 46ch; }
.slot-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; max-width: 400px; }
.slot-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex: none; }
.slot-ico svg { width: 22px; height: 22px; }
.slot-title { font-weight: 700; color: var(--ink); }
.slot-text { color: var(--muted); font-size: var(--fs-small); }

.form-shell {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(44, 22, 140, 0.3);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
/* side-by-side dropdowns: line the boxes up even when one label wraps */
.field:has(> .select-wrap) { align-content: end; }
.field label, .field legend { font-weight: 600; font-size: 0.9rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 9px; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--canvas-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #a9a4bf; }
.field input:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff8f8; }
.field-error { color: var(--red); font-size: 0.8rem; min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 40px; cursor: pointer; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  user-select: none;
}
.choice:hover span { border-color: var(--violet); }
.choice input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; transform: scale(1.03); }
.choice input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form-note { color: var(--muted); font-size: 0.85rem; }
.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--red); }
.form-status:empty { display: none; }
.btn--submit.is-loading .btn-icon svg { animation: spin 0.9s linear infinite; }

.form-success { display: grid; justify-items: start; gap: 16px; padding-block: 12px; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.6rem; }
.form-success > p { color: var(--muted); }
.success-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop 0.6s var(--ease); }
.success-ico svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.calendly-placeholder { width: 100%; border: 1px solid var(--violet-soft); border-radius: 16px; padding: 18px; background: var(--lavender-2); display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); }
.cp-title { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-deep); font-weight: 500; }
.text-btn { background: none; border: 0; padding: 4px 0; color: var(--violet-deep); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c5dc; padding-top: clamp(64px, 8vw, 100px); overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { display: grid; gap: 12px; }
.footer-brand p { color: #a9a4bf; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.footer-nav a, .legal a { text-decoration: none; color: #e7e4f3; font-weight: 500; transition: color 0.25s; }
.footer-nav a:hover, .legal a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 0.9rem; }
.legal { display: flex; gap: 12px; }
.legal span { color: #6d6886; }
.footer-wordmark {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(4.5rem, 1rem + 17vw, 17rem);
  line-height: 0.8; letter-spacing: -0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  margin-bottom: -0.12em;
  user-select: none;
  white-space: nowrap;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 10px; font-size: 0.9rem; }
  .cf-node { width: 18%; padding: 12px 6px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
  .hero-curve { display: none; }
  .step-grid { grid-template-columns: 1fr; }
  .step-visual { max-width: 640px; }
  .step-curve { display: none; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: 2; max-width: 560px; }
  .owners-grid { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-intro { position: static; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .control-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 900px) {
  /* connected flow becomes a vertical flow */
  .cflow { aspect-ratio: auto; max-width: 480px; }
  .cflow-svg, .cflow-loop { display: none; }
  .cflow-list { position: relative; inset: auto; display: grid; gap: 30px; }
  .cf-node {
    position: relative; left: auto; top: auto; translate: none; width: 100%;
    grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 14px; padding: 16px 18px;
  }
  .cf-node:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: -26px; width: 2px; height: 22px;
    background-image: linear-gradient(var(--violet) 50%, transparent 50%); background-size: 2px 6px;
  }
  .cf-node--cycle::before { content: "↺"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: inherit; font-size: 1.2rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .main-nav {
    position: fixed;
    left: 12px; right: 12px;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 4px);
    flex-direction: column; gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(15, 12, 29, 0.3);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: inline-block; }
  .header-inner { justify-content: space-between; }
  .step-rail { display: none; }

  .problem-grid { grid-template-columns: 1fr 1fr; }
  .p-card, .p-card:nth-child(4) { grid-column: span 1; }
  .p-card:nth-child(5) { grid-column: 1 / -1; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-card, .who-card:nth-child(4) { grid-column: span 1; }
  .who-card:nth-child(5) { grid-column: 1 / -1; }
  .compare-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { min-height: 220px; }

  /* problem: messy map becomes a vertical chain */
  .mess { aspect-ratio: auto; display: grid; gap: 28px; justify-items: center; max-width: 420px; }
  .mess-lines { display: none; }
  .mess-node { position: relative; left: auto; top: auto; translate: none; white-space: normal; }
  .mess-node:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: -25px; width: 2px; height: 20px;
    background-image: linear-gradient(var(--ink) 50%, transparent 50%); background-size: 2px 5px; opacity: 0.5;
    transform: rotate(calc(var(--r) * -1));
  }

  /* 5-step flow becomes vertical */
  .flow5 { max-width: 420px; }
  .flow5-track { left: 41px; right: auto; top: 40px; bottom: 40px; width: 3px; height: auto; }
  .flow5-fill { transform-origin: top; background: linear-gradient(180deg, var(--violet), #b69cff); }
  .flow5-list { grid-template-columns: 1fr; gap: 12px; }
  .flow5-item a { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; gap: 16px; padding: 0; }
  .flow5-ico { width: 64px; height: 64px; border-radius: 20px; order: -1; margin-left: 10px; }
  .flow5-ico svg { width: 26px; height: 26px; }
  .flow5-num { order: 2; }
  .flow5-item a:hover .flow5-ico, .flow5-item.is-lit .flow5-ico { transform: translateX(4px) rotate(-4deg); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --fs-body: 1rem; }
  .btn--lg { padding: 6px 6px 6px 20px; font-size: 0.95rem; }
  .btn--lg .btn-icon { width: 38px; height: 38px; }
  .hero .cta-row .btn { width: 100%; justify-content: space-between; }
  .cta-row--center .btn { width: 100%; justify-content: space-between; max-width: 400px; }
  .header-actions .btn--sm { padding-left: 14px; }
  .hero-visual { padding: 20px 14px 32px 6px; }
  .chip-a { left: -2px; top: 0; }
  .chip-b { right: -2px; bottom: 0; }
  .wf-status { min-width: 0; }
  .panel-back { translate: 10px 10px; }
  .step-visual, .split-visual { padding: 8px 18px 20px 4px; }
  .panel-face { padding: 26px 14px; }
  .ui { padding: 12px; font-size: 0.8rem; }
  .an-grid { grid-template-columns: 1fr; }
  .cc-body { grid-template-columns: 1fr; }
  .cc-preview { min-height: 150px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .q-item { grid-template-columns: 64px 1fr auto; gap: 8px; padding: 10px; }
  .problem-grid, .who-grid, .uc-grid { grid-template-columns: 1fr; }
  .p-card, .p-card:nth-child(4), .p-card:nth-child(5), .who-card, .who-card:nth-child(4), .who-card:nth-child(5) { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .ft-row { grid-template-columns: 1fr; gap: 8px; }
  .bs-l2, .bs-l4 { padding-left: 0.6em; }
  .footer-nav { gap: 10px 20px; }
  .logo-word { font-size: 1.2rem; }
}

@media (max-width: 380px) {
  .header-actions .btn--sm .btn-label { font-size: 0.8rem; }
  .header-actions .btn--sm { gap: 6px; padding-left: 12px; }
}

/* arrival flash when a "Book Demo" button brings the visitor to the form */
.form-shell.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(123, 92, 250, 0.55), 0 40px 80px -40px rgba(44, 22, 140, 0.3); } 100% { box-shadow: 0 0 0 22px rgba(123, 92, 250, 0), 0 40px 80px -40px rgba(44, 22, 140, 0.3); } }

@media (prefers-reduced-motion: reduce) {
  .cflow-dot { display: none; }
}

/* ---------- scroll performance ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* Moving pieces get their own compositor layer so scrolling never repaints their shadows. */
[data-panel], [data-panel] .ui, .hero-panel .panel-face, .hero .wf-card, .blob, .ring, .float-chip, .float-coin, .mess-node, .footer-wordmark { will-change: transform; }
.step, .compare, .teams, .who, .usecases, .impact, .connected, .control, .problem { contain: layout paint; }
/* Looping decorations pause while their section is off screen. */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro > p:not([class]) { color: var(--muted); max-width: 42ch; }
.faq-cta { display: grid; gap: 12px; justify-items: start; padding: 20px; border-radius: 20px; background: var(--lavender-2); max-width: 380px; }
.faq-cta p { font-weight: 600; color: var(--ink); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.3s, box-shadow 0.4s var(--ease); }
.faq-item:hover { border-color: var(--lavender); }
.faq-item[open] { border-color: var(--violet); box-shadow: var(--shadow-soft); }
.faq-item summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.35; color: var(--ink);
  border-radius: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; color: var(--violet-deep); }
.faq-q { min-width: 0; }
.faq-toggle { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--canvas-soft); flex: none; transition: background-color 0.3s, rotate 0.4s var(--ease); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: rotate 0.4s var(--ease), background-color 0.3s; }
.faq-toggle::after { rotate: 90deg; }
.faq-item[open] .faq-toggle { background: var(--violet); rotate: 180deg; }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { rotate: 0deg; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 22px calc(22px + 16px + 1.6em); color: var(--muted); max-width: 64ch; }
@media (max-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 640px) {
  .faq-item summary { padding: 16px; gap: 12px; font-size: 1rem; }
  .faq-a p { padding: 0 16px 18px; }
}

/* ---------- brand logo ---------- */
.logo-img { display: block; height: 56px; width: auto; }
.logo--footer { background: #fff; border-radius: 16px; padding: 8px 12px; }
.logo--footer .logo-img { height: 72px; }
.site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 860px) { .logo-img { height: 48px; } }
.footer-brand { justify-items: start; }

/* Spam trap for bots; hidden from people and screen readers */
.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* ---------- phone country picker + message ---------- */
.field textarea {
  width: 100%; min-height: 112px; resize: vertical;
  font: inherit; font-size: 1rem; line-height: 1.5;
  color: var(--ink); background: var(--canvas-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field textarea::placeholder { color: #a9a4bf; }
.field textarea:hover { border-color: var(--line-strong); }
.field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
.field-hint { color: var(--muted); font-size: 0.8rem; }

.phone-wrap { position: relative; display: flex; align-items: stretch; min-width: 0; }
.phone-wrap .ccp-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 0 12px 0 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--canvas-soft);
  border: 1.5px solid var(--line); border-right: 0;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.phone-wrap .ccp-btn:hover { border-color: var(--line-strong); }
.phone-wrap .ccp-btn:focus-visible { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); position: relative; z-index: 1; }
.phone-wrap .ccp-btn[aria-expanded="true"] { background: #fff; border-color: var(--violet); }
.field .phone-wrap input[type="tel"] { flex: 1 1 auto; min-width: 0; border-radius: 0 12px 12px 0; }
.field.has-error .phone-wrap .ccp-btn { border-color: var(--red); background: #fff8f8; }
.ccp-dial { font-variant-numeric: tabular-nums; }
.ccp-caret { width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); margin-left: 2px; transition: transform 0.2s; }
.ccp-btn[aria-expanded="true"] .ccp-caret { transform: translateY(1px) rotate(-135deg); }

.flag {
  display: inline-block; flex: none;
  width: 20px; height: 15px; border-radius: 3px;
  background: #eceaf3 url("flags.png") no-repeat;
  background-size: 320px 240px;
  background-position: calc(var(--x, 0) * -20px) calc(var(--y, 0) * -15px);
  box-shadow: 0 0 0 1px rgba(15, 12, 29, 0.08);
}

.ccp-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 30;
  width: 100%; min-width: 260px; max-width: 380px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -18px rgba(44, 22, 140, 0.32), 0 6px 14px -8px rgba(44, 22, 140, 0.16);
  padding: 8px;
}
.ccp-panel[hidden] { display: none !important; }
.field input.ccp-search {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--canvas-soft); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 6px;
}
.field input.ccp-search:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: none; }
.ccp-list { display: block; list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ccp-opt { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; color: var(--ink); }
.ccp-opt[hidden] { display: none; }
.ccp-opt .ccp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccp-opt .ccp-code { color: var(--muted); font-variant-numeric: tabular-nums; }
.ccp-opt:hover, .ccp-opt.is-active { background: var(--lavender-2); }
.ccp-opt[aria-selected="true"] { font-weight: 600; }
.ccp-opt[aria-selected="true"] .ccp-code { color: var(--violet-deep); }
.ccp-empty { padding: 12px 10px; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) {
  .ccp-panel { max-width: none; }
  .ccp-list { max-height: 220px; }
}
