@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --indigo: #1c2755;
  --indigo-2: #28366f;
  --coral: #f06457;
  --coral-soft: #ffd9d2;
  --ivory: #fbf7f1;
  --white: #ffffff;
  --ink-muted: #56607f;
  --line: rgba(28, 39, 85, 0.14);
  --surface: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(28, 39, 85, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--indigo);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 5%, rgba(240, 100, 87, 0.12), transparent 23rem),
    radial-gradient(circle at 95% 32%, rgba(28, 39, 85, 0.08), transparent 26rem),
    var(--ivory);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link { flex: 0 0 auto; transition: opacity 180ms ease, transform 180ms ease; }
.brand-link img { width: 164px; height: auto; }
.brand-link:hover, .brand-link:focus-visible { opacity: .82; transform: translateY(-1px); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 650;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav > a:not(.button):hover { color: var(--coral); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.5rem;
}

.language-switch {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.language-switch a {
  min-width: 34px;
  padding: 0.28rem 0.48rem;
  text-align: center;
  border-radius: 999px;
  font-size: 0.76rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.language-switch a:not([aria-current="page"]):hover,
.language-switch a:not([aria-current="page"]):focus-visible { background: var(--coral-soft); color: var(--indigo); }

.language-switch a[aria-current="page"] {
  background: var(--indigo);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--indigo);
}

.menu-toggle svg { width: 22px; margin: auto; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--indigo); color: var(--white); }
.button-primary:hover { background: var(--indigo-2); }
.button-secondary { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.button-secondary:hover { background: var(--white); }
.button-coral { background: var(--coral); color: var(--indigo); }
.button-small { min-height: 40px; padding-inline: 0.9rem; font-size: 0.82rem; }

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.section-kicker::before {
  content: none;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "Segoe UI", Arial, sans-serif; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 810px; margin-bottom: 1.45rem; font-size: clamp(3rem, 7vw, 6.8rem); font-weight: 640; }
h2 { margin-bottom: 1.1rem; font-size: clamp(2.25rem, 4.5vw, 4.5rem); font-weight: 620; }
h3 { margin-bottom: 0.7rem; font-size: 1.28rem; font-weight: 700; }

.lead {
  max-width: 690px;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 10vw, 9.5rem) 0 5rem;
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -160px;
  top: 80px;
  border: 86px solid rgba(240, 100, 87, 0.13);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(24deg);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 { max-width: 100%; font-size: clamp(3.5rem, 5vw, 5.4rem); }
.hero-copy .lead { max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.3rem; }

.studio-preview {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-chat { overflow: hidden; }
.hero-chat-toolbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.hero-chat-agent { display: flex; min-width: 0; align-items: center; gap: .8rem; }
.hero-chat-agent img { width: 44px; height: 44px; padding: .4rem; border-radius: 14px; background: var(--ivory); }
.hero-chat-agent strong, .hero-chat-agent span { display: block; }
.hero-chat-agent strong { overflow: hidden; font-family: "Manrope"; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.hero-chat-agent span { color: var(--ink-muted); font-size: .72rem; }
.hero-chat-agent i { display: inline-block; width: 7px; height: 7px; margin-right: .25rem; border-radius: 50%; background: #2c9a69; }
.hero-chat-replay { display: inline-flex; min-height: 40px; align-items: center; gap: .4rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--indigo); font: inherit; font-size: .72rem; font-weight: 750; cursor: pointer; }
.hero-chat-replay:hover { border-color: var(--coral); background: var(--ivory); }
.hero-chat-replay svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-chat-window { padding: 1rem 1.2rem .9rem; background: linear-gradient(180deg, #fff, #fcf8f3); }
.hero-chat-context { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 .15rem .7rem; }
.hero-chat-context span { color: var(--coral); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-chat-context strong { font-family: "Manrope"; font-size: .82rem; text-align: right; }
.hero-chat-thread { display: flex; min-height: 390px; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: .9rem; border: 1px solid var(--line); border-radius: 24px; background: rgba(251,247,241,.8); }
.hero-chat-event { display: flex; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity 320ms ease-out, transform 320ms ease-out; }
.hero-chat-event.is-visible { opacity: 1; transform: none; }
.hero-chat-event-user { justify-content: flex-end; }
.hero-chat-bubble { max-width: 82%; padding: .7rem .85rem; border-radius: 16px 16px 16px 5px; background: var(--white); box-shadow: 0 8px 22px rgba(28,39,85,.06); font-size: .74rem; line-height: 1.45; }
.hero-chat-event-user .hero-chat-bubble { border-radius: 16px 16px 5px 16px; background: var(--indigo); color: var(--white); }
.hero-chat-event-typing.is-complete { display: none; }
.hero-chat-typing { display: flex; gap: 4px; padding: .7rem .8rem; border-radius: 16px 16px 16px 5px; background: var(--white); }
.hero-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: hero-chat-dot 900ms ease-in-out infinite; }
.hero-chat-typing span:nth-child(2) { animation-delay: 140ms; }
.hero-chat-typing span:nth-child(3) { animation-delay: 280ms; }
@keyframes hero-chat-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.hero-chat-action { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem .85rem; border: 1px solid rgba(240,100,87,.35); border-radius: 16px; background: var(--coral-soft); }
.hero-chat-action div span, .hero-chat-action div strong { display: block; }
.hero-chat-action div span { color: var(--ink-muted); font-size: .62rem; font-weight: 750; text-transform: uppercase; }
.hero-chat-action div strong { font-family: "Manrope"; font-size: .78rem; }
.hero-chat-action-status { padding: .35rem .5rem; border-radius: 999px; background: var(--white); color: var(--indigo); font-size: .6rem; font-weight: 800; white-space: nowrap; }
.hero-chat-disclaimer { margin: .55rem 0 0; color: var(--ink-muted); font-size: .66rem; text-align: center; }

.signal-strip {
  padding: 1rem 0 4rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.signal-item { padding: 1.35rem; text-align: center; font-family: "Manrope"; font-size: 0.94rem; font-weight: 700; }
.signal-item + .signal-item { border-left: 1px solid var(--line); }

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}
.section:not(.section-ink):not(.section-coral) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 130px);
}
.section-ink { border-top-color: rgba(255,255,255,.12); background: var(--indigo); color: var(--white); }
.section-coral { border-top-color: rgba(28,39,85,.12); background: var(--coral); color: var(--indigo); }
.section-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-ink .lead { color: rgba(255,255,255,.7); }
.section-ink .eyebrow { color: var(--coral); }

/* Talkelier section language: each chapter has its own conversational rhythm. */
.intro-converge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 1rem;
  align-items: end;
}
.intro-converge .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.intro-converge h2 { margin: 0; }
.intro-converge .lead { margin: 0; }

.discovery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 1rem;
  align-items: end;
}
.discovery-heading .section-kicker { margin-bottom: .75rem; }
.discovery-heading h2 { max-width: 720px; margin: 0; }
.discovery-heading .lead { margin: 0; }

.intro-dialogue {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1.15fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 1rem;
  align-items: end;
}
.intro-dialogue .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.intro-dialogue h2, .intro-dialogue .lead { margin: 0; }

.intro-offer {
  max-width: 900px;
}
.intro-offer .intro-copy h2 { max-width: 800px; }
.currency-preference { display: grid; max-width: 520px; grid-template-columns: auto 130px; align-items: center; gap: .45rem 1rem; margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.58); transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.currency-preference:hover, .currency-preference:focus-within { border-color: rgba(240,100,87,.55); background: rgba(255,255,255,.84); box-shadow: 0 10px 26px rgba(28,39,85,.08); }
.currency-preference label { font-family: "Manrope"; font-size: .82rem; font-weight: 750; }
.currency-select-wrap { position: relative; }
.currency-select-wrap::after { content: "⌄"; position: absolute; right: .8rem; top: 50%; pointer-events: none; transform: translateY(-56%); color: var(--coral); font-weight: 800; }
.currency-preference select { width: 100%; min-height: 44px; padding: .55rem 2rem .55rem .8rem; appearance: none; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--indigo); font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease; }
.currency-preference select:hover { border-color: var(--coral); }
.currency-preference p { grid-column: 1 / -1; margin: 0; color: var(--ink-muted); font-size: .72rem; }

.intro-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-bottom: 2rem;
}
.intro-question .section-kicker { margin-bottom: .7rem; }
.intro-question h2 { margin: 0; }
.faq-meta { max-width: 260px; margin: 0; color: var(--ink-muted); font-size: .9rem; }

.chapter-copy {
  padding: 0;
}

/* Backward-compatible variant while both language pages transition together. */
.analytics-layout > div:last-child:not(.chapter-copy) { position: relative; padding-left: 0; }
.analytics-layout > div:last-child:not(.chapter-copy)::before {
  content: none;
}
.analytics-layout > div:last-child .eyebrow::before { display: none; }

#pricing .section-heading:not(.intro-offer) {
  display: block;
  max-width: 900px;
}
#pricing .section-heading:not(.intro-offer) .eyebrow::before { display: none; }

.conversation-equation-section { background: var(--ivory) !important; }
.conversation-equation {
  display: grid;
  grid-template-columns: minmax(0, .92fr) 44px minmax(0, 1.28fr) 52px minmax(0, .92fr);
  gap: clamp(.45rem, 1vw, .9rem);
  align-items: start;
  width: 100%;
  margin-inline: 0;
  transform: none;
}
.equation-panel { min-width: 0; transition: opacity 320ms ease, transform 320ms ease; }
.equation-label { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin-bottom: .8rem; color: var(--indigo); }
.equation-label h3 { margin: 0; font-size: clamp(.9rem, 1.3vw, 1.05rem); }
.equation-label-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; color: var(--indigo); }
.equation-label-icon svg, .equation-concept-icon svg, .equation-confirmation svg, .equation-operator svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.equation-label-icon svg { width: 28px; height: 28px; }
.equation-request blockquote {
  position: relative;
  display: flex;
  height: 280px;
  min-height: 280px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  gap: .12em;
  margin: 0;
  padding: 2.25rem 1.4rem 2.75rem 3.35rem;
  border-radius: 28px;
  background: var(--indigo);
  color: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  font-weight: 650;
  line-height: 1.08;
  box-shadow: 0 22px 48px rgba(28,39,85,.14);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.equation-request blockquote::before, .equation-request blockquote::after { position: absolute; color: rgba(255,255,255,.3); font-family: Georgia, "Times New Roman", serif; font-size: 3.35rem; font-weight: 700; line-height: 1; pointer-events: none; }
.equation-request blockquote::before { content: "“"; left: .7rem; top: .55rem; }
.equation-request blockquote::after { content: "”"; right: .7rem; bottom: .2rem; }
.equation-request blockquote span { position: relative; z-index: 1; width: fit-content; border-radius: .22em; transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.equation-request blockquote span:first-child { margin-left: 0; }
.equation-request blockquote span:last-child { max-width: 100%; }
.conversation-equation[data-equation-state="intent"] [data-equation-fragment="intent"],
.conversation-equation[data-equation-state="context"] [data-equation-fragment="context"] { background: rgba(240,100,87,.22); color: #fff; box-shadow: 0 0 0 .09em rgba(240,100,87,.22); transform: none; }
.conversation-equation[data-equation-state="rules"] .equation-request blockquote { box-shadow: 0 22px 48px rgba(28,39,85,.14), inset 0 0 0 3px rgba(240,100,87,.75); }
.equation-understanding { padding-top: 0; }
.equation-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 280px; min-height: 280px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.68); box-shadow: 0 18px 42px rgba(28,39,85,.08); }
.equation-concept {
  display: grid;
  min-width: 0;
  min-height: 44px;
  align-content: center;
  justify-items: center;
  gap: .75rem;
  padding: 1.2rem .7rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--indigo);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.equation-concept:last-child { border-right: 0; }
.equation-concept:hover, .equation-concept:focus-visible { background: rgba(240,100,87,.08); }
.equation-concept.is-active { background: var(--white); box-shadow: inset 0 4px 0 var(--coral); }
.equation-concept-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--coral-soft); color: var(--coral); transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.equation-concept-icon svg { width: 30px; height: 30px; }
.equation-concept.is-active .equation-concept-icon { background: var(--indigo); color: var(--white); transform: translateY(-2px); }
.equation-concept strong { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: .45rem .8rem; border-radius: 999px; background: rgba(28,39,85,.08); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .82rem; }
.equation-concept.is-active strong { background: var(--indigo); color: var(--white); }
.equation-concept > span:last-child { max-width: 110px; color: var(--ink-muted); font-size: .76rem; line-height: 1.35; }
.equation-operator { display: grid; place-items: center; align-self: start; color: var(--ink-muted); transition: opacity 300ms ease, transform 300ms ease; }
.equation-operator-arrow { margin-top: 181px; }
.equation-operator-arrow svg { width: 32px; height: 32px; }
.equation-operator-brand { width: 54px; height: 54px; margin-top: 170px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 28px rgba(28,39,85,.12); }
.equation-operator-brand img { width: 38px; height: 38px; }
.equation-action-label { color: var(--coral); }
.equation-action-label .equation-label-icon { color: var(--coral); }
.equation-action-surface { display: grid; height: 280px; min-height: 280px; align-content: space-between; gap: 1.25rem; padding: clamp(1.45rem, 2.6vw, 2rem); border-radius: 28px; background: var(--coral); color: var(--white); box-shadow: 0 22px 48px rgba(240,100,87,.18); }
.equation-action-title { margin: 0; color: var(--white); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: clamp(1.55rem, 2.2vw, 2.35rem); font-weight: 700; line-height: 1.08; }
.equation-action-surface div > p:last-child { margin: .6rem 0 0; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.45); color: var(--white); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: clamp(1.05rem, 1.5vw, 1.5rem); font-weight: 650; }
.equation-confirmation { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: .55rem; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.12); color: var(--white); font-size: .74rem; font-weight: 750; }
.equation-confirmation svg { width: 18px; height: 18px; }
.conversation-equation.is-observed:not(.is-visible) .equation-panel { opacity: 0; transform: translateY(12px); }
.conversation-equation.is-observed:not(.is-visible) .equation-operator { opacity: 0; transform: translateX(-8px); }
.conversation-equation.is-visible .equation-request { transition-delay: 40ms; }
.conversation-equation.is-visible .equation-operator-arrow { transition-delay: 130ms; }
.conversation-equation.is-visible .equation-understanding { transition-delay: 210ms; }
.conversation-equation.is-visible .equation-operator-brand { transition-delay: 300ms; }
.conversation-equation.is-visible .equation-action { transition-delay: 390ms; }

.outcomes-layout { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.outcome-selector { min-width: 0; }
.outcome-orbit { position: relative; min-height: 590px; }
.outcome-orbit::before { content: ""; position: absolute; left: 50%; top: 50%; width: 538px; height: 538px; border: 1px dashed rgba(255,255,255,.28); border-radius: 50%; transform: translate(-50%, -50%); }
.outcome-chip { position: absolute; z-index: 2; display: inline-flex; width: 176px; min-height: 52px; max-width: 176px; align-items: center; justify-content: flex-start; gap: .55rem; padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.07); color: var(--white); font: inherit; font-size: .69rem; font-weight: 750; line-height: 1.2; text-align: left; cursor: pointer; transform: translate(-50%, -50%); transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.outcome-chip:hover, .outcome-chip:focus-visible { border-color: rgba(240,100,87,.8); background: rgba(255,255,255,.12); transform: translate(-50%, calc(-50% - 2px)); }
.outcome-chip.is-active { border-color: var(--coral); background: var(--coral); color: var(--indigo); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.outcome-chip-icon { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: rgba(255,255,255,.12); color: var(--coral); }
.outcome-chip.is-active .outcome-chip-icon { background: var(--white); color: var(--coral); }
.outcome-chip-icon svg, .outcome-spotlight-icon svg, .outcome-result svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.outcome-chip-1 { left: calc(50% - 134.5px); top: calc(50% - 233px); }
.outcome-chip-2 { left: calc(50% + 134.5px); top: calc(50% - 233px); }
.outcome-chip-3 { left: calc(50% + 269px); top: 50%; }
.outcome-chip-4 { left: calc(50% + 134.5px); top: calc(50% + 233px); }
.outcome-chip-5 { left: calc(50% - 134.5px); top: calc(50% + 233px); }
.outcome-chip-6 { left: calc(50% - 269px); top: 50%; }
.outcome-spotlight { position: absolute; left: 50%; top: 50%; z-index: 1; width: clamp(330px, 48%, 340px); overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 30px; background: var(--ivory); color: var(--indigo); box-shadow: 0 28px 58px rgba(0,0,0,.28); transform: translate(-50%, -50%); transition: opacity 180ms ease, transform 180ms ease; }
.outcome-selector.is-changing .outcome-spotlight { opacity: .58; transform: translate(-50%, -48%) scale(.985); }
.outcome-spotlight header { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.outcome-spotlight header small, .outcome-spotlight header h3 { display: block; margin: 0; }
.outcome-spotlight header small { color: var(--ink-muted); font-size: .62rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.outcome-spotlight header h3 { margin-top: .12rem; color: var(--coral); font-size: 1.4rem; }
.outcome-spotlight-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--coral-soft); color: var(--coral); }
.outcome-spotlight-icon svg { width: 24px; height: 24px; }
.outcome-dialogue { display: grid; gap: .8rem; padding: 1rem 1.1rem; }
.outcome-message { display: grid; gap: .2rem; max-width: 88%; }
.outcome-message span { color: var(--ink-muted); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.outcome-message p { margin: 0; padding: .7rem .8rem; border-radius: 14px; font-size: .73rem; line-height: 1.45; }
.outcome-message-customer { justify-self: end; }
.outcome-message-customer span { text-align: right; }
.outcome-message-customer p { border-bottom-right-radius: 4px; background: var(--indigo); color: var(--white); }
.outcome-message-assistant p { border-bottom-left-radius: 4px; background: var(--coral-soft); }
.outcome-result { display: flex; align-items: center; gap: .65rem; margin: 0 1.1rem 1.1rem; padding: .75rem .8rem; border: 1px solid rgba(240,100,87,.45); border-radius: 15px; background: var(--white); }
.outcome-result > span { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: var(--white); }
.outcome-result small, .outcome-result strong { display: block; }
.outcome-result small { color: var(--ink-muted); font-size: .58rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.outcome-result strong { margin-top: .1rem; color: var(--indigo); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .82rem; }
.outcome-selector-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; width: min(100%, 520px); margin: .7rem auto 0; }
.outcome-selector-controls button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-size: .72rem; font-weight: 750; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.outcome-selector-controls button:hover, .outcome-selector-controls button:focus-visible { border-color: var(--coral); transform: translateY(-2px); }
.outcome-selector-controls .outcome-next { border-color: var(--coral); background: var(--coral); color: var(--indigo); }
.outcome-progress { display: flex; justify-content: center; gap: .35rem; }
.outcome-progress i { width: 24px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); transition: width 220ms ease, background-color 220ms ease; }
.outcome-progress i.is-active { width: 38px; background: var(--coral); }

.knowledge-bootstrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.bootstrap-flow { position: relative; display: grid; grid-template-columns: minmax(250px, .92fr) minmax(310px, 1.05fr) minmax(290px, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: center; min-height: 500px; }
.knowledge-flow-lines { position: absolute; z-index: 0; inset: 3.5rem 0 0; width: 100%; height: calc(100% - 3.5rem); overflow: visible; pointer-events: none; }
.flow-path { fill: none; stroke: rgba(240,100,87,.62); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 8 10; animation: knowledge-flow 7s linear infinite; }
.flow-path.is-soft { stroke: rgba(240,100,87,.28); stroke-width: 1.2; animation-duration: 10s; animation-direction: reverse; }
.flow-fragment { fill: var(--white); stroke: rgba(240,100,87,.45); stroke-width: 1.2; filter: drop-shadow(0 5px 8px rgba(28,39,85,.09)); }
.flow-fragment-line { stroke: rgba(28,39,85,.28); stroke-width: 1.1; stroke-linecap: round; }
@keyframes knowledge-flow { to { stroke-dashoffset: -72; } }
.source-discovery, .configuration-draft, .synthesis-engine { position: relative; z-index: 1; min-width: 0; border: 1px solid transparent; border-radius: 28px; }
.source-discovery, .configuration-draft { padding: .65rem; }
.knowledge-zone-heading { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; margin-bottom: .75rem; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.86); color: var(--indigo); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.knowledge-zone-heading svg { width: 18px; height: 18px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.source-address { display: flex; min-height: 58px; align-items: center; gap: .65rem; margin-bottom: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 12px 26px rgba(28,39,85,.09); color: var(--indigo); font-size: .82rem; font-weight: 750; }
.source-address .status-dot { width: 10px; height: 10px; border-radius: 50%; background: #4fbd86; box-shadow: 0 0 0 5px rgba(79,189,134,.1); }
.source-address svg { width: 20px; height: 20px; fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.source-map { display: grid; gap: .65rem; }
.source-map > div { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: .15rem .7rem; align-items: center; min-height: 94px; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 12px 26px rgba(28,39,85,.08); }
.source-icon { display: grid; grid-row: 1 / 3; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(100,147,225,.13); color: var(--indigo); }
.source-map > div:nth-child(2) .source-icon { background: rgba(79,189,134,.13); color: #2c815b; }
.source-map > div:nth-child(3) .source-icon { background: rgba(139,92,246,.11); color: #7455b8; }
.source-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.source-map strong { align-self: end; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .82rem; }
.source-map small { align-self: start; color: var(--ink-muted); font-size: .65rem; line-height: 1.35; }
.source-map b { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--coral); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 1.25rem; }
.source-preview { display: flex; grid-column: 2 / 4; gap: .3rem; margin-top: .35rem; }
.source-preview i { display: block; height: 6px; border-radius: 999px; background: rgba(28,39,85,.09); }
.source-preview i:first-child { width: 48%; }
.source-preview i:nth-child(2) { width: 26%; }
.source-preview i:last-child { width: 14%; }
.synthesis-engine { display: grid; align-content: start; min-height: 470px; padding: .65rem; text-align: center; }
.synthesis-engine .knowledge-zone-heading { margin-inline: clamp(1rem, 3vw, 3rem); text-transform: none; }
.synthesis-orbit { position: relative; width: min(100%, 390px); aspect-ratio: 1; margin: .2rem auto 0; }
.synthesis-ring { position: absolute; border: 1px solid rgba(240,100,87,.16); border-radius: 50%; inset: 14.6%; }
.synthesis-ring:nth-child(2) { inset: 25%; border-style: dashed; animation: orbit-ring 24s linear infinite; }
.synthesis-ring:nth-child(3) { inset: 34%; border-color: rgba(28,39,85,.1); }
@keyframes orbit-ring { to { transform: rotate(360deg); } }
.synthesis-mark { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 34px; background: var(--indigo); box-shadow: 0 20px 42px rgba(28,39,85,.25); transform: translate(-50%, -50%); }
.synthesis-mark img { width: 68px; height: 68px; }
.orbit-cycle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-cycle path { fill: none; stroke: rgba(240,100,87,.82); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.orbit-cycle marker path { fill: var(--coral); stroke: none; }
.orbit-step { position: absolute; display: grid; place-items: center; width: 100px; min-height: 100px; gap: .25rem; padding: .55rem; border: 1px solid rgba(240,100,87,.55); border-radius: 50%; background: rgba(255,255,255,.98); box-shadow: 0 12px 26px rgba(28,39,85,.08); color: var(--indigo); font-size: .7rem; font-weight: 750; }
.orbit-step svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orbit-discover { left: 50%; top: 14.6%; transform: translate(-50%, -50%); }
.orbit-synthesize { left: 80.8%; top: 67.7%; transform: translate(-50%, -50%); }
.orbit-organize { left: 19.2%; top: 67.7%; transform: translate(-50%, -50%); }
.draft-heading { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .75rem; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.86); }
.draft-heading strong { font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.editable-badge { padding: .35rem .65rem; border-radius: 999px; background: rgba(79,189,134,.14); color: #2c815b; font-size: .65rem; font-weight: 800; }
.draft-surface { padding: .95rem; border: 1px solid var(--coral); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 18px 40px rgba(28,39,85,.1); }
.configuration-draft ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.configuration-draft li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: .1rem .7rem; align-items: center; min-height: 78px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.draft-icon { display: grid; grid-row: 1 / 3; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(100,147,225,.12); color: var(--indigo); }
.configuration-draft li:nth-child(2) .draft-icon { background: rgba(79,189,134,.13); color: #2c815b; }
.configuration-draft li:nth-child(3) .draft-icon { background: rgba(139,92,246,.1); color: #7455b8; }
.draft-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.draft-check svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.configuration-draft li > span:not(.draft-icon):not(.draft-check):not(.review-chip), .configuration-draft li strong { display: block; min-width: 0; }
.configuration-draft li > span:not(.draft-icon):not(.draft-check):not(.review-chip) { align-self: end; color: var(--ink-muted); font-size: .64rem; }
.configuration-draft li strong { align-self: start; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .76rem; }
.draft-check { display: grid; grid-column: 3; grid-row: 1 / 3; place-items: center; color: #2c815b; }
.configuration-draft li.draft-control { grid-template-columns: 46px minmax(0, 1fr) auto; border-color: rgba(240,100,87,.38); background: rgba(240,100,87,.1); }
.configuration-draft li.draft-control .draft-icon { background: rgba(240,100,87,.13); color: var(--coral); }
.review-chip { grid-column: 3; grid-row: 1 / 3; min-width: 122px; justify-self: end; padding: .7rem .8rem; border-radius: 11px; background: var(--coral); box-shadow: 0 8px 18px rgba(240,100,87,.2); color: var(--white); font-size: .7rem; font-weight: 800; text-align: center; }
.knowledge-interaction-note { display: grid; grid-template-columns: 42px minmax(0, 1fr); width: min(100%, 390px); min-height: 64px; align-items: center; gap: .75rem; margin: .85rem .65rem 0 auto; padding: .7rem .9rem; border: 1px solid rgba(240,100,87,.22); border-radius: 15px; background: rgba(255,255,255,.82); color: var(--ink-muted); font-size: .75rem; line-height: 1.45; }
.knowledge-note-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(240,100,87,.09); color: var(--coral); }
.knowledge-note-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bootstrap-foot { display: grid; grid-template-columns: auto minmax(220px, .9fr) 1px minmax(300px, 1.15fr) auto; gap: 1.25rem; align-items: center; margin: 1.75rem auto 0; padding: 1.1rem 1.25rem; border: 1px solid rgba(240,100,87,.42); border-radius: 18px; background: linear-gradient(90deg, rgba(240,100,87,.12), rgba(255,255,255,.72)); }
.confirmation-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--coral); box-shadow: 0 8px 20px rgba(240,100,87,.16); }
.confirmation-icon svg, .confirmation-lock svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bootstrap-foot strong { font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: clamp(.95rem, 1.5vw, 1.2rem); }
.confirmation-divider { width: 1px; height: 48px; background: rgba(28,39,85,.2); }
.bootstrap-foot span:not(.confirmation-icon):not(.confirmation-lock) { color: var(--ink-muted); font-size: .82rem; font-weight: 520; line-height: 1.55; }
.confirmation-lock { display: grid; place-items: center; color: var(--coral); }

.personalization-showcase { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.personalization-copy h2 { max-width: 510px; }
.personalization-copy .lead { color: rgba(255,255,255,.72); }
.personalization-note { display: grid; gap: .35rem; margin: 2rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--coral); }
.personalization-note strong { color: var(--white); font-family: "Manrope", "Segoe UI", Arial, sans-serif; }
.personalization-note span { color: rgba(255,255,255,.55); font-size: .85rem; }
.personalizer-studio { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-xl); background: #f8f5f1; color: var(--indigo); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.personalizer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.personalizer-toolbar > span { display: flex; align-items: center; gap: .5rem; color: var(--ink-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.personalizer-toolbar > span i { width: 8px; height: 8px; border-radius: 50%; background: #4fbd86; box-shadow: 0 0 0 4px rgba(79,189,134,.14); }
.palette-preview { display: flex; gap: .35rem; }
.palette-preview i { width: 18px; height: 18px; border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: var(--indigo); }
.palette-preview i:nth-child(2) { margin-left: -7px; background: var(--coral); }
.palette-preview i:nth-child(3) { margin-left: -7px; background: var(--ivory); }
.personalizer-body { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(260px, 1.1fr); gap: 1rem; padding: 1rem; }
.brand-chat-preview { display: flex; flex-direction: column; min-height: 430px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color 220ms ease, box-shadow 220ms ease; }
.brand-chat-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.brand-chat-head strong, .brand-chat-head small { display: block; }
.brand-chat-head small { margin-top: .15rem; color: var(--ink-muted); font-size: .67rem; }
.preview-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--coral); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-weight: 800; }
.preview-message { max-width: 88%; margin-top: 1rem; padding: .75rem .85rem; border-radius: 15px; font-size: .76rem; line-height: 1.5; }
.preview-message.customer { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--indigo); color: var(--white); }
.preview-message.assistant { border-bottom-left-radius: 4px; background: var(--coral-soft); }
.preview-composer { display: flex; justify-content: space-between; margin-top: auto; padding: .72rem .8rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-muted); font-size: .7rem; }
.preview-composer span { color: var(--coral); font-size: 1rem; line-height: .7; }
.personalizer-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; align-content: stretch; }
.personalizer-controls article { display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); cursor: pointer; transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; }
.personalizer-controls article:hover, .personalizer-controls article:focus-visible, .personalizer-controls article.is-active { border-color: rgba(240,100,87,.72); background: #fff8f5; box-shadow: 0 10px 24px rgba(28,39,85,.1); transform: translateY(-2px); }
.personalizer-controls article.is-active .control-icon { background: var(--coral); color: var(--white); }
.control-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--coral-soft); color: var(--coral); }
.control-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.personalizer-controls article > div { min-width: 0; }
.personalizer-controls article > div span, .personalizer-controls article > div strong { display: block; }
.personalizer-controls article div > span { color: var(--ink-muted); font-size: .65rem; }
.personalizer-controls article strong { margin-top: .15rem; overflow-wrap: anywhere; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .78rem; }
.personalizer-detail { grid-column: 1 / -1; min-height: 3.1rem; margin: 0; padding: .75rem .85rem; border: 1px solid rgba(240,100,87,.35); border-radius: 14px; background: var(--coral-soft); color: var(--indigo); font-size: .72rem; font-weight: 650; line-height: 1.45; }
[data-personalizer-target] { transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 220ms ease; }
[data-personalizer-target].is-layer-active { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(240,100,87,.2); }
.brand-chat-head.is-layer-active, .preview-message.is-layer-active, .preview-composer.is-layer-active { transform: translateY(-2px); }

.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.template-card { position: relative; min-height: 230px; padding: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.template-card::before { content: ""; position: absolute; width: 110px; height: 110px; right: -46px; top: -46px; border: 22px solid var(--coral-soft); border-left-color: transparent; border-radius: 50%; }
.template-card p { color: var(--ink-muted); font-size: 0.9rem; }
.status-tag { display: inline-flex; margin-top: 1rem; padding: 0.35rem 0.65rem; border-radius: 999px; background: var(--ivory); color: var(--ink-muted); font-size: 0.72rem; font-weight: 700; }

.analytics-layout, .agency-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.metric-panel { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.metric-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.metric-top span { color: var(--ink-muted); font-size: 0.75rem; }
.metric-value { font-family: "Manrope"; font-size: 2.5rem; font-weight: 700; }
.metric-value small { color: var(--coral); font-size: 0.9rem; }
.chart { height: 190px; display: flex; align-items: flex-end; gap: 0.7rem; padding: 1rem 0.6rem 0; border-bottom: 1px solid var(--line); }
.chart span { position: relative; flex: 1; min-height: 16px; border-radius: 8px 8px 0 0; background: var(--indigo); opacity: 0.22; cursor: pointer; transform-origin: bottom; transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease; }
.chart span:nth-child(2), .chart span:nth-child(5), .chart span:nth-child(7) { background: var(--coral); opacity: 1; }
.chart span::after { content: attr(data-chart-value); position: absolute; left: 50%; bottom: calc(100% + .55rem); z-index: 2; padding: .38rem .52rem; border-radius: 8px; background: var(--indigo); color: var(--white); font-size: .62rem; font-weight: 750; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 5px); transition: opacity 160ms ease, transform 160ms ease; }
.chart span:first-child::after { left: 0; transform: translate(0, 5px); }
.chart span:last-child::after { right: 0; left: auto; transform: translate(0, 5px); }
.chart span:hover, .chart span:focus-visible, .chart span.is-active { opacity: 1; filter: saturate(1.15); transform: scaleY(1.045); }
.chart span:hover::after, .chart span:focus-visible::after, .chart span.is-active::after { opacity: 1; transform: translate(-50%, 0); }
.chart span:first-child:hover::after, .chart span:first-child:focus-visible::after, .chart span:first-child.is-active::after, .chart span:last-child:hover::after, .chart span:last-child:focus-visible::after, .chart span:last-child.is-active::after { transform: translate(0, 0); }
.metric-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; padding-top: 1rem; }
.metric-foot span { color: var(--ink-muted); font-size: 0.7rem; }
.metric-foot strong { display: block; color: var(--indigo); font-family: "Manrope"; font-size: 1.05rem; }

.bullet-list { display: grid; gap: 0.9rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.bullet-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--ink-muted); }
.section-ink .bullet-list li { color: rgba(255,255,255,.75); }
.bullet-list li::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; margin-top: 0.52rem; border-radius: 50%; background: var(--coral); }

.agency-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.agency-header .section-kicker { color: var(--indigo); }
.agency-header h2 { max-width: 700px; margin-bottom: 0; }
.agency-intro .lead { color: var(--indigo); }
.agency-intro .button { margin-top: .75rem; }

.integration-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.integration-board { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-xl); background: var(--white); color: var(--indigo); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.integration-board-head { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.integration-board-head img { width: 40px; height: 40px; }
.integration-board-head span, .integration-board-head strong { display: block; }
.integration-board-head div > span { color: var(--ink-muted); font-size: .68rem; }
.integration-board-head strong { margin-top: .12rem; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .9rem; }
.ready-pill { padding: .38rem .6rem; border-radius: 999px; background: var(--coral-soft); color: var(--indigo); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.integration-steps { display: grid; margin: 0; padding: 1rem 1.1rem; list-style: none; }
.integration-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .85rem; margin-inline: -.85rem; border-radius: 14px; transition: transform 190ms ease, background-color 190ms ease; }
.integration-steps li + li { border-top: 1px solid var(--line); }
.integration-step-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink-muted); font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .72rem; font-weight: 800; }
.integration-steps li.active .integration-step-icon { border-color: var(--coral); background: var(--coral); color: var(--indigo); }
.integration-steps strong { font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: .88rem; }
.integration-steps p { margin: .2rem 0 0; color: var(--ink-muted); font-size: .72rem; }
.integration-steps small { color: #2c815b; font-size: .65rem; font-weight: 800; }
.integration-benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #f8f5f1; }
.integration-benefits span { padding: .9rem .7rem; color: var(--ink-muted); font-size: .66rem; text-align: center; }
.integration-benefits span + span { border-left: 1px solid var(--line); }

.pricing-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.2rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: clamp(1.7rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.price-card.featured { background: var(--indigo); color: var(--white); }
.price-card .plan-name { color: var(--coral); font-family: "Manrope"; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.price-card .price { margin: 1rem 0 0.4rem; font-family: "Manrope"; font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 700; line-height: 1; }
.price-card .price small { display: block; margin-top: 0.55rem; font-family: "Inter"; font-size: 0.8rem; font-weight: 650; letter-spacing: 0; }
.price-card .price-note { color: var(--ink-muted); font-size: 0.82rem; }
.price-card.featured .price-note { color: rgba(255,255,255,.65); }
.price-card.featured .bullet-list li { color: rgba(255,255,255,.76); }
.price-card .bullet-list { flex: 1; margin-bottom: 2rem; }
.billing-periods { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }
.billing-periods span { padding: 0.38rem 0.65rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 0.72rem; }

.market-note { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; margin-top: 1.2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.55); }
.market-note img { width: 58px; }
.market-note p { margin: 0; color: var(--ink-muted); font-size: 0.9rem; }

.faq-list { width: 100%; max-width: none; margin-inline: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem .45rem; cursor: pointer; font-family: "Manrope"; font-size: 1.08rem; font-weight: 700; list-style: none; transition: color 180ms ease, background-color 180ms ease; }
.faq-list summary:hover, .faq-list summary:focus-visible { background: rgba(255,255,255,.55); color: var(--coral); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--coral); font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 0 1.5rem; color: var(--ink-muted); }

.closing { position: relative; overflow: hidden; text-align: center; }
.closing::before, .closing::after { content: ""; position: absolute; width: 320px; height: 320px; border: 64px solid rgba(28,39,85,.08); border-left-color: transparent; border-radius: 50%; }
.closing::before { left: -180px; bottom: -150px; }
.closing::after { right: -180px; top: -150px; transform: rotate(180deg); }
.closing .container { position: relative; z-index: 1; }
.closing h2 { max-width: 850px; margin-inline: auto; }
.closing p { max-width: 620px; margin: 0 auto 2rem; }
.closing .eyebrow { padding: .5rem .85rem; border: 1px solid rgba(28,39,85,.22); border-radius: 999px 999px 999px 6px; }
.closing .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; }

.site-footer { padding: 4rem 0 2rem; background: var(--indigo); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 3rem; }
.footer-brand img { width: 170px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 330px; color: rgba(255,255,255,.6); font-size: 0.86rem; }
.footer-column strong { display: block; margin-bottom: 1rem; color: var(--coral); font-family: "Manrope"; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin-bottom: 0.6rem; color: rgba(255,255,255,.72); text-decoration: none; font-size: 0.86rem; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 0.76rem; }

.status-dialog { width: min(calc(100% - 32px), 520px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--ivory); color: var(--indigo); box-shadow: 0 30px 100px rgba(9,14,40,.34); }
.status-dialog::backdrop { background: rgba(10,15,43,.62); backdrop-filter: blur(4px); }
.dialog-inner { position: relative; padding: 2.4rem; }
.dialog-inner img { width: 58px; margin-bottom: 1.5rem; }
.dialog-inner p { color: var(--ink-muted); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--indigo); font-size: 1.25rem; cursor: pointer; }

.chatbot-mount[hidden] { display: none; }

.legal-main { min-height: 70vh; padding: 6rem 0; }
.legal-card { max-width: 820px; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.legal-card .notice { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--coral); background: var(--ivory); color: var(--ink-muted); }
.legal-card h2 { margin-top: 2.4rem; font-size: 1.5rem; }

.language-gateway { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.gateway-card { width: min(100%, 520px); padding: 3rem; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow); }
.gateway-card img { width: 228px; margin: 0 auto 2.5rem; }
.gateway-card h1 { margin-bottom: 0.4rem; font-size: 2.4rem; }
.gateway-card p { color: var(--ink-muted); }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

@media (hover: hover) {
  .integration-steps li:hover { background: var(--coral-soft); transform: translateX(4px); }
  .price-card:hover, .price-card:focus-within { border-color: rgba(240,100,87,.58); box-shadow: 0 22px 48px rgba(28,39,85,.13); transform: translateY(-4px); }
  .price-card.featured:hover, .price-card.featured:focus-within { box-shadow: 0 24px 54px rgba(28,39,85,.28); }
}

@media (max-width: 1040px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ivory);
    box-shadow: var(--shadow);
  }
  .main-nav[data-open] { display: flex; }
  .main-nav > a:not(.button) { padding: 0.75rem; }
  .header-actions { margin: 0.75rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .studio-preview { width: min(100%, 650px); margin-inline: auto; }
  .conversation-equation { grid-template-columns: 1fr; gap: 1rem; width: min(100%, 760px); margin-inline: auto; transform: none; }
  .equation-request blockquote, .equation-concepts, .equation-action-surface { height: 260px; min-height: 260px; }
  .equation-operator { min-height: 42px; margin-top: 0; }
  .equation-operator-arrow svg { transform: rotate(90deg); }
  .equation-operator-brand { justify-self: center; }
  .bootstrap-flow { grid-template-columns: 1fr; gap: 1.25rem; width: min(100%, 760px); margin-inline: auto; }
  .knowledge-flow-lines { display: none; }
  .synthesis-engine { min-height: 430px; }
  .synthesis-orbit { width: min(100%, 410px); }
  .knowledge-interaction-note { margin-inline: auto; }
  .outcomes-layout { grid-template-columns: 1fr; }
  .outcome-orbit { width: min(100%, 800px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2; }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .outcomes-layout { grid-template-columns: 1fr; }
  .outcome-orbit { width: min(100%, 760px); margin-inline: auto; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-link img { width: 145px; }
  .header-inner { min-height: 68px; }
  .main-nav { left: 14px; right: 14px; top: 62px; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  .hero-copy h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.3rem); }
  .studio-preview { min-height: auto; border-radius: 28px; }
  .hero-chat-thread { min-height: 380px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .signal-item:nth-child(4) { border-top: 1px solid var(--line); }
  .template-grid, .analytics-layout, .agency-layout, .personalization-showcase, .integration-layout, .pricing-grid { grid-template-columns: 1fr; }
  .intro-converge, .discovery-heading, .intro-dialogue, .intro-offer, .intro-question, #pricing .section-heading:not(.intro-offer), .agency-header { grid-template-columns: 1fr; }
  .intro-converge .section-kicker { margin-bottom: 0; }
  .intro-converge .lead { padding-left: 0; }
  .intro-dialogue .section-kicker, .intro-question .section-kicker { margin-bottom: 0; }
  .personalizer-studio { width: min(100%, 760px); margin-inline: auto; }
  .personalizer-body { grid-template-columns: 1fr; }
  .brand-chat-preview { min-height: 350px; }
  .bootstrap-foot { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bootstrap-foot span:not(.confirmation-icon):not(.confirmation-lock) { grid-column: 1 / -1; padding-top: .9rem; border-top: 1px solid rgba(28,39,85,.14); }
  .confirmation-divider { display: none; }
  .confirmation-lock { grid-column: 3; grid-row: 1; justify-self: end; }
  .outcome-orbit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; min-height: 0; }
  .outcome-orbit::before { display: none; }
  .outcome-chip { position: static; width: 100%; max-width: none; transform: none; }
  .outcome-chip:hover, .outcome-chip:focus-visible { transform: translateY(-2px); }
  .outcome-spotlight { position: relative; left: auto; top: auto; grid-column: 1 / -1; grid-row: 1; width: 100%; transform: none; }
  .outcome-selector.is-changing .outcome-spotlight { transform: translateY(4px) scale(.99); }
  .market-note { grid-template-columns: auto 1fr; }
  .market-note .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .header-actions { flex-wrap: wrap; }
  .header-actions .button { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-chat-toolbar { padding: .85rem; }
  .hero-chat-window { padding: .85rem; }
  .hero-chat-context { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .hero-chat-context strong { text-align: left; }
  .hero-chat-thread { min-height: 410px; padding: .7rem; }
  .hero-chat-replay span { display: none; }
  .hero-chat-bubble { max-width: 90%; }
  .hero-chat-action { align-items: flex-start; flex-direction: column; }
  .currency-preference { grid-template-columns: 1fr; }
  .currency-preference p { grid-column: 1; }
  .source-discovery, .configuration-draft, .synthesis-engine { padding: .35rem; }
  .source-map > div { grid-template-columns: 46px minmax(0, 1fr) auto; padding-inline: .7rem; }
  .synthesis-engine { min-height: 340px; }
  .orbit-step { width: 78px; min-height: 78px; font-size: .62rem; }
  .orbit-step svg { width: 24px; height: 24px; }
  .synthesis-mark { width: 88px; height: 88px; border-radius: 27px; }
  .synthesis-mark img { width: 54px; height: 54px; }
  .draft-heading { align-items: flex-start; border-radius: 18px; }
  .configuration-draft li.draft-control { grid-template-columns: 46px minmax(0, 1fr); }
  .review-chip { grid-column: 1 / -1; grid-row: auto; width: 100%; margin-top: .35rem; }
  .bootstrap-foot { grid-template-columns: 1fr auto; padding: 1rem; }
  .confirmation-icon { display: none; }
  .confirmation-lock { grid-column: 2; }
  .personalizer-controls { grid-template-columns: 1fr; }
  .equation-request blockquote { min-height: 250px; }
  .equation-concepts { grid-template-columns: 1fr; min-height: 0; }
  .equation-concept { grid-template-columns: 46px minmax(0, .7fr) minmax(0, 1fr); justify-items: start; min-height: 86px; padding: .8rem; text-align: left; }
  .equation-concept + .equation-concept { border-top: 1px solid var(--line); }
  .equation-concept { border-right: 0; }
  .equation-concept-icon { width: 46px; height: 46px; border-radius: 15px; }
  .equation-concept-icon svg { width: 25px; height: 25px; }
  .equation-concept strong { justify-content: flex-start; }
  .equation-concept > span:last-child { max-width: none; }
  .equation-action-surface { min-height: 260px; }
  .integration-board-head { grid-template-columns: auto 1fr; }
  .ready-pill { grid-column: 1 / -1; justify-self: start; }
  .integration-steps li { grid-template-columns: auto minmax(0, 1fr); }
  .integration-steps small { grid-column: 2; }
  .integration-benefits { grid-template-columns: 1fr; }
  .integration-benefits span + span { border-left: 0; border-top: 1px solid var(--line); }
  .studio-sidebar { display: none; }
  .metric-foot { grid-template-columns: 1fr; }
  .outcome-orbit { grid-template-columns: 1fr; }
  .outcome-selector-controls { grid-template-columns: 1fr 1fr; }
  .outcome-progress { grid-column: 1 / -1; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-column:last-child { grid-column: auto; }
  .gateway-card { padding: 2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-chat:not([data-motion-opt-in]) .hero-chat-event:not(.hero-chat-event-typing) { opacity: 1; transform: none; }
  .hero-chat:not([data-motion-opt-in]) .hero-chat-event-typing { display: none; }
  .hero-chat[data-motion-opt-in] .hero-chat-event { transition-duration: 320ms !important; }
  .hero-chat[data-motion-opt-in] .hero-chat-typing span { animation-duration: 900ms !important; animation-iteration-count: infinite !important; }
  .conversation-equation.is-observed .equation-panel, .conversation-equation.is-observed .equation-operator { opacity: 1; transform: none; }
}
