:root {
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --ink: #15171a;
  --ink-2: #4a4e55;
  --line: #dcd9cf;
  --accent: #0f5c4c;
  --accent-ink: #ffffff;
  --dark: #15171a;
  --dark-2: #a9adb3;
  --radius: 10px;
  --wrap: 1080px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; max-width: 17ch; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 15px 22px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.btn:hover { background: #0b4a3d; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-small { padding: 9px 14px; font-size: 0.9rem; }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.link-arrow { font-weight: 600; text-decoration: none; padding: 12px 4px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

.micro { font-size: 0.85rem; color: var(--ink-2); margin: 10px 0 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; margin: 0; padding: 8px 0; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
/* On phones only the Pricing link shows: brokers look for the price first. */
.nav a:not(.nav-pricing) { display: none; }
.header-inner .btn-small { margin-left: 4px; }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-demo { margin-top: 40px; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 24px 0 0; }
.hero-facts {
  list-style: none;
  padding: 18px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.hero-facts strong { color: var(--ink); }
.hero-facts .fact-wide { grid-column: 1 / -1; }
.solo-link { margin: 16px 0 0; font-size: 0.95rem; color: var(--ink-2); }
.solo-link a { color: var(--ink); font-weight: 600; }

/* Proof strip */
.proof { border-top: 1px solid var(--line); background: var(--paper-2); padding: 18px 0; }
.proof-inner { display: flex; align-items: center; gap: 14px; }
.proof-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.proof p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.proof strong { color: var(--ink); }
.proof a { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }
.two-col { display: grid; gap: 32px; }
.section-lede { color: var(--ink-2); max-width: 38em; }
.problem p:not(.eyebrow):not(.stat-number):not(.stat-text) { color: var(--ink-2); max-width: 34em; }
.problem .problem-fix { color: var(--ink) !important; font-weight: 500; }

.stat {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
}
.stat-number { font-size: clamp(3.5rem, 14vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; }
.stat-text { font-size: 1.1rem; margin-bottom: 18px; }
.stat figcaption { font-size: 0.85rem; color: var(--dark-2); }

/* Assistant avatars: one colour per role, used in the showcase, vignettes and role gallery. */
.avatar {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.av-1 { background: var(--accent); }
.av-2 { background: #8a4f5c; }
.av-3 { background: #94600f; }
.av-4 { background: #44658c; }
.av-5 { background: #267a5f; }
.av-6 { background: var(--ink); }

/* Feature moments, each with a small animated vignette */
.moments { display: grid; gap: 40px; margin-top: 36px; }
.moment { display: grid; gap: 18px; align-items: center; }
.moment-text h3 { font-size: 1.2rem; }
.moment-text p { color: var(--ink-2); margin: 0; max-width: 30em; }
.vignette {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.vignette .msg { max-width: 92%; }
.vignette .typing { margin-top: 0; visibility: visible; opacity: 0; }
.v-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.v-chip { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.v-ok { color: var(--accent); background: #e8efe9; border-color: #c9dcd3; }
.v-ok::before, .v-status::before { content: "\2713\00a0"; }
.v-title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 0.92rem; font-weight: 600; }
.v-title .avatar { width: 28px; height: 28px; font-size: 0.62rem; }
.v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.v-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.v-done::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.v-list .v-wait { color: var(--ink); font-weight: 600; }
.v-wait::before { content: ""; position: absolute; left: 5px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #c98a1b; }
.v-memory { padding: 12px 14px; border: 1px dashed #b9d3c9; border-radius: 12px; background: #f3f7f4; font-size: 0.93rem; }
.v-memory-head { margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.v-memory ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.v-memory li + li { margin-top: 2px; }
.v-new { color: var(--ink); font-weight: 600; }
.v-new span { margin-left: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 4px; vertical-align: 1px; }
.v-status { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* Vignette animation: the steps rise in once, when showcase.js adds .is-on on first view.
   Without JavaScript, or with reduced motion, every step simply shows. */
.js .vignette .v-step { opacity: 0; }
.js .vignette.is-on .v-step { animation: rise 0.45s ease var(--delay, 0s) both; }
.js .vignette.is-on .v-blip { animation: blip 1s ease var(--delay, 0s) both; }
.js .vignette.is-on .v-press { animation: press 0.5s ease var(--delay, 0s) both; }
.js .vignette.is-on .v-wait::before { animation: pulse 1.4s ease-out 3.3s 3; }
@keyframes blip { 0%, 100% { opacity: 0; } 15%, 85% { opacity: 1; } }
@keyframes press { 40% { transform: scale(0.9); box-shadow: 0 0 0 5px rgba(15, 92, 76, 0.25); } 100% { transform: none; box-shadow: 0 0 0 5px rgba(15, 92, 76, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 138, 27, 0.55); } 100% { box-shadow: 0 0 0 8px rgba(201, 138, 27, 0); } }

/* Role gallery */
.roles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.role {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.role .avatar { grid-row: span 3; width: 40px; height: 40px; font-size: 0.78rem; }
.role h3 { margin: 8px 0 4px; }
.role p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.role .role-meta { margin-top: 10px; font-size: 0.82rem; }
.role-owner { margin-top: 12px; padding: 18px 22px; border: 1px solid #c9dcd3; border-radius: var(--radius); background: #e8efe9; }
.role-owner p { margin: 0; color: var(--ink-2); }
.role-owner strong { color: var(--ink); }

/* CRM adoption */
.adoption { display: grid; gap: 12px; margin-top: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.adoption p { margin: 0; color: var(--ink-2); }
.adoption strong { color: var(--ink); }

/* Jobs it keeps doing */
.jobs-title { font-size: 1.3rem; margin-top: 48px; }
.scenarios { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.scenarios li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.scenarios p { margin: 0; }
.scenarios span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.scenarios .say { font-weight: 600; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.scenarios .does { color: var(--ink-2); }
.scenarios .does span { color: var(--accent); }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 0.95rem;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 40px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.step-when { display: block; font-size: 0.8rem; font-weight: 600; color: var(--accent); margin: 6px 0 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--ink-2); margin: 0; }
.how-note { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 44em; color: var(--ink-2); }
.how-note strong { color: var(--ink); }

/* Pricing */
.discovery {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  max-width: 860px;
  padding: 26px 24px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}
.discovery h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.discovery p { margin: 0; color: var(--ink-2); }
.discovery .price { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.discovery .price .per { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.discovery .plan-tag { display: inline-block; margin-bottom: 12px; }
.discovery-credit { font-size: 0.95rem; margin-bottom: 16px !important; }
.plans-title { font-size: 1.3rem; margin: 48px 0 4px; }
.plans-intro { color: var(--ink-2); margin: 0; }
.plans { display: grid; gap: 16px; margin-top: 20px; }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan h4 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.2em; }
.plan p { color: var(--ink-2); }
.plan-for { font-size: 0.95rem; margin-bottom: 16px; }
.plan .price { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 6px; }
.plan .price .per { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan .setup { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.plan .plan-note { font-size: 0.93rem; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; }
.plan li { padding: 6px 0 6px 22px; position: relative; font-size: 0.97rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 2px; background: var(--accent); }
.plan .plan-sum { margin: 14px 0 0; font-size: 0.9rem; color: var(--ink); }
.plan .plan-terms { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.plan-featured { border: 2px solid var(--accent); }
.plan-tag {
  align-self: flex-start;
  font-size: 0.75rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-ink) !important;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.guarantee { margin-top: 20px; max-width: 860px; padding: 16px 20px; border: 1px solid var(--accent); border-radius: var(--radius); background: #e8efe9; }
.guarantee p { margin: 0; }
.guarantee strong { font-size: 1.08rem; }
.guarantee .small-print { margin-top: 4px; font-size: 0.85rem; color: var(--ink-2); }
.pricing-notes { margin-top: 24px; max-width: 46em; }
.pricing-notes p { color: var(--ink-2); font-size: 0.97rem; }
.pricing-notes strong { color: var(--ink); }
.pricing-notes .small-print { font-size: 0.88rem; margin: 0; }

.inline-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.inline-cta p { margin: 0; width: 100%; font-size: 0.92rem; color: var(--ink-2); }

/* Who */
.who { display: grid; gap: 24px; align-items: center; }
.who-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; background: var(--paper-2); }
.who h2 { margin-bottom: 0.3em; }
.who p:not(.eyebrow) { color: var(--ink-2); max-width: 36em; }
.who .who-lead { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.who .who-links { margin: 0; }
.who-links a { color: var(--ink); font-weight: 600; }

/* Data and approval */
.section.dark { background: var(--dark); color: var(--paper); border-top: 0; }
.dark .eyebrow { color: #7fc3b0; }
.principles { margin: 0; display: grid; gap: 24px; }
.principles div { border-top: 1px solid #33363b; padding-top: 18px; }
.principles dt { font-weight: 650; font-size: 1.1rem; margin-bottom: 6px; }
.principles dd { margin: 0; color: var(--dark-2); }
.trust-lede { color: var(--dark-2); font-size: 1.08rem; max-width: 30em; }
.trust-faq { margin-top: 48px; }
.trust-faq h3 { font-size: 1.2rem; margin-bottom: 12px; }
.dark .faq details, .dark .faq details:last-of-type { border-color: #33363b; }
.dark .faq details p { color: var(--dark-2); }
.dark .faq summary::after { color: #7fc3b0; }
.dark summary:focus-visible { outline-color: #7fc3b0; }

/* Examples showcase, directly under the hero: an assistant list plus the conversation.
   On phones the list is one scrolling row of chips under the conversation. */
.showcase { display: flex; flex-direction: column; gap: 14px; }
.showcase .sidebar { order: 2; }
.sidebar-head { display: none; }
.chat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}
.chat-avatar { width: 28px; height: 28px; font-size: 0.62rem; }
.chat-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-sub { font-weight: 400; color: var(--ink-2); }
.chat-toggle {
  margin-left: auto;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.chat-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.chat-body { display: grid; padding: 20px 16px 24px; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; visibility: hidden; opacity: 0; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity 0.35s ease; }
.slide:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.msg { display: flex; flex-direction: column; gap: 4px; max-width: 90%; }
.msg-out { align-self: flex-end; align-items: flex-end; }
.msg-in { align-self: flex-start; }
.msg-who { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.bubble { margin: 0; padding: 12px 15px; border-radius: 16px; line-height: 1.45; font-size: 0.97rem; }
.msg-out .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; font-weight: 500; }
.msg-in .bubble { background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble .text { position: relative; display: block; }
/* Room for the typing caret, so the typed line never wraps earlier than the full one. */
.msg-out .bubble .text { padding-right: 3px; }
.voice { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.82rem; font-weight: 600; opacity: 0.85; }
.voice::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.voice::after { content: ""; flex: 1; min-width: 60px; height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0 2px, transparent 2px 5px); border-radius: 2px; }
.draft { display: block; margin-top: 8px; padding: 10px 12px; background: #fff; border-left: 3px solid var(--accent); border-radius: 6px; color: var(--ink-2); }
.draft-actions { display: flex; gap: 8px; margin-top: 10px; }
.draft-actions span { font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.draft-actions .approve { background: var(--accent); border-color: var(--accent); color: #fff; }
.example-tag { display: block; width: fit-content; margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a5a00; background: #fbecc9; padding: 2px 8px; border-radius: 4px; }
.typed { display: none; position: absolute; inset: 0; }
.reply { display: grid; }
.reply > * { grid-area: 1 / 1; }
.typing {
  align-self: start;
  justify-self: start;
  margin-top: 22px;
  display: flex;
  gap: 5px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  visibility: hidden;
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); opacity: 0.4; animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 0.9; transform: translateY(-3px); } }

/* Animation states, set by showcase.js. Without a state the slide shows in full. */
.slide[data-state="typing"] .full { visibility: hidden; }
.slide[data-state="typing"] .typed { display: block; }
.typed-text { border-right: 2px solid #fff; padding-right: 1px; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { border-right-color: transparent; } }
.slide[data-state="typing"] .msg-in,
.slide[data-state="thinking"] .msg-in { visibility: hidden; }
.slide[data-state="thinking"] .typing { visibility: visible; }
.slide[data-state="done"] .msg-in { animation: rise 0.35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabs {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 2px 20px 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.tabs .avatar { width: 26px; height: 26px; font-size: 0.6rem; }
.tab-text { display: flex; flex-direction: column; min-width: 0; }
.tab-preview, .tab-time { display: none; }
.tabs [role="tab"]:hover { color: var(--ink); border-color: var(--ink-2); }
.tabs [role="tab"][aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.tabs [role="tab"]:focus-visible, .chat-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-note { margin: 10px 0 0; font-size: 0.8rem; color: var(--ink-2); }

/* Without JavaScript: list every example, no assistant list or pause button. */
html:not(.js) .chat-body { gap: 28px; }
html:not(.js) .slide { grid-area: auto; visibility: visible; opacity: 1; }
html:not(.js) .sidebar, html:not(.js) .chat-head { display: none; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .slide[data-state="done"] .msg-in { animation: none; }
  .typing span, .typed-text { animation: none; }
  .chat-toggle { display: none; }
  .js .vignette .v-step { opacity: 1; }
}

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; max-width: 40em; }

/* Closing CTA */
.cta p { color: var(--ink-2); max-width: 34em; margin-bottom: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .micro { margin-top: 12px; }
.workshop-line { margin: 36px 0 0 !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; max-width: 46em !important; }
.workshop-line a { color: var(--ink); font-weight: 600; }

/* Legal pages (carried over from the old site) */
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.legal h2 { font-size: 1.2rem; margin: 2em 0 0.5em; max-width: none; }
.legal p { color: var(--ink-2); max-width: 40em; }
.legal .eyebrow a { text-decoration: none; }
.legal-updated { font-size: 0.9rem; }
.legal ul { color: var(--ink-2); max-width: 40em; padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 0.5em; }
.legal li strong, .legal p strong { color: var(--ink); }
.legal a { color: var(--ink); }
.legal code { font-size: 0.9em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
/* Drafting aids, never shipped to production: scripts/check-seo.mjs fails if they are still on a page. */
.placeholder { background: #fbecc9; color: #6b4600; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.legal-draft { padding: 12px 16px; border: 1px solid #e6c376; border-radius: var(--radius); background: #fdf5e2; color: var(--ink) !important; }
.legal-page .header-inner .btn-small { margin-left: auto; }
.footer-legal a { color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.92rem; color: var(--ink-2); }
.footer-inner p { margin: 0 0 6px; }
.site-footer .logo { color: var(--ink); margin-bottom: 10px; padding: 0; }
.small { font-size: 0.82rem; }

/* Phones: the assistant's name is enough in the conversation header, and "Book a session" in the site header. */
@media (max-width: 479px) {
  .chat-sub { display: none; }
  .hide-narrow { display: none; }
}

/* Very small phones: keep the header to logo + Book a call. */
@media (max-width: 359px) {
  .nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
  .hero { padding-top: 24px; }
  .lede { font-size: 1.02rem; }
  .hero-actions { margin-top: 18px; }
}

/* Larger screens */
@media (min-width: 640px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
  .scenarios { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .hero-facts { grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 28px; }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .nav a:not(.nav-pricing) { display: inline; }
  .header-inner .btn-small { margin-left: 8px; }
  .hero { padding: 72px 0 80px; }
  /* Centred hero, with the assistant app right under it. */
  .hero-text { max-width: 920px; margin: 0 auto; text-align: center; }
  .hero-text h1 { margin-left: auto; margin-right: auto; }
  .hero-text .lede { margin-left: auto; margin-right: auto; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
  .hero-demo { margin-top: 56px; }
  .demo-note { text-align: center; }

  .showcase {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(21, 23, 26, 0.04), 0 18px 40px -24px rgba(21, 23, 26, 0.18);
  }
  .showcase .sidebar { order: 0; background: #fbfaf7; border-right: 1px solid var(--line); padding: 14px 10px; }
  .sidebar-head { display: flex; justify-content: space-between; margin: 0 8px 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
  .tabs { flex-direction: column; gap: 2px; overflow: visible; margin: 0; padding: 0; }
  .tabs [role="tab"] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    white-space: normal;
  }
  .tabs .avatar { width: 34px; height: 34px; font-size: 0.68rem; }
  .tab-name { color: var(--ink); font-size: 0.92rem; }
  .tab-preview { display: block; font-size: 0.82rem; font-weight: 400; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tab-time { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); padding-top: 2px; }
  .tabs [role="tab"]:hover { background: var(--paper-2); }
  .tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--paper-2); box-shadow: inset 3px 0 0 var(--accent); }
  .chat { border: 0; border-radius: 0; }
  .chat-head { padding: 14px 16px 14px 24px; }
  .chat-body { padding: 28px 32px 32px; }

  .section { padding: 96px 0; }
  .two-col { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
  .discovery { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding: 30px 32px; align-items: end; }
  .moments { gap: 72px; margin-top: 56px; }
  .moment { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .moment:nth-child(even) .moment-text { order: 2; }
  .vignette { padding: 24px; }
  .roles { grid-template-columns: repeat(3, 1fr); }
  .adoption { grid-template-columns: 1fr 1fr; gap: 32px; }
  .who { grid-template-columns: 160px 1fr; gap: 40px; }
  .who-photo { width: 160px; height: 160px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { padding: 52px 0 0; }
  .steps li::after { left: 42px; right: -18px; top: 16.5px; bottom: auto; width: auto; height: 1px; }
  .steps li:last-child::after { display: none; }
}

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