/* www.aichatforwebsite.com. Hand-written, no build step.
 *
 * Two voices, two colors, and they mean something everywhere on the site:
 *   --ai      petrol   what the assistant says and does
 *   --person  saffron  what a real person on the team says and does
 * Typography uses the Signal example's sans-serif stack throughout.
 * Light and dark follow the device.
 */
:root {
  --paper: #eef2ef;
  --paper-2: #e3eae6;
  --surface: #ffffff;
  --ink: #14262b;
  --muted: #4b5f64;
  --line: #cdd8d3;
  --ai: #0e5a66;
  --ai-strong: #0a4650;
  --ai-ink: #ffffff;
  --ai-soft: #d8e9e8;
  --person: #e9a23b;
  --person-ink: #2a1b00;
  --person-soft: #fbebd0;
  --person-text: #855000;
  --band: #0c3f48;
  --band-ink: #eaf4f3;
  --band-muted: #b5d2d3;
  --danger: #b42318;
  --shadow: 0 1px 0 rgb(20 38 43 / .04), 0 18px 40px -18px rgb(20 38 43 / .28);
  --display: var(--body);
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1140px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e181b;
    --paper-2: #122126;
    --surface: #17262b;
    --ink: #e6eeec;
    --muted: #a3b6b8;
    --line: #2b3f45;
    --ai: #63c1cc;
    --ai-strong: #86d3dc;
    --ai-ink: #04252b;
    --ai-soft: #16353b;
    --person: #f0b45a;
    --person-ink: #2a1b00;
    --person-soft: #3a2d14;
    --person-text: #f0b45a;
    --band: #0a2a31;
    --band-ink: #e6eeec;
    --band-muted: #a3c3c6;
    --danger: #ff8a80;
    --shadow: 0 1px 0 rgb(0 0 0 / .3), 0 18px 40px -18px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--body);
  overflow-wrap: break-word;
}
h1, h2, h3, .h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); }
h3, .h3 { font-family: var(--body); }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.15rem); font-weight: 700; line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
h3, .h3 { font-size: 1.16rem; font-weight: 650; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ai); text-underline-offset: .18em; }
a:hover { color: var(--ai-strong); }
code { font: .9em var(--mono); background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--person); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.25rem;
  border: 2px solid transparent; border-radius: 12px;
  font: 650 1rem/1.2 var(--body); text-decoration: none; text-align: center;
}
.btn.primary { background: var(--ai); color: var(--ai-ink); }
.btn.primary:hover { background: var(--ai-strong); color: var(--ai-ink); }
.btn.quiet { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.quiet:hover { border-color: var(--ai); color: var(--ai); }
.btn.small { min-height: 2.5rem; padding: .45rem .95rem; font-size: .95rem; border-radius: 10px; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.cta-note { flex-basis: 100%; margin: 0; font-size: .92rem; color: var(--muted); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.12rem/1 var(--body); letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.mark { flex: none; width: 34px; height: 27px; }
.mark-ai { fill: var(--ai); }
.mark-person { fill: var(--person); stroke: var(--paper); stroke-width: 2; paint-order: stroke; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a, .signin { color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .signin:hover { border-bottom-color: var(--line); color: var(--ink); }
.nav a[aria-current] { border-bottom-color: var(--person); }
.head-actions { display: flex; align-items: center; gap: 1.1rem; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 10px; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 2.5rem)); display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: var(--shadow); }
.menu nav a { padding: .75rem .85rem; color: var(--ink); text-decoration: none; border-radius: 9px; font-weight: 500; }
.menu nav a:hover, .menu nav a[aria-current] { background: var(--paper-2); }
@media (max-width: 960px) {
  .nav, .head-actions { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-text { max-width: 40rem; }
.hero .lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: var(--muted); margin: 1.4rem 0 2rem; max-width: 34rem; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 400px); }
/* The slab behind the widget: the "page" the widget sits on. */
.hero-visual::before { content: ""; position: absolute; inset: -2.2rem -40vw -3.5rem 22%; background: var(--ai-soft); border-radius: 28px 0 0 28px; z-index: -1; }
.hero-compact h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.4rem); }
.home .hero h1 { font-size: clamp(2.2rem, 1.15rem + 3.3vw, 3.45rem); } /* a two-sentence headline: three lines on a desktop, not five */
.hero-solo .hero-text { max-width: 46rem; }
.hero-solo .plans { margin-top: 2.5rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; }
  .hero-visual::before { inset: 18% -50vw -3.5rem -50vw; border-radius: 0; }
}

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero + section { padding-top: clamp(3rem, 6vw, 4.5rem); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text > p, .plain-head > p { color: var(--muted); font-size: 1.1rem; margin-top: 1.1rem; max-width: 36rem; }
.feature-visual { display: flex; justify-content: center; min-width: 0; }
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
}
.points { display: grid; gap: 1.4rem; margin-top: 2rem; }
.point { padding-left: 1.1rem; border-left: 3px solid var(--ai); }
.point.person { border-left-color: var(--person); }
.point h3, .point .h3 { margin-bottom: .35rem; }
.point p, .point li { color: var(--muted); font-size: 1rem; }
.plain-head { max-width: 46rem; }
.points.cols-2, .points.cols-3, .cols-2x2 .points { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.cols-2x2 .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .cols-2x2 .points { grid-template-columns: 1fr; } }
.plain.narrow .plain-head { max-width: 44rem; }
.plain.narrow { padding-block: clamp(2rem, 4vw, 3rem); }
.plain.narrow .wrap { border-left: 3px solid var(--line); padding-left: clamp(1rem, 3vw, 2rem); }
.plain ul { color: var(--muted); padding-left: 1.2rem; margin: 1rem 0 0; }
.list-cols ul { columns: 2 16rem; column-gap: 2.5rem; }
.list-cols li { break-inside: avoid; margin-bottom: .45rem; }
.more { margin-top: 1.5rem; font-weight: 600; }

/* Steps */
.steps { background: var(--paper-2); }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.step-list li { counter-increment: step; }
.step-list li::before { content: counter(step); display: block; font: 700 3.4rem/1 var(--display); color: var(--ai); letter-spacing: -.03em; margin-bottom: .8rem; }
.step-list h3 { margin-bottom: .4rem; }
.step-list p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; gap: 1.6rem; } .step-list li { display: grid; grid-template-columns: 3rem 1fr; column-gap: .5rem; } .step-list li::before { grid-row: span 2; font-size: 2.6rem; } }
.snippet { margin: 2.5rem 0 0; background: var(--band); color: var(--band-ink); padding: 1.1rem 1.25rem; border-radius: 14px; overflow-x: auto; font: .92rem/1.5 var(--mono); max-width: 100%; }
.snippet code { background: none; padding: 0; font: inherit; white-space: pre; }

/* The numbered walk-through on /how-it-works/ */
.walk { padding-top: 0; }
.walk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.walk-aside { position: sticky; top: 100px; }
@media (max-width: 1020px) { .walk-grid { grid-template-columns: minmax(0, 1fr); } .walk-aside { display: none; } }
.walk-list { min-width: 0; list-style: none; counter-reset: walk; margin: 0; padding: 0; max-width: 50rem; }
.walk-list li { counter-increment: walk; position: relative; padding: 0 0 2.6rem 4.2rem; border-left: 2px solid var(--line); margin-left: 1.4rem; }
.walk-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.walk-list li::before { content: counter(walk); position: absolute; left: -1.45rem; top: -.2rem; width: 2.8rem; height: 2.8rem; display: grid; place-content: center; border-radius: 50%; background: var(--ai); color: var(--ai-ink); font: 700 1.2rem/1 var(--display); }
.walk-list h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: .6rem; }
.walk-list p { color: var(--muted); }
.walk-list .snippet { margin-top: 1.2rem; }
@media (max-width: 560px) { .walk-list li { padding-left: 2.2rem; margin-left: 1.1rem; } .walk-list li::before { width: 2.2rem; height: 2.2rem; left: -1.15rem; font-size: 1rem; } }

/* The dark band */
.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }
.band p, .band li { color: var(--band-muted); }
.band a { color: var(--band-ink); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.band-grid > div:first-child p { font-size: 1.1rem; margin-top: 1.1rem; }
.band-grid > div:first-child ul { margin: 1.2rem 0 0; padding-left: 1.2rem; }
.band-grid li { margin-bottom: .4rem; }
.band-points { display: grid; gap: 1.6rem; align-content: start; }
.band-points:empty { display: none; }
.band-points h3 { margin-bottom: .35rem; }
.band-points > div { padding-left: 1.1rem; border-left: 3px solid var(--person); }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* FAQ */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; margin-top: 2rem; }
.qa { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.qa h3 { margin-bottom: .5rem; }
.qa p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .qa-grid { grid-template-columns: 1fr; } }

/* Closing */
.closing { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.closing-inner { background: var(--ai-soft); border-radius: 28px; padding: clamp(2rem, 6vw, 4rem); }
.closing-inner h2 { max-width: 22ch; }
.closing-inner > p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 1.8rem; max-width: 40rem; }
.closing .btn.quiet { border-color: color-mix(in srgb, var(--ai) 35%, transparent); }

/* Plans: one column per plan. Four across on a desktop, two on a tablet, one on a phone. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); gap: 1.1rem; margin-top: 2rem; }
.plans-2 { max-width: 46rem; }
.plans-3 { max-width: 64rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.35rem; display: flex; flex-direction: column; min-width: 0; }
.plan-first { border-color: var(--ai); box-shadow: inset 0 4px 0 var(--ai); }
.plan h3 { font-size: 1.45rem; }
.price { margin: .9rem 0 0; display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.amount { font: 750 2.6rem/1 var(--body); letter-spacing: -.03em; /* the serif has old-style figures only: "$0" would read as "$o" */ min-height: 1em; display: inline-flex; align-items: center; }
.period { color: var(--muted); font-size: .98rem; }
.price-year { margin: .45rem 0 0; font-size: .95rem; color: var(--ink); min-height: 1.6em; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.save { color: var(--person-text); background: var(--person-soft); padding: .08em .5em; border-radius: 999px; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.price-note { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; min-height: 2.8em; }
.plan-rows { margin: 1.1rem 0 1.5rem; display: grid; }
.plan-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .62rem 0; border-top: 1px solid var(--line); }
/* Four across, labels wrap in some cards and not in others: level the rows. */
@media (min-width: 1000px) { .plans-4 .plan-rows > div { min-height: 3.9rem; } }
.plan-rows dt { color: var(--muted); font-size: .95rem; }
.plan-rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.plan .btn { width: 100%; text-align: center; padding-inline: .8rem; }
.plans-foot { margin: 1.1rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) {
  .price-year:empty { display: none; }
  .price-note { min-height: 0; }
}
/* The launch offer, above the plans: the person color, because a person sets it up. */
.offer { margin-top: 2rem; max-width: 46rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--person-soft); border: 1px solid color-mix(in srgb, var(--person) 45%, transparent); }
.offer h2 { color: var(--person-text); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.offer p { margin: .4rem 0 0; color: var(--ink); }
/* Add-ons: a label and its price per line. */
.addons { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.addons small { display: block; color: var(--muted); font-size: .88rem; }
.addons strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: auto; }
.band-solo .band-grid { grid-template-columns: 1fr; }
.band-solo ul { columns: 2 18rem; column-gap: 3rem; max-width: 56rem; font-size: 1.05rem; }
.band-solo li { break-inside: avoid; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--paper-2); padding: 3.5rem 0 2rem; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot-brand p { color: var(--muted); margin-top: .9rem; max-width: 22rem; }
.site-foot h2 { font: 650 1rem/1.3 var(--body); letter-spacing: 0; margin-bottom: .8rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .brand { color: var(--ink); }
.foot-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Legal */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal-wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.crumb { margin-bottom: 1rem; font-size: .95rem; }
.effective { color: var(--muted); font-size: .95rem; margin-top: .8rem; }
.legal-body { margin-top: 2.5rem; }
.legal-body h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.legal-body h3 { margin: 1.6rem 0 .5rem; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .93rem; line-height: 1.5; margin: 1.2rem 0 1.6rem; }
.legal-body th, .legal-body td { border-bottom: 1px solid var(--line); padding: .7rem .9rem .7rem 0; text-align: left; vertical-align: top; min-width: 9rem; }
.legal-body thead th { font: 650 .95rem var(--body); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2:first-child + p, .legal-body h2:first-child + ul { font-size: 1.08rem; }
.legal-index { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.legal-index li { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.legal-index a { font: 650 1.3rem var(--display); }
.legal-index p { color: var(--muted); margin: .4rem 0 0; }

/* ---- Mock-ups ---------------------------------------------------------- */
.mock { margin: 0; width: 100%; position: relative; }
.mock figcaption { margin-top: .9rem; font-size: .86rem; color: var(--muted); text-align: center; }

/* The chat widget, after server/internal/api/w.js. Its accent is the site's --ai. */
.mock-widget { max-width: 380px; --w-bg: var(--surface); --w-surface: var(--paper-2); }
.w-panel { background: var(--w-bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font: 14px/1.5 var(--body); color: var(--ink); }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--ai); color: var(--ai-ink); }
.w-head strong { display: block; font-size: 15px; }
.w-sub { display: block; font-size: 12px; opacity: .92; }
.w-x { display: flex; opacity: .85; }
.w-log { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.w-msg { max-width: 88%; padding: 8px 11px; border-radius: 12px; }
.w-user { align-self: flex-end; background: var(--ai); color: var(--ai-ink); border-bottom-right-radius: 4px; }
.w-bot, .w-human { align-self: flex-start; background: var(--w-surface); border-bottom-left-radius: 4px; }
.w-human { background: var(--person-soft); border: 1px solid var(--person); }
.w-author { display: block; font-size: 11px; font-weight: 650; color: var(--person-text); margin-bottom: 2px; }
.w-src { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.w-link { text-decoration: underline; }
.w-notice { align-self: center; font-size: 12.5px; color: var(--muted); text-align: center; }
.w-foot { border-top: 1px solid var(--line); padding: 10px; display: grid; gap: 8px; }
.w-row { display: flex; gap: 8px; }
.w-input { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--muted); }
.w-send { border-radius: 9px; padding: 8px 14px; background: var(--ai); color: var(--ai-ink); font-weight: 600; }
.w-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.w-cb { color: var(--ai); font-weight: 700; }
.w-launch { display: flex; width: max-content; margin: 14px 0 0 auto; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ai); color: var(--ai-ink); font: 600 15px/1 var(--body); box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.w-sub-swap { display: grid; }
.w-sub-swap span { grid-area: 1 / 1; }
.w-sub-swap span:first-child { opacity: 0; }

/* The one piece of motion on the site: the hero conversation arrives message
   by message, once, and the header changes hands when Maya joins. */
@media (prefers-reduced-motion: no-preference) {
  .is-animated [style*="--i"] { animation: arrive .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.5s + var(--i) * 1.05s); }
  .is-animated .w-sub-swap span:first-child { opacity: 1; animation: leave .4s ease both; animation-delay: calc(.5s + var(--i) * 1.05s); }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px); } }
  @keyframes leave { to { opacity: 0; } }
}

/* Lead email */
.mock-mail { max-width: 440px; }
.m-window { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; line-height: 1.5; }
.m-top { display: flex; gap: .6rem; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.m-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--person); transform: translateY(-1px); }
.m-body { padding: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.m-body p { margin: 0 0 12px; }
.m-body dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 2px 8px; margin: 0 0 14px; }
.m-body dt { color: var(--muted); }
.m-body dd { margin: 0; font-weight: 600; }
.m-label, .m-open { color: var(--muted); }
.m-transcript { border-left: 3px solid var(--ai); padding-left: 12px; margin-bottom: 12px; display: grid; gap: 8px; }
.m-transcript span { display: block; color: var(--muted); font-size: 11.5px; }

/* Inbox */
.mock-inbox { max-width: 470px; padding: 0 0 0 0; }
.i-window { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; margin-top: 46px; }
.i-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.i-bar strong { font: 650 16px var(--body); }
.i-avail { display: inline-flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--muted); }
.i-switch { width: 34px; height: 20px; border-radius: 999px; background: var(--person); position: relative; }
.i-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.i-tabs { display: flex; gap: 1.1rem; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.i-tabs span { padding: 10px 0; border-bottom: 2px solid transparent; }
.i-tabs .on { color: var(--ink); border-bottom-color: var(--person); font-weight: 600; }
.i-tabs b { background: var(--person); color: var(--person-ink); border-radius: 999px; padding: 0 .45em; font-size: 12px; margin-left: .2rem; }
.i-list { list-style: none; margin: 0; padding: 0; }
.i-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.i-list li:last-child { border-bottom: 0; }
.i-list .is-hot { background: var(--person-soft); box-shadow: inset 3px 0 0 var(--person); }
.i-title { font-weight: 600; }
.i-meta { grid-column: 1; color: var(--muted); font-size: 12.5px; }
.chip { grid-column: 2; grid-row: 1 / span 2; font-size: 12px; font-weight: 600; padding: .2em .7em; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.chip.warn { background: var(--person); color: var(--person-ink); border-color: transparent; }
.chip.ok { color: var(--ai); border-color: var(--ai); }
.chip.bad { color: var(--danger); border-color: currentColor; }
.i-toast { position: absolute; top: 0; right: -10px; width: min(300px, 84%); background: var(--ink); color: var(--paper); border-radius: 12px; padding: 11px 14px; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); display: grid; }
.i-toast span { opacity: .8; }
@media (max-width: 520px) { .i-toast { right: 0; width: 88%; } .i-window { margin-top: 78px; } }

/* Visitors list and gaps list */
.mock-visits { max-width: 520px; }
.mock-gaps { max-width: 470px; }
.v-window { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.v-bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem .75rem; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.v-bar strong { font: 650 16px var(--body); }
.v-now { display: inline-flex; align-items: center; gap: .45rem; font-size: 13px; color: var(--muted); }
.v-lamp { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ai) 22%, transparent); margin-right: .45rem; vertical-align: 1px; }
.v-now .v-lamp { margin-right: 0; }
.v-list, .g-list { list-style: none; margin: 0; padding: 0; }
.v-list li { padding: 11px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.v-list li:last-child, .g-list li:last-child { border-bottom: 0; }
.v-top { display: flex; align-items: center; gap: .3rem .7rem; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.v-when { color: var(--ink); font-weight: 600; }
.v-chips { margin-left: auto; display: inline-flex; gap: .35rem; }
.v-chip { font-size: 11.5px; font-weight: 600; padding: .1em .6em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.v-chip.info { color: var(--ai); border-color: var(--ai); }
.v-chip.warn { background: var(--person); color: var(--person-ink); border-color: transparent; }
.v-src strong { color: var(--ai); font-weight: 650; }
.v-src span { color: var(--muted); font-size: 13px; }
.v-meta { display: flex; flex-wrap: wrap; gap: 0 .55rem; font-size: 12.5px; color: var(--muted); }
.v-meta span + span::before { content: "\00b7"; margin-right: .55rem; }
.v-meta .v-person { color: var(--ink); font-weight: 600; }
.v-meta .v-anon { font-style: italic; }
.g-list li { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.g-q { font-weight: 600; }
.g-meta { color: var(--muted); font-size: 12.5px; }
