/* ================= Tokens ================= */
:root {
  --indigo: #5762D9;
  --crimson: #CF374E;
  --grad: linear-gradient(to right, #5762D9, #CF374E);
  --primary: #9C5A93;                       /* oklch(0.5628 0.115 332.13) brand mauve */
  --primary-hover: oklch(0.64 0.115 332.13); /* lighter */

  --ink: #15162B;
  --ink-2: #44465E;
  --ink-3: #6E7088;
  --line: #E4E5EE;
  --bg: #FFFFFF;
  --bg-soft: #F6F6FB;
  --bg-dark: #12132A;
  --bg-black: #0F0F10;   /* neutral near-black for dark bands */
  --bg-black-2: #1A1A1C; /* raised surface on near-black */
  --indigo-soft: #EEF0FD;

  --radius: 4px;      /* squarer look: very slight rounding */
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(21,22,43,.04), 0 8px 24px rgba(21,22,43,.06);
  --shadow-lg: 0 2px 4px rgba(21,22,43,.04), 0 24px 60px rgba(21,22,43,.12);

  --header-h: 68px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= Logo ================= */
.logo {
  font-family: "Rakkas", serif;
  font-weight: 400;
  font-size: 26.45px;
  line-height: 32px;
  padding-bottom: 4px; /* room for the descender */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  white-space: nowrap;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= Buttons & links ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(156,90,147,.28); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 24px rgba(156,90,147,.32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #C9CBDA; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; }

.text-link { display: inline-block; font-weight: 600; color: var(--indigo); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.link-secondary { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.link-secondary:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ================= Sections ================= */
.section { padding: 104px 0; }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.section-sub { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 18px; }

/* ================= Hero ================= */
.hero { padding: 72px 0 96px; background:
  radial-gradient(800px 400px at 85% 10%, rgba(207,55,78,.08), transparent 60%),
  radial-gradient(700px 400px at 60% 60%, rgba(87,98,217,.10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 540px; }
/* "Continuity is a fit if:" rolling messages */
.hero-fit { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 100%; }
.hero-fit-label { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hero-fit-list { list-style: none; margin: 0; padding: 0; position: relative; height: 34px; overflow: hidden; flex: 0 0 auto; min-width: 0; max-width: 100%; }
.hero-fit-list li { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px;
  width: max-content; max-width: 100%; background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hero-fit-list li::before { content: "✓"; color: var(--primary); font-weight: 700; }
/* Animated mode (set by JS): items stack in the same slot and roll top → bottom */
.hero-fit.is-rolling .hero-fit-list li { position: absolute; inset: 0 auto 0 0; transform: translateY(-100%); opacity: 0; }
.hero-fit.is-rolling .hero-fit-list li.is-active { transform: translateY(0); opacity: 1; transition: transform .33s cubic-bezier(.2,.8,.2,1), opacity .33s; }
.hero-fit.is-rolling .hero-fit-list li.is-leaving { transform: translateY(100%); opacity: 0; transition: transform .33s cubic-bezier(.4,0,.6,1), opacity .27s; }
.hero-fit-list li { overflow: hidden; text-overflow: ellipsis; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.proof { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.proof strong { color: var(--ink-2); font-weight: 600; }
.proof-ready { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.proof-check { display: inline-flex; align-items: center; gap: 5px; }
.proof-check::before { content: "\2713"; color: var(--primary); font-weight: 700; }
.proof-line { display: block; line-height: 1.7; }
.proof-plug { display: inline-flex; align-items: center; gap: 4px; vertical-align: bottom; margin-left: 2px; }
.proof-plug .plug { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ================= Browser frame & screenshot placeholder ================= */
.browser { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DAE5; }
.browser-url { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: var(--radius-sm); }
.shot { display: block; width: 100%; aspect-ratio: 16 / 10; background: #fff; border: 0; padding: 0; position: relative; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hero-shot { aspect-ratio: 2112 / 1158; }
/* Hero screen tour: stacked shots crossfade, the incoming one settles from a slight zoom */
.hero-shot .rot-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.025);
  transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.hero-shot .rot-img.is-on { opacity: 1; transform: none; z-index: 1; }
.browser-url[data-rot-url] { transition: opacity .25s ease; }
.browser-url.is-changing { opacity: 0; }
/* ================= Cards ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-2); }
.card-icon { width: 36px; height: 36px; border-radius: var(--radius); display: grid; place-items: center; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); margin-bottom: 18px; }

/* ================= Problem ================= */
.problem { background: var(--bg-soft); }
.problem .section-title { margin-bottom: 48px; max-width: 760px; }
.answer { margin-top: 40px; position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 48px; align-items: start; }
.answer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.answer-title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.answer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.answer-list li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.answer-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--primary); }
@media (max-width: 760px) { .answer { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* Problem cards: small illustrations */
.pain { display: flex; flex-direction: column; }
.pain-art { position: relative; height: 150px; margin: -8px -8px 22px; border-radius: var(--radius-sm); background: var(--bg-soft); overflow: hidden; }
.app-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.app-logo { display: inline-block; width: 18px; height: 18px; object-fit: contain; flex: none; vertical-align: middle; }
.app-slack { background: #4A154B; }
.avatar { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); font-size: 10px; font-weight: 700; }
.tag { position: absolute; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag-warn { background: #FFF4D6; color: #8A5A00; }
.tag-ok { background: #E6F6EC; color: #1C7C46; }

.art-template .doc { position: absolute; left: 50%; top: 18px; width: 168px; transform: translateX(-50%) rotate(-2deg); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px 14px; box-shadow: var(--shadow); }
.doc-head { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.art-template .doc i { display: block; height: 5px; border-radius: 3px; background: #E7E8F0; margin-top: 6px; }
.art-template .doc i.short { width: 60%; }
.art-template .tag { left: 50%; bottom: 14px; transform: translateX(-50%); }
.art-template .bubble { position: absolute; right: calc(50% - 112px); top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(156,90,147,.35); }

.chip-src { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); white-space: nowrap; }
.chip-src.s1 { left: 10%; top: 18px; transform: rotate(-4deg); }
.chip-src.s2 { right: 9%; top: 34px; transform: rotate(3deg); }
.chip-src.s3 { left: 16%; bottom: 22px; transform: rotate(2deg); }
.chip-src.s4 { right: 13%; bottom: 34px; transform: rotate(-3deg); border-style: dashed; }

.meeting { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.meeting-head { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.avatars { display: flex; margin-bottom: 10px; }
.avatars span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: #E7E8F0; color: var(--ink-3); border: 2px solid #fff; margin-left: -6px; opacity: .55; }
.avatars span:first-child { margin-left: 0; opacity: 1; background: var(--indigo-soft); color: var(--indigo); }
.avatars .more { background: #fff; border-color: var(--line); }
.meeting-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }


/* ================= How ================= */
/* Vertical timeline. The line runs from node 1 to node 4 (JS sets --tl-top / --tl-h);
   its blue→red gradient slowly morphs and light pulses flow down it. */
@property --tl-mid { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
.steps.timeline { --node: 40px; list-style: none; padding: 0; margin: 0 0 40px; max-width: 820px; position: relative; display: flex; flex-direction: column; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: calc(var(--node) / 2 - 1.5px); width: 3px; border-radius: 3px;
  top: var(--tl-top, 20px); height: var(--tl-h, calc(100% - 60px)); pointer-events: none; }
.timeline::before {
  background: linear-gradient(to bottom, var(--indigo) 0%, color-mix(in oklab, var(--indigo), var(--crimson)) var(--tl-mid), var(--crimson) 100%);
  box-shadow: 0 0 12px rgba(87,98,217,.25);
  animation: tl-morph 6s ease-in-out infinite alternate; }
.timeline::after {
  background: linear-gradient(to bottom, transparent 0 55%, rgba(255,255,255,.8) 78%, transparent 100%) 0 0 / 100% 160px repeat-y;
  animation: tl-flow 2.4s linear infinite; }
@keyframes tl-morph { from { --tl-mid: 28%; } to { --tl-mid: 72%; } }
@keyframes tl-flow { from { background-position: 0 0; } to { background-position: 0 160px; } }
.timeline li { position: relative; display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 28px; padding-bottom: 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-num { position: relative; z-index: 1; width: var(--node); height: var(--node); margin: 0; display: grid; place-items: center; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 0 0 6px var(--bg), 0 6px 16px rgba(21,22,43,.12); }
.timeline li:nth-child(1) .step-num { background: var(--indigo); }
.timeline li:nth-child(2) .step-num { background: color-mix(in oklab, var(--indigo) 67%, var(--crimson)); }
.timeline li:nth-child(3) .step-num { background: color-mix(in oklab, var(--indigo) 33%, var(--crimson)); }
.timeline li:nth-child(4) .step-num { background: var(--crimson); }
.step-body { padding-top: 7px; min-width: 0; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 16px; color: var(--ink-2); max-width: 62ch; }

/* ================= Features ================= */
/* Same brand glow as the hero, a little stronger. The top fades in from the white
   "How it works" section so there is no hard edge between the two. */
.features { background:
  linear-gradient(to bottom, var(--bg) 0, rgba(255,255,255,0) 280px),
  radial-gradient(900px 480px at 85% 30%, rgba(207,55,78,.13), transparent 62%),
  radial-gradient(800px 480px at 25% 80%, rgba(87,98,217,.16), transparent 62%),
  var(--bg-soft); }

/* Feature explorer: selector (left) + screenshot (right, ~2/3) */
.fx { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 28px; align-items: start; }
.fx-nav { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px 10px; box-shadow: var(--shadow); }
.fx-nav-title { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 10px; }
.fx-list { display: flex; flex-direction: column; gap: 2px; }
.fx-item { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: transparent; border: 0; border-radius: var(--radius-sm); padding: 12px 14px 12px 18px; cursor: pointer;
  transition: background-color .25s ease; }
.fx-item::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--crimson);
  transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.fx-item:hover { background: var(--bg-soft); }
.fx-item:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.fx-item[aria-selected="true"] { background: var(--bg-soft); }
.fx-item[aria-selected="true"]::before { transform: scaleY(1); }
.fx-title { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.fx-item[aria-selected="true"] .fx-title { color: var(--ink); }
/* Description expands smoothly on the active item */
.fx-desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.fx-desc > span { overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--indigo); }
.fx-item[aria-selected="true"] .fx-desc { grid-template-rows: 1fr; opacity: 1; }
.fx-item[aria-selected="true"] .fx-desc > span { padding-top: 4px; }

.fx-view { min-width: 0; }
.fx-browser { box-shadow: var(--shadow-lg); }
.fx-stage { position: relative; display: block; width: 100%; aspect-ratio: 2112 / 1158; padding: 0; border: 0; background: #fff; overflow: hidden; cursor: zoom-in; }
.fx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.fx-img[data-dir="up"] { transform: translateY(-12px) scale(.985); }
.fx-img.is-in { opacity: 1; transform: none; }
.fx-img.is-out { opacity: 0; transform: scale(1.01); transition: opacity .35s ease, transform .45s ease; }
.fx-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 20px; transition: opacity .18s ease, transform .18s ease; }
.fx-meta.is-changing { opacity: 0; transform: translateY(4px); }
.fx-cap { font-size: 16px; color: var(--ink-2); max-width: 600px; }
.fx-mobile-desc { display: none; }
.fx-demo { flex: none; font-size: 15px; white-space: nowrap; }
.callout { margin-top: 24px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--indigo); }
.callout-tag { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--indigo); background: var(--indigo-soft); padding: 4px 10px; border-radius: 999px; margin-top: 2px; }
.callout p { color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* ================= Integrations (dark) ================= */
.dark { background: var(--bg-black); color: #fff; }
.dark .section-sub { color: #B4B6CE; }
.int-grid { display: block; }
.int-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.int-card { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.int-card h3 { font-size: 17px; margin-bottom: 8px; }
.int-card p { font-size: 14.5px; color: #B4B6CE; }

.chat-mock { padding: 24px; border-radius: var(--radius); background: var(--bg-black-2); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 14px; }
.chat-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8F92C9; }
.bubble { padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; line-height: 1.55; }
.bubble.user { align-self: flex-end; max-width: 88%; background: var(--grad); border-bottom-right-radius: 4px; }
.bubble.agent { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.agent ol { margin: 8px 0 0; padding-left: 20px; }
.bubble.agent li { margin: 4px 0; }
.chat-foot { margin-top: 10px !important; font-size: 12px; color: var(--ink-3); }

.logo-row { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.logo-row li { font-size: 18px; font-weight: 600; color: #6F7299; letter-spacing: -.01em; }

/* ================= Audit ================= */
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.audit-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.audit-points li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.audit-points h3 { font-size: 16px; margin-bottom: 4px; }
.audit-points p { color: var(--ink-2); font-size: 15px; }
.frameworks { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fw { padding: 22px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.fw h3 { font-size: 16px; }
.fw p { margin-top: 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: var(--indigo); }
.fw span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }

/* ================= Outcomes ================= */
.outcomes { background: var(--bg-soft); }
.outcomes .section-title { margin-bottom: 40px; }
.outcome-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.outcome { padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.outcome::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); }
.outcome h3 { font-size: 16px; margin-bottom: 8px; }
.outcome p { font-size: 14.5px; color: var(--ink-2); }

/* ================= Who ================= */
.who .section-title { margin-bottom: 40px; }
.role-tag { font-weight: 700; font-size: 15px; color: var(--ink) !important; margin-bottom: 8px; }
.fit { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit p { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 15px; color: var(--ink-2); }
.fit strong { color: var(--ink); }

/* ================= Why ================= */
.why-bcp { background: var(--bg-soft); }
.why-bcp .section-title { margin-bottom: 20px; }
.big-text { font-size: 22px; line-height: 1.5; font-weight: 500; margin-bottom: 18px; }
.why-bcp p:not(.big-text) { color: var(--ink-2); font-size: 17px; }

/* ================= FAQ ================= */
.faq .section-title { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ================= Final CTA ================= */
.final-cta { padding-top: 40px; }
/* Final CTA: dark band, steps on the left, contact form on the right */
.final-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start;
  padding: 64px 56px; border-radius: var(--radius); color: #fff; background: var(--bg-black); }
.final-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.final-box h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.final-box .section-sub { color: #B9B9C0; max-width: 520px; margin: 14px 0 0; }
.demo-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.demo-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15.5px; color: #D6D6DC; }
.demo-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #0F0F10; font-weight: 700; font-size: 13px; }
.demo-steps p { padding-top: 3px; }
.final-demo-link { display: inline-block; margin-top: 28px; font-size: 14.5px; color: #B9B9C0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.final-demo-link:hover { color: #fff; border-color: #fff; }
.contact-form { position: relative; display: grid; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--bg-black-2); border: 1px solid rgba(255,255,255,.08); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #fff; }
.field .optional { font-weight: 400; color: #8E8E96; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: #fff; background: #0F0F10; border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E76; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-hover); box-shadow: 0 0 0 3px rgba(156,90,147,.35); }
.field input[aria-invalid="true"] { border-color: var(--crimson); }
.field-error { font-size: 13px; color: #F08A9A; }
.btn-block { width: 100%; }
.form-note { font-size: 13px; color: #8E8E96; text-align: center; }
.form-success { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 28px;
  border-radius: var(--radius); background: var(--bg-black-2); color: #D6D6DC; }
.form-success-title { font-size: 20px; font-weight: 700; color: #fff; }

/* ================= Footer ================= */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.site-footer a:not(.logo) { color: var(--ink-2); text-decoration: none; }
.site-footer a:not(.logo):hover { color: var(--ink); }
.footer-legal span { color: var(--ink-3); }

/* ================= Lightbox ================= */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,13,30,.82); display: grid; place-items: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox-body { width: min(1400px, 100%); background: #fff; border-radius: var(--radius); overflow: hidden; position: relative; }
.lightbox-body img { width: 100%; height: auto; max-height: calc(100vh - 80px); object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; cursor: pointer; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .outcome-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .int-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .header-inner { gap: 12px; justify-content: space-between; }
  .menu-toggle { display: flex; }
  .hide-sm { display: none; }
  .hero-grid, .audit-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .frameworks, .fit, .demo-steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .outcome-grid, .steps, .int-cards { grid-template-columns: 1fr; }
  .header-actions .btn-sm { padding: 9px 12px; font-size: 13px; }
  .callout { flex-direction: column; }
  .final-box { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 20px; }
  .lightbox { padding: 12px; }
}

/* ================= Outcomes ribbon (after hero) ================= */
.ribbon { background: var(--bg-black); color: #fff; position: relative; } /* near-black, no purple tint */
.ribbon::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.ribbon-list { list-style: none; margin: 0 auto; padding-block: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ribbon-item { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
.ribbon-item + .ribbon-item { border-left: 1px solid rgba(255,255,255,.12); }
.ribbon-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(156,90,147,.22); color: #E7B8DF; }
.ribbon-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ribbon-text { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
@media (max-width: 760px) {
  .ribbon-list { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 12px; }
  .ribbon-item { justify-content: flex-start; padding-block: 12px; }
  .ribbon-item + .ribbon-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .fx-item, .fx-item::before, .fx-desc, .fx-img, .fx-meta, .hero-shot .rot-img { transition: none; }
  .timeline::before, .timeline::after { animation: none; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .container { padding: 0 18px; }
}

/* Feature explorer on tablets and phones: horizontal pill strip above the screenshot */
@media (max-width: 900px) {
  .fx { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fx-nav { position: static; padding: 14px 0 6px; min-width: 0; }
  .fx-nav-title { padding: 0 16px 10px; }
  /* scroll-padding keeps the snapped pill clear of the card edge; ::after keeps a gap after the last pill */
  .fx-list { flex-direction: row; overflow-x: auto; gap: 8px; padding: 2px 16px 12px; scroll-padding-inline: 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .fx-list::after { content: ""; flex: 0 0 8px; }
  .fx-list::-webkit-scrollbar { display: none; }
  .fx-item { flex: 0 0 auto; width: auto; padding: 9px 14px; border-radius: var(--radius); border: 1px solid var(--line); scroll-snap-align: start; }
  .fx-item::before, .fx-desc { display: none; }
  .fx-item[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
  .fx-item[aria-selected="true"] .fx-title { color: #fff; }
  .fx-title { font-size: 14px; white-space: nowrap; }
  .fx-meta { flex-direction: column; gap: 10px; }
  .fx-mobile-desc { display: block; font-size: 15px; font-weight: 600; color: var(--indigo); }
}
