:root {
  --bg: #efe5d0;
  --bg-alt: #e6d9bd;
  --surface: #f7f0e1;
  --text: #0b1f3a;
  --navy: #0b1f3a;
  --navy-2: #12305c;
  --gold: #b8893b;
  --gold-soft: #e7c98a;
  --muted: #5b6676;
  --faint: #aeaeb2;
  --line: #d8caa9;
  --accent: #1d4a8a;
  --accent-hover: #133561;
  --accent-soft: #e8eff9;
  --accent-contrast: #fff;
  --danger: #d70015;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 0, 0, .12);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.022em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
.container { width: min(1080px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(720px, 100% - 48px); }
.container--wide { width: min(1240px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; border: 0; text-decoration: none;
  font: inherit; font-weight: 600; color: var(--accent-contrast); background: var(--accent);
  padding: .65em 1.35em; border-radius: 980px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--sm { padding: .35em .95em; font-size: .85rem; }
.btn--lg { padding: .8em 1.7em; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--accent); font-weight: 500; box-shadow: inset 0 0 0 1px var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--light { background: var(--gold); color: #fff; }
.btn--light:hover { background: #a37a31; }
:focus-visible { outline: 3px solid rgba(29, 74, 138, .45); outline-offset: 2px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 229, 208, .85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.1rem; text-decoration: none; letter-spacing: -.02em; color: var(--text); }
.logo__img { display: block; height: 42px; width: auto; }
.footer .logo__img { height: 26px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.btn--nav { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; font-size: .92rem; font-weight: 500; letter-spacing: -.01em; color: #fff; background: var(--navy); border-radius: 8px; }
.btn--nav:hover { background: var(--accent); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 6px 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 36px 0 0; color: #fff;
  background: radial-gradient(900px 420px at 50% -10%, rgba(184, 137, 59, .18), transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }   /* text and demo on top, the booking calendar below */
.hero__content { text-align: center; }
.eyebrow { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1em; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow:empty { display: none; }
.hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin-bottom: .6em; color: #fff; }
.grad { background: linear-gradient(90deg, #e7c98a, #b8893b); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; margin-right: -.08em; }
.hero__sub { max-width: 520px; margin: 0 0 1.4em; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; }
.hero__stat { color: var(--faint); font-size: .95rem; margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.todo { background: #fef08a; color: #713f12; border-radius: 4px; padding: 0 .25em; }
.demo { margin: 0 0 1.6em; }
.demo__label { font-weight: 600; margin: 0 0 .5em; }
.demo audio { width: 100%; max-width: 420px; }
.hero__trust { display: flex; align-items: center; gap: 12px; }
.hero__trust img { width: 40px; height: auto; flex-shrink: 0; }
.hero__trust p { margin: 0; font-size: .9rem; color: var(--muted); }
.hero__cta--mobile { display: none; margin-top: 1.6em; }   /* the calendar is right below now */

/* Founder */
.founder { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.founder__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.founder p { margin: 0; font-size: .9rem; line-height: 1.4; }
.founder .muted { font-size: .82rem; }

/* Sections */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.section__head h2 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -.02em; }
.section__head p { color: var(--muted); font-size: 1.15rem; }
.section__head .eyebrow { color: var(--gold); font-size: .95rem; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--bg-alt); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s, box-shadow .3s; }
.section--alt .card { background: var(--surface); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 1rem; margin: 0; }
.card--featured { background: var(--text) !important; color: #fff; }
.card--featured p { color: #a1a1a6; }
.card--flat { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 26px; }
.card--flat h3 { font-size: 1.1rem; }
.card--flat p { font-size: .95rem; }
.card__tag { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #a1a1a6; }
.card__icon { width: 34px; height: 34px; margin-bottom: 1.4rem; color: var(--accent); }
.card--featured .card__icon { color: #8fb4e8; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card li { position: relative; padding: .55em 0 .55em 1.5em; font-size: .98rem; border-top: 1px solid var(--line); }
.card li::before { content: ''; position: absolute; left: 2px; top: 1.2em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.card ul { margin-top: 1.2rem; }
.card ul li:first-child { border-top: 0; }
.card ul li:first-child::before { top: .95em; }
.also { text-align: center; color: var(--muted); font-size: .95rem; margin: 2.2rem 0 0; }

.quote__text { color: var(--text); font-size: 1.1rem; font-style: italic; line-height: 1.5; }
.quote__by { color: var(--muted); font-size: .95rem; margin: 0; }
.quote__by strong { color: var(--text); font-weight: 600; }
.quote { display: flex; flex-direction: column; gap: 20px; }
.quote .quote__by { margin-top: auto; }
.quote__by--org { display: flex; align-items: center; gap: 14px; }
.quote__by--org p { margin: 0; line-height: 1.4; }
.quote__logo { width: 52px; height: auto; flex-shrink: 0; }
.quote .case__tags { margin-bottom: -8px; }
.quote__also { font-size: .9rem; padding-top: 16px; border-top: 1px solid var(--line); }
.quote__also strong { color: var(--text); font-weight: 600; }


/* Case studies */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: var(--surface); border-radius: 24px; padding: 40px 36px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.3rem; }
.case__tags span { font-size: .75rem; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: .3em .8em; border-radius: 980px; }
.case h3 { font-size: 1.55rem; letter-spacing: -.025em; }
.case .case__client { font-size: .9rem; font-weight: 500; color: var(--text); margin: -.2em 0 .9em; }
.case > p { color: var(--muted); }
.case .case__result { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin: 0 0 1.2rem; }
.case__story { margin: 0; }
.case__story dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-top: 1rem; }
.case__story dd { margin: .25em 0 0; color: var(--muted); font-size: .95rem; }
.also a { color: var(--accent); font-weight: 600; text-decoration: none; }
.case li { position: relative; padding: .55em 0 .55em 1.5em; border-top: 1px solid var(--line); font-size: .95rem; }
.case li::before { content: ''; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case ul { margin-top: 1.4rem; }

/* Steps */
.steps { list-style: none; display: grid; gap: 36px; padding: 0; margin: 0; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps li { text-align: left; }
.steps__num { display: block; font-size: 3rem; font-weight: 700; letter-spacing: -.04em; color: var(--faint); line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Booking card (embedded in hero) */
.book { position: relative; max-width: 960px; margin-inline: auto; width: 100%; }
.booking {
  background: var(--surface);
  border-radius: 28px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 36px 34px 30px;
}
.booking__info h3 { font-size: 1.35rem; margin-bottom: .3em; }
.booking__info > p { font-size: .96rem; }
.summary { margin-top: 1.4rem; padding: 14px 16px; background: var(--bg-alt); border-radius: 14px; box-shadow: 0 0 0 1.5px var(--accent); }
.summary__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 .25em; font-weight: 600; }
.summary__value { margin: 0; font-weight: 600; }
.preview-note { font-size: .82rem; }

.booking__slots { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.booking__form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.booking__form h3 { margin: 0; font-size: 1.2rem; }
.booking__done { text-align: center; }

.cal { max-width: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal__head h4 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.cal__nav { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--text); font-size: 1.2rem; cursor: pointer; line-height: 1; transition: background .2s; }
.cal__nav:hover:not(:disabled) { background: #e8e8ed; }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .68rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; font-weight: 500; }
.day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent;
  color: var(--text); font: inherit; font-size: .92rem; cursor: pointer; transition: background .15s, color .15s;
}
.day.is-available { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.day.is-available:hover { background: #d6e3f5; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--faint); }
.day.is-selected, .day.is-selected:hover { background: var(--accent); color: var(--accent-contrast); }
.day:disabled { color: #c7c7cc; cursor: default; }
.day--empty { visibility: hidden; }

.booking__slots h4 { font-size: .96rem; margin: 0 0 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .6em .4em; border-radius: 12px; border: 0; background: var(--bg-alt); color: var(--text); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.slot__main { font-size: .88rem; }
.slot__alt { font-size: .72rem; font-weight: 400; opacity: .7; }
.slot:hover { background: var(--accent-soft); color: var(--accent); }
.slot.is-selected { background: var(--accent); color: var(--accent-contrast); }
.slot:disabled { color: #c7c7cc; text-decoration: line-through; cursor: not-allowed; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.slots__empty { color: var(--muted); grid-column: 1 / -1; }

label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid #d2d2d7;
  border-radius: 12px; padding: .75em .9em; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29, 74, 138, .18); }
input.is-invalid { border-color: var(--danger); }
.form__error { color: var(--danger); margin: 0; font-size: .9rem; }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: .88rem; padding: 0; justify-self: start; }
.link:hover { text-decoration: underline; }

.done__check { width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: #34c759; color: #fff; font-size: 1.8rem; font-weight: 600; }
.booking__done p { color: var(--muted); }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4rem; }

.meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.meta li { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }

/* CTA + footer */
.cta { text-align: center; padding: 96px 0; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-top: 3px solid var(--gold); }
.cta h2 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 600; letter-spacing: -.02em; max-width: 700px; margin: 0 auto .6rem; }
.cta__sub { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: 0 0 1.8rem; }
.footer { padding: 28px 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.65); font-size: .85rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer .logo { color: #fff; font-size: 1rem; }
.footer .logo__img { filter: invert(1); }
.footer a:not(.logo):hover { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .cards--3, .cards--4, .cases { grid-template-columns: 1fr 1fr; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-content: center; text-align: left; }
}
@media (max-width: 900px) {
  .booking { padding: 28px 22px; }
}
@media (max-width: 720px) {
  .cards--2, .cards--3, .cards--4, .cases, .steps--4 { grid-template-columns: 1fr; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(239, 229, 208, .97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__links .btn { text-align: center; justify-content: center; margin-top: 14px; padding: .7em; }
  .hero { padding: 40px 0 0; }
  .section { padding: 72px 0; }
  .case { padding: 30px 24px; }
  .cal__dow, .cal__grid { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Results ticker (hero banner): a thick band of short phrases, like a billboard */
.ticker {
  margin-top: 40px; overflow: hidden; padding: 16px 0;
  border-block: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.18);
}
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__group li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.01em; color: #fff;
}
.ticker__group li::after { content: ''; width: 7px; height: 7px; margin: 0 clamp(24px, 3.5vw, 44px); transform: rotate(45deg); background: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .ticker { margin-top: 32px; padding: 14px 0; } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; width: auto; justify-content: center; }
  .ticker__group { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding: 0 24px; }
  .ticker__group[aria-hidden="true"] { display: none; }
}

/* ---------- Product demos (hero) ----------
   Each demo is a 640x400 stage, scaled to fit by demo.js (--k). Redaction is a still; search plays when picked.
   Built to read like a billboard: the same job by hand (left) vs. with AIPX (right), and the two times. */
.demos { width: 100%; max-width: clamp(560px, calc((100vh - 190px) * 1.6), 1240px); margin: 0 auto; }
@media (max-width: 960px) { .demos { margin-inline: auto; } }
.demos__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 980px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.demos__tabs button {
  border: 0; border-radius: 980px; padding: .45em 1.05em; background: transparent; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.72); transition: background .2s, color .2s, box-shadow .2s;
}
.demos__tabs button:hover { color: #fff; }
.demos__tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.rd {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden; text-align: left; background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.14);
}
.rd__stage {
  position: absolute; left: 0; top: 0; width: 640px; height: 400px; overflow: hidden;
  transform: scale(var(--k, 1)); transform-origin: 0 0; font-family: var(--font); font-size: 12px; color: var(--text);
  transition: opacity .35s;
}
.rd--instant, .rd--instant * { transition: none !important; animation: none !important; }

/* Two halves: by hand (grey, slow) and with AIPX (bright, done) */
.vs__side { position: absolute; top: 0; width: 320px; height: 400px; padding: 20px 26px 0; }
.vs__side--hand { left: 0; background: #f2f2f4; }
.vs__side--ai { left: 320px; background: #fff; }
.vs__tag { margin: 0 0 14px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: baseline; justify-content: space-between; }
.vs__tag span { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.vs__side--ai .vs__tag { color: var(--accent); }
.vs__doc { position: relative; height: 252px; }

/* The clock under each side; the AIPX one stops early and gets a check */
.vs__clock {
  position: absolute; left: 26px; right: 26px; bottom: 18px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #8e8e93;
}
.vs__side--ai .vs__clock { color: var(--accent); }
.vs.hand-done .vs__side--hand .vs__clock { color: var(--text); }
.vs__side--ai .vs__clock::after {
  content: '✓'; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 10px; vertical-align: 6px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700;
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.vs.ai-done .vs__side--ai .vs__clock::after { opacity: 1; transform: none; }

/* Redaction (a still): spot the difference. Both pages come back blacked out, but by hand one item slipped
   through (.vs__miss). The eye finds it first; a red ring draws on a beat later, and the clock gets a red ✕. */
.vs__page {
  position: absolute; left: 6px; top: 0; width: 256px; height: 248px; padding: 14px 16px; background: #fff;
  font-family: Georgia, 'Times New Roman', serif; font-size: 9.5px; line-height: 1.6; color: #222;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 22px -10px rgba(0, 0, 0, .25), 0 0 0 1px var(--line);
}
.vs__page h5 { margin: 0 0 1px; font-size: 11px; }
.vs__page p { margin: 0; }
.vs__page .vs__case { margin-bottom: 6px; font-size: 8.5px; color: #777; }
.vs__x { position: relative; padding: 0 2px; margin: 0 -2px; background: none; color: #222; }
.vs__x::after { content: ''; position: absolute; left: -1px; right: -1px; top: 0; bottom: 0; background: #000; transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.vs__x.is-selected::after { transform: none; background: rgba(10, 132, 255, .35); }
.vs__x.is-marked::after { transform: none; background: rgba(229, 72, 77, .14); box-shadow: inset 0 0 0 1px #e5484d; }
.vs__miss { position: relative; font-weight: 700; color: #111; }
.vs__miss::after {
  content: ''; position: absolute; inset: -6px -9px; border: 2px solid #e5484d; border-radius: 50%;
  transform: rotate(-4deg); opacity: 0;
}
.vs.hand-done .vs__miss::after { animation: vs-ring .45s cubic-bezier(.3, 1.5, .5, 1) .15s both; }
@keyframes vs-ring { from { opacity: 0; transform: rotate(-4deg) scale(1.6); } }
.vs__side--hand .vs__clock::after {
  content: '✕'; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 10px; vertical-align: 6px;
  border-radius: 50%; background: #e5484d; color: #fff; font-size: 15px; font-weight: 700;
  opacity: 0;
}
.vs.hand-done .vs__side--hand .vs__clock::after { animation: vs-pop .3s cubic-bezier(.3, 1.6, .5, 1) .4s both; }
#searchDemo .vs__side--hand .vs__clock::after { content: none; }
@keyframes vs-pop { from { opacity: 0; transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) { .vs__miss::after, .vs__side--hand .vs__clock::after { animation: none; } }

/* Case-file pile + Form 1099-MISC (fictional) used by the redaction still */
.vs__chips { display: flex; flex-wrap: wrap; gap: 3px; margin: 0 0 8px; }
.vs__chip { padding: 2px 6px; border-radius: 5px; background: #fff; font-size: 8.5px; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.vs__chip--on { color: var(--text); font-weight: 600; box-shadow: 0 0 0 1.5px #8e8e93; }
.vs__chip.is-done::before { content: '✓ '; color: #8e8e93; font-weight: 700; }
.vs__side--ai .vs__chip.is-done::before { color: #15803d; }
.vs__chip.is-bad { color: #c2272d; box-shadow: 0 0 0 1.5px #e5484d; }
.vs__chip.is-bad::before { content: '✕ '; color: #c2272d; font-weight: 700; }
.vs__page.f99 { position: relative; left: 0; width: 100%; height: auto; padding: 7px 8px 8px; font-family: var(--font); font-size: 8.5px; line-height: 1.3; }
.f99__head { display: flex; align-items: baseline; gap: 6px; padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1.5px solid #222; }
.f99__head b { font-size: 11px; letter-spacing: -.01em; }
.f99__head span { font-size: 7px; color: #555; }
.f99__head em { margin-left: auto; font-style: normal; font-size: 6.5px; font-weight: 700; color: #555; }
.f99__row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid #bbb; }
.f99__row--payer { grid-template-columns: 1.7fr 1fr; grid-auto-flow: row; }
.f99__row > div { padding: 2px 4px 3px; border-left: 1px solid #bbb; font-weight: 600; }
.f99__row > div:first-child { border-left: 0; padding-left: 0; }
.f99__row small { display: block; font-size: 5.5px; font-weight: 400; color: #666; line-height: 1.2; }
.f99 .vs__x { padding: 0 3px; margin: 0 -3px; }
.vs__result { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.vs__side--hand .vs__result { opacity: 0; transition: opacity .3s .2s; }
.vs.hand-done .vs__side--hand .vs__result { opacity: 1; }
.vs__side--ai .vs__result b { opacity: 0; transition: opacity .3s; }
.vs.ai-done .vs__side--ai .vs__result b { opacity: 1; }
.vs__result b { font-weight: 700; }
.vs__result--bad { color: #c2272d; }
.vs__result--ok { color: #15803d; }

/* Document search, by hand: find the files, upload them to a chatbot one by one, then ask */
.vs__note { margin: 0; font-size: 11.5px; color: var(--muted); }
.vs__note--top { margin-bottom: 8px; min-height: 1.4em; }
.vs__ups { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 4px; }
.vs__ups li {
  display: grid; grid-template-columns: 18px 1fr 58px; align-items: center; gap: 8px; height: 24px; padding: 0 8px 0 4px;
  border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #dcdce0; font-size: 10.5px;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .25s;
}
.vs__ups li.is-in { opacity: 1; transform: none; }
.vs__ups .rd__pdf, .vs__ups .cs__xls { width: 15px; height: 18px; display: grid; place-items: end center; padding-bottom: 2px; border-radius: 3px; background: #ef4444; color: #fff; font-size: 6px; font-weight: 700; }
.vs__ups .cs__xls { background: #16a34a; }
.vs__ups b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs__ups i { height: 4px; border-radius: 2px; background: #e5e5ea; overflow: hidden; }
.vs__ups s { display: block; height: 100%; background: #8e8e93; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.vs__side--hand .vs__ask--hand { margin-bottom: 8px; min-height: 30px; box-sizing: content-box; font-size: 10.5px; background: #fff; box-shadow: 0 0 0 1px #dcdce0; opacity: 0; }
.vs__side--hand .vs__ask--hand.is-in { opacity: 1; }
.vs__side--hand .vs__answer--hand { padding: 8px 12px; background: #fff; box-shadow: 0 0 0 1px #dcdce0; }
.vs__side--hand .vs__answer--hand .vs__big { margin: 0; font-size: 20px; color: var(--text); }
.vs .vs__side--hand .vs__answer--hand.is-in { opacity: 1; transform: none; }
.vs.ai-done .vs__side--hand .vs__answer--hand:not(.is-in) { opacity: 0; transform: translateY(8px); }

/* With AIPX: secure, already-connected badge */
.vs__secure { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 10.5px; font-weight: 600; color: #15803d; }
.vs__secure svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* With AIPX: the question, then the answer card */
.vs__ask { margin: 0 0 12px auto; max-width: 230px; width: fit-content; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--bg-alt); font-size: 11.5px; line-height: 1.4; }
.vs__answer {
  padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(29, 74, 138, .15);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s;
}
.vs.ai-done .vs__answer { opacity: 1; transform: none; }
.vs__big { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; }
.vs__big small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.vs__row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 5px 0; border-top: 1px solid rgba(29, 74, 138, .14); font-size: 11.5px; }
.vs__row span { color: #3a3a3c; }
.vs__srcs { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; }
.vs__srcs span { padding: 2px 6px; border-radius: 5px; background: #fff; font-size: 9.5px; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }

/* One-line explanation under the demo window; changes with the tab */
.demos__caption { position: relative; min-height: 3em; margin: 12px 4px 0; padding-left: 22px; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.82); text-align: left; }
/* small "speaking" bars in front of the narration */
.demos__caption::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px;
  background: linear-gradient(var(--gold), var(--gold)) 0 50% / 2px 50% no-repeat,
              linear-gradient(var(--gold), var(--gold)) 5px 50% / 2px 100% no-repeat,
              linear-gradient(var(--gold), var(--gold)) 10px 50% / 2px 70% no-repeat;
  opacity: .8;
}
#testimonials.section { padding-top: 72px; }

/* Booking: make the first step one tap */
.booking__sub { margin: 0 0 18px; color: var(--muted); font-size: .96rem; }
.quick { margin-bottom: 22px; }
.quick__label { margin: 0 0 10px; font-size: .82rem; font-weight: 600; color: var(--accent); }
.quick__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick__btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .8em .4em; border: 0; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); font: inherit; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.quick__btn:hover { background: var(--accent); color: var(--accent-contrast); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 74, 138, .28); }
.quick__btn:active { transform: translateY(0) scale(.98); }
.quick__day { font-size: .78rem; font-weight: 500; opacity: .85; }
.quick__time { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.quick__or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: .78rem; color: var(--faint); }
.quick__or::before, .quick__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.more { border-top: 1px solid var(--line); padding-top: 12px; }
.more summary { cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--accent); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; display: inline-block; width: 1.1em; }
.more[open] summary::before { content: '\2212'; }
.more__body { display: grid; gap: 14px; margin-top: 14px; }
.booking__form:not([hidden]), .booking__done:not([hidden]) { animation: step-in .35s ease both; }
.done__check { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 420px) { .quick__list { grid-template-columns: 1fr; } .quick__btn { flex-direction: row; justify-content: space-between; padding: .8em 1.1em; } }

/* Soonest openings: the obvious thing to do */
.quick {
  padding: 18px 16px 16px; border-radius: 20px; margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(29, 74, 138, .09), rgba(184, 137, 59, .09));
  box-shadow: inset 0 0 0 1.5px rgba(29, 74, 138, .35);
}
.quick__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.quick__hint { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--accent); }
.quick__dot { width: 9px; height: 9px; border-radius: 50%; background: #34c759; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); } 100% { box-shadow: 0 0 0 9px rgba(52, 199, 89, 0); } }
.quick__btn { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(29, 74, 138, .25); padding: .95em .4em; }
.quick__btn:first-child { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 8px 20px rgba(29, 74, 138, .3); }
.quick__btn:first-child .quick__day::after { content: ' · Next up'; }
.quick__time { font-size: 1.12rem; }
.quick__or { margin-top: 16px; }

/* Dates first: it's what people scan for */
.quick__btn:first-child .quick__day::after { content: none; }
.quick__tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .75; min-height: 1em; }
.quick__day { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; opacity: 1; }
.quick__time { font-size: .95rem; font-weight: 600; }
.booking__slots h4 { font-weight: 400; }
.booking__slots h4 strong { font-weight: 800; font-size: 1.05rem; }
.summary__value { font-weight: 800; }
@media (max-width: 420px) { .quick__btn { flex-wrap: wrap; } .quick__tag:empty { display: none; } .quick__tag { flex-basis: 100%; text-align: left; } }

/* App bars + the cursor and scan line used by the redaction race */
.vs__bar { display: flex; align-items: center; gap: 8px; height: 22px; margin: 0 0 6px; padding: 0 4px 0 8px; border-radius: 6px; font-size: 9px; background: #fff; box-shadow: 0 0 0 1px #dcdce0; }
.vs__bar b { font-weight: 700; }
.vs__bar--hand b { color: #d4380d; }
.vs__bar--ai b { color: var(--accent); }
.vs__bar i { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; color: var(--muted); }
.vs__btn { padding: 2px 8px; border: 0; border-radius: 5px; background: #e5e5ea; color: #3a3a3c; font: inherit; font-size: 9px; font-weight: 600; transition: background .15s, transform .15s; }
.vs__bar--ai .vs__btn { background: var(--accent); color: #fff; }
.vs__btn.is-pressed { transform: scale(.92); background: #c7c7cc; }
.vs__bar--ai .vs__btn.is-pressed { background: #0f2a52; }
.vs__btn.is-done::before { content: '✓ '; }
.vs__page { overflow: hidden; }
.vs__cursor { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.vs__cursor svg { display: block; fill: #111; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.vs__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: var(--accent); box-shadow: 0 0 8px 1px rgba(29, 74, 138, .45); opacity: 0; }
.vs__side--ai .vs__x::after { display: grid; place-items: center; content: attr(data-id); color: #fff; font: 700 5px/1 var(--font); letter-spacing: .06em; overflow: hidden; }

/* The AIPX side: a mini version of the custom redactor app (upload, processing, review, result) */
.ap { position: relative; height: 100%; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ap__s { position: absolute; inset: 0; padding: 8px 10px; background: #fff; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ap__s.is-on { opacity: 1; }
.ap h6 { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ap h6 small { font-size: 8px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ap__drop { display: grid; place-items: center; height: 54px; border: 1.5px dashed #c7c7cc; border-radius: 8px; font-size: 9px; color: var(--muted); }
.ap__files { margin: 8px 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.ap__files li { padding: 3px 8px; border-radius: 5px; background: var(--bg-alt); font-size: 8.5px; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.ap__files li.is-in { opacity: 1; transform: none; }
.ap__btn { padding: 3px 10px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; font-size: 9px; font-weight: 600; transition: transform .15s, background .15s; }
.ap__btn.is-pressed { transform: scale(.92); background: #0f2a52; }
.ap__start { display: block; margin: 0 auto; }
.ap__status { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 10px; }
.ap__spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #e5e5ea; border-top-color: var(--accent); animation: ap-spin .8s linear infinite; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap__track { height: 5px; border-radius: 3px; background: #e5e5ea; overflow: hidden; }
.ap__track i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.ap__found { margin: 14px 0 0; font-size: 11px; color: var(--muted); }
.ap__found b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ap .vs__page.f99 { box-shadow: 0 0 0 1px var(--line); }
.ap__act { position: absolute; left: 10px; right: 10px; bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0; font-size: 8.5px; color: var(--muted); }
.ap__act b { color: var(--text); }
.ap__rev .vs__x::after { transform: none; opacity: var(--o, 1); background: rgba(250, 204, 21, .5); box-shadow: inset 0 0 0 1px #ca8a04; color: #7a5b00; }
.ap__cur { z-index: 5; }
@media (prefers-reduced-motion: reduce) { .ap__spin { animation: none; } }

/* Redaction before it is played: a still with every item to redact highlighted. By hand each one is its own numbered
   click; with AIPX it is one button. Picking the demo plays it (demo.js). */
#redactorDemo { cursor: pointer; }
.vs--idle .vs__cursor { display: none; }
.vs--idle .vs__side--hand .vs__x::after { transform: none; background: rgba(250, 204, 21, .55); }
.vs--idle .vs__side--hand .vs__miss { background: rgba(250, 204, 21, .55); }
.vs--idle [data-step] { position: relative; }
.vs--idle [data-step]::before {
  content: attr(data-step); position: absolute; z-index: 3; left: -7px; top: -6px; width: 11px; height: 11px; display: grid; place-items: center;
  border-radius: 50%; background: #111; color: #fff; font: 700 7px/1 var(--font); box-shadow: 0 0 0 1.5px #fff;
}
.vs--idle .vs__side--ai [data-step]::before { background: var(--accent); }
.vs--idle .vs__bar [data-step]::before { left: -6px; top: -6px; }
.vs__watch {
  position: absolute; left: 50%; top: 77%; transform: translate(-50%, -50%); z-index: 6; display: grid; place-items: center;
  width: clamp(30px, 5.5vw, 44px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: var(--text); color: #fff; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5), 0 0 0 3px #fff;
  transition: transform .15s;
}
.vs__watch svg { width: 42%; height: 42%; fill: currentColor; margin-left: 6%; }
.vs__watch .vs__again, .vs__watch.is-replay svg { display: none; margin-left: 0; }
.vs__watch.is-replay .vs__again { display: block; }
.vs__watch:hover { transform: translate(-50%, -50%) scale(1.08); }
.vs__watch[hidden] { display: none; }
.demos__caption:empty { display: none; }

/* Document search: both sides drawn as chat apps. A general chatbot needs the files found, attached and uploaded first;
   AIPX is already connected to the case database, so you just ask. */
.cb { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #dcdce0, 0 8px 22px -12px rgba(0, 0, 0, .25); font-size: 9.5px; }
.cb__top { flex: none; display: flex; align-items: center; gap: 5px; height: 20px; margin: 0; padding: 0 10px; border-bottom: 1px solid #eee; font-size: 8.5px; color: var(--muted); }
.cb__top b { font-weight: 600; color: var(--text); }
.cb__top span { margin-left: auto; color: #15803d; font-weight: 600; }
.cb__top svg { fill: none; stroke: #15803d; stroke-width: 2.2; stroke-linecap: round; }
.cb__thread { position: relative; flex: 1; min-height: 0; padding: 8px 10px 0; display: flex; flex-direction: column; gap: 6px; }
.cb__hello { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--text); transition: opacity .2s; }
.cb.is-sent .cb__hello { opacity: 0; }
.cb__msg { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.cb.is-sent .cb__msg--user, .cb.is-think .cb__msg--bot, .cb.is-stream .cb__msg--bot { opacity: 1; transform: none; }
.cb__msg--user { align-self: flex-end; max-width: 92%; }
.cb__q { margin: 0 0 0 auto; width: fit-content; max-width: 100%; padding: 5px 9px; border-radius: 12px; background: #f1f1f3; font-size: 9.5px; line-height: 1.35; }
.cb__msg--bot { display: flex; gap: 6px; }
.cb__av { flex: none; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; background: var(--text); }
.cb--ai .cb__av { background: var(--accent); }
.cb__dots { display: flex; gap: 3px; margin: 5px 0 0; }
.cb__dots i { width: 4px; height: 4px; border-radius: 50%; background: #8e8e93; animation: cb-dot 1s ease-in-out infinite; }
.cb__dots i:nth-child(2) { animation-delay: .15s; }
.cb__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cb-dot { 50% { opacity: .25; } }
.cb.is-stream .cb__dots { display: none; }
.cb__ans { display: none; margin-top: 1px; font-size: 9.5px; line-height: 1.45; }
.cb.is-stream .cb__ans { display: block; }
.cb__ans p { margin: 0 0 4px; }
.cb__ans ul { margin: 0 0 4px; padding-left: 12px; }
.cb__ans li { margin: 0 0 2px; }
.cb__ans b { font-weight: 700; }
.cb__ans .cb__note { color: var(--muted); }
.cb__caret { display: inline-block; width: 5px; height: 5px; margin-left: 2px; vertical-align: 0; border-radius: 50%; background: var(--text); }
.cb--ai .cb__caret { background: var(--accent); }
.cb__msg--bot > div { min-width: 0; }
.cb__big { margin: 0 0 3px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.cb--ai .cb__big { color: var(--accent); }
.cb__big small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.cb__from { margin: 0; font-size: 8.5px; color: var(--muted); }
.cb__row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 3px 0; border-top: 1px solid rgba(29, 74, 138, .14); font-size: 9.5px; }
.cb__srcs { display: none; flex-wrap: wrap; gap: 3px; margin: 2px 0 0; }
.cb.is-answered .cb__srcs { display: flex; }
.cb__srcs span { padding: 1px 5px; border-radius: 4px; background: #f6f6f8; font-size: 8px; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.cb__atts { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 0; list-style: none; }
.cb__atts li { position: relative; display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 7px; background: #f6f6f8; box-shadow: 0 0 0 1px #e2e2e6; font-size: 8px; overflow: hidden; }
.cb__ico { width: 8px; height: 10px; border-radius: 2px; background: #ef4444; }
.cb__ico--x { background: #16a34a; }
.cb__atts s { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.cb__atts--sent { justify-content: flex-end; margin-bottom: 3px; }
.cb__atts--comp li { opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.cb__atts--comp li.is-in { opacity: 1; transform: none; }
.cb.is-sent .cb__atts--comp { display: none; }
.cb__comp { flex: none; margin: 0 8px 8px; padding: 6px 8px; border-radius: 14px; background: #f4f4f6; box-shadow: 0 0 0 1px #e2e2e6; display: grid; gap: 5px; }
.cb--ai .cb__comp { background: #fff; box-shadow: 0 0 0 1.5px rgba(29, 74, 138, .35); }
.cb__row { display: flex; align-items: center; gap: 6px; }
.cb__plus { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e5e5ea; color: #3a3a3c; font-size: 12px; line-height: 1; }
.cb__plus--db { background: rgba(29, 74, 138, .12); }
.cb__plus--db svg { fill: none; stroke: var(--accent); stroke-width: 2; }
.cb__input { flex: 1; position: relative; min-height: 14px; display: flex; align-items: center; font-size: 9.5px; }
.cb__ph { position: absolute; left: 0; color: #9a9aa0; }
.cb__typed:not(:empty) + .cb__ph { display: none; }
.cb__typed:not(:empty)::after { content: ''; display: inline-block; width: 1px; height: 10px; margin-left: 1px; vertical-align: -1px; background: var(--text); }
.cb__send { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #c7c7cc; color: #fff; font-size: 10px; font-weight: 700; transition: background .15s; }
.cb.is-typing .cb__send { background: var(--text); }
.cb--ai.is-typing .cb__send { background: var(--accent); }
.cb__pick { position: absolute; left: 8px; right: 8px; bottom: 52px; padding: 6px 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #dcdce0, 0 10px 24px -8px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 3; }
.cb__pick p { margin: 0 0 4px; font-size: 8px; font-weight: 600; color: var(--muted); }
.cb__pick ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.cb__pick li { display: flex; align-items: center; gap: 6px; padding: 2px 4px; border-radius: 4px; font-size: 9px; }
.cb__pick li.is-on { background: rgba(10, 132, 255, .12); }
.cb__chk { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px #c7c7cc; }
.cb__pick li.is-on .cb__chk { background: #0a84ff; box-shadow: none; }
.cb.is-picking .cb__pick { opacity: 1; transform: none; }
.cb.is-sent .cb__pick { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cb__dots i { animation: none; } }
.cb__stat { margin-left: 4px; font-size: 8.5px; line-height: 1; color: var(--muted); }
.cb__dots { align-items: center; }

/* Redaction on a whole case file: a scrolling PDF viewer on each side (pages are built in demo.js) */
.mp { position: relative; height: calc(100% - 20px); overflow: hidden; border-radius: 8px; background: #e9e9ee; box-shadow: 0 0 0 1px #dcdce0; }
.mp__bar { display: flex; align-items: center; gap: 6px; height: 24px; margin: 0; padding: 0 6px 0 8px; background: #fff; border-bottom: 1px solid #dcdce0; font-size: 8.5px; }
.mp__bar b { font-weight: 700; color: #d4380d; }
.mp--ai .mp__bar b { color: var(--accent); }
.mp__bar i { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; color: var(--muted); }
.mp__pg { margin-left: auto; font-size: 8px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mp__pg em { font-style: normal; font-weight: 700; color: var(--text); }
.mp__btn { padding: 2px 8px; border: 0; border-radius: 5px; background: #e5e5ea; color: #3a3a3c; font: inherit; font-size: 8.5px; font-weight: 600; transition: background .15s, transform .15s; }
.mp__btn--ai { background: var(--accent); color: #fff; }
.mp__btn.is-pressed { transform: scale(.92); background: #c7c7cc; }
.mp__btn--ai.is-pressed { background: #0f2a52; }
.mp__btn.is-done::before { content: '✓ '; }
.mp__view { position: relative; height: calc(100% - 24px); overflow: hidden; }
.mp__track { position: relative; padding-top: 8px; will-change: transform; }
.mp__page { width: 236px; height: 300px; margin: 0 auto 10px; padding: 12px 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); font-family: var(--font); font-size: 8px; line-height: 1.35; color: #222; }
.mp__page--form { padding: 12px 12px; }
.mp__title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; padding-bottom: 3px; border-bottom: 1.5px solid #222; font-size: 9px; font-weight: 700; }
.mp__title span { font-size: 7px; font-weight: 400; color: #777; }
.mp__ln { display: block; height: 4px; margin: 5px 0; border-radius: 2px; background: #e6e6eb; }
.mp__row { margin: 8px 0 0; font-weight: 600; }
.mp__row span { font-weight: 400; color: #666; }
.mp .vs__x::after { content: ''; transform: none; opacity: 0; background: #000; transition: opacity .12s; }
.mp .vs__x.is-selected::after { opacity: 1; background: rgba(10, 132, 255, .35); }
.mp .vs__x.is-marked::after { opacity: 1; background: rgba(229, 72, 77, .14); box-shadow: inset 0 0 0 1px #e5484d; }
.mp .vs__x.is-found::after { opacity: 1; background: rgba(250, 204, 21, .55); box-shadow: inset 0 0 0 1px #ca8a04; }
.mp .vs__x.is-done::after { opacity: 1; background: #000; box-shadow: none; }
.mp--ai .vs__x.is-done::after { content: attr(data-id); display: grid; place-items: center; color: #fff; font: 700 5px/1 var(--font); letter-spacing: .06em; overflow: hidden; }
.vs--idle .mp--hand .vs__x::after { opacity: 1; background: rgba(250, 204, 21, .55); }
.vs.hand-done .mp--hand .vs__miss { outline: 2px solid #e5484d; outline-offset: 2px; border-radius: 3px; animation: vs-ring .45s cubic-bezier(.3, 1.5, .5, 1) .1s both; }
.mp__s { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none; }
.mp__s.is-on { opacity: 1; }
.mp__up { padding: 10px; background: #fff; }
.mp__up h6 { margin: 0 0 6px; font-size: 10px; font-weight: 700; }
.mp__drop { display: grid; place-items: center; height: 70px; border: 1.5px dashed #c7c7cc; border-radius: 8px; font-size: 9px; color: var(--muted); }
.mp__file { display: flex; align-items: center; gap: 6px; margin: 10px 0; padding: 6px 8px; border-radius: 6px; background: var(--bg-alt); font-size: 9px; font-weight: 600; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.mp__file.is-in { opacity: 1; transform: none; }
.mp__file small { margin-left: auto; font-weight: 400; color: var(--muted); }
.mp__pdf { display: grid; place-items: end center; width: 12px; height: 15px; padding-bottom: 2px; border-radius: 2px; background: #ef4444; color: #fff; font-size: 5px; font-weight: 700; }
.mp__start { display: block; margin: 0 auto; padding: 4px 12px; font-size: 9px; }
.mp__stats { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0; padding: 4px 6px 4px 9px; border-radius: 9px; background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 1px #dcdce0, 0 6px 16px -6px rgba(0, 0, 0, .3); font-size: 9px; font-variant-numeric: tabular-nums; }
.mp__stats b { font-weight: 700; }
.mp__ok { opacity: 0; color: #15803d; transition: opacity .3s; }
.vs.ai-done .mp__ok { opacity: 1; }
.mp .vs__cursor { z-index: 5; }
.mp .vs__miss { font-weight: inherit; color: inherit; }
.mp .vs__miss::after, .vs.hand-done .mp .vs__miss::after { inset: 0; border: 0; border-radius: 0; animation: none; }

/* Booking card: one centered column (heading, soonest openings, calendar, times) */
.book { max-width: 800px; }
.booking { padding: 44px 56px 34px; color: var(--text); }
.booking__info { text-align: center; }
.booking__info .booking__sub { margin-bottom: 22px; }
.booking__slots, .booking__form { max-width: 100%; }
.meta { justify-content: center; }
.day { width: 100%; max-width: 62px; justify-self: center; font-size: 1rem; }
.cal__grid { row-gap: 8px; column-gap: 8px; }
.cal__dow { column-gap: 8px; font-size: .74rem; }
.cal__head h4 { font-size: 1.2rem; }
.cal__nav { width: 38px; height: 38px; }
@media (max-width: 700px) { .booking { padding: 28px 18px 22px; } .cal__grid, .cal__dow { column-gap: 4px; } }

/* Gold accents + booking card on the navy hero */
.quick__dot { background: #34c759; }
.hero { padding-bottom: 56px; }
.hero .ticker { margin-top: 56px; }

/* Compact booking card: heading, soonest openings and the whole month fit on one screen */
.booking { padding: 26px 44px 20px; }
.booking__info h3 { font-size: 1.25rem; margin-bottom: 14px; }
.quick { padding: 12px 14px 12px; margin-bottom: 4px; }
.quick__label { justify-content: center; margin-bottom: 10px; font-size: 1rem; }
.quick__btn { padding: .55em .4em; border-radius: 12px; }
.quick__day { font-size: 1rem; }
.quick__time { font-size: .88rem; }
.quick__tag { font-size: .62rem; min-height: 0; }
.quick__tag:empty { display: none; }
.quick__or { margin-top: 10px; }
.cal__head { margin-bottom: 8px; }
.cal__head h4 { font-size: 1.05rem; }
.cal__nav { width: 32px; height: 32px; }
.cal__dow { margin-bottom: 4px; font-size: .68rem; }
.cal__grid { row-gap: 4px; }
.day { aspect-ratio: auto; height: 40px; width: 40px; max-width: none; font-size: .92rem; }
.meta { margin-top: 12px; padding-top: 12px; }
@media (max-width: 700px) { .booking { padding: 22px 16px 16px; } }

/* Booking form: all fields visible, two per row */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
textarea.is-invalid, select.is-invalid { border-color: var(--danger); }
.booking__form { max-width: 100%; }

/* Smooth step changes: old panel fades out, new one eases in, the card resizes instead of snapping */
.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity .14s ease, transform .14s ease; pointer-events: none; }
.booking__form:not([hidden]), .booking__done:not([hidden]), #stepPick:not([hidden]), .booking__slots:not([hidden]) { animation: step-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.slot, .day, .quick__btn { transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.slot:active, .day.is-available:active { transform: scale(.95); }
.booking__slots { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .is-leaving, .booking__form, .booking__done, #stepPick, .booking__slots { animation: none !important; transition: none !important; } }

/* Chosen time: a clear card with a real Change button instead of a text link */
.chosen { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(29, 74, 138, .2); }
.chosen__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; }
.chosen__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chosen__text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.chosen__text small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chosen__text strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.chosen__btn { flex: none; cursor: pointer; border: 0; border-radius: 980px; padding: .5em 1.1em; background: var(--surface); color: var(--accent); font: inherit; font-size: .88rem; font-weight: 600; box-shadow: 0 0 0 1px rgba(29, 74, 138, .3); transition: background .15s, color .15s, transform .15s; }
.chosen__btn:hover { background: var(--accent); color: #fff; }
.chosen__btn:active { transform: scale(.96); }
@media (max-width: 420px) { .chosen { flex-wrap: wrap; } .chosen__btn { margin-left: auto; } }

/* Phone agent demo (Hermes). By hand: a call log of hold music, voicemail and call-backs. With AIPX: approve, then answers. */
#phoneDemo .vs__side--hand .vs__clock::after, #customDemo .vs__side--hand .vs__clock::after { content: none; }
.ph, .hm { position: relative; height: 100%; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #dcdce0, 0 8px 22px -12px rgba(0, 0, 0, .25); font-size: 10px; }
.ph__top, .hm__top { display: flex; align-items: center; gap: 6px; height: 22px; margin: 0; padding: 0 10px; border-bottom: 1px solid #eee; font-size: 9px; color: var(--muted); }
.ph__top b, .hm__top b { font-weight: 700; color: var(--text); }
.ph__top span, .hm__top span { margin-left: auto; }
.hm__top b { color: var(--accent); }
.ph__log { margin: 0; padding: 6px 8px; display: grid; gap: 4px; }
.ph__log li { display: none; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; background: #f6f6f8; box-shadow: 0 0 0 1px #e8e8ec; animation: ev-in .25s ease; }
.ph__log li.is-in { display: flex; }
.ph__ic { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #c7c7cc; }
.ph__log li.is-live .ph__ic { background: #f59e0b; animation: live2 1.1s ease-in-out infinite; }
.ph__log li.is-bad .ph__ic { background: #e5484d; }
.ph__log li.is-good .ph__ic { background: #16a34a; }
.ph__log b { display: block; font-size: 10.5px; font-weight: 600; }
.ph__log small { display: block; font-size: 8.5px; color: var(--muted); }
.ph__log em { margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 600; color: #8e8e93; text-align: right; }
.ph__log li.is-bad em { color: #c2272d; }
.ph__log li.is-good em { color: #15803d; }
@keyframes live2 { 50% { opacity: .35; } }
@keyframes ev-in { from { opacity: 0; transform: translateY(4px); } }
.hm__thread { padding: 8px 10px; display: grid; gap: 6px; align-content: start; }
.hm__user { justify-self: end; max-width: 92%; margin: 0; padding: 5px 9px; border-radius: 12px 12px 3px 12px; background: var(--navy); color: #fff; font-size: 9.5px; line-height: 1.35; }
.hm__user, .hm__card, .hm__ans p { display: none; }
.hm__user.is-in, .hm__card.is-in, .hm__ans p.is-in { display: block; animation: ev-in .3s ease; }
.hm__card { padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(29, 74, 138, .2); }
.hm__card p { margin: 0; }
.hm__ask { font-size: 9.5px; }
.hm__run { display: none; font-size: 9.5px; }
.hm__card.is-running .hm__ask, .hm__card.is-running .hm__btns { display: none; }
.hm__card.is-running .hm__run { display: block; }
.hm__calls { margin: 5px 0 0; padding: 0; display: grid; gap: 3px; }
.hm__calls li { display: flex; align-items: baseline; gap: 6px; font-size: 9.5px; }
.hm__calls em { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-style: normal; color: var(--muted); }
.hm__calls span { display: none; color: #a1a1aa; }
.hm__card.is-running .hm__calls span { display: block; }
.hm__calls span.is-done { color: #15803d; font-weight: 600; }
.hm__btns { display: flex; gap: 6px; margin-top: 7px; }
.hm__ok, .hm__no { padding: 3px 12px; border-radius: 999px; font-size: 9px; font-weight: 600; }
.hm__ok { background: var(--accent); color: #fff; transition: transform .15s, background .15s; }
.hm__ok.is-pressed { transform: scale(.92); background: #0f2a52; }
.hm__no { color: var(--muted); box-shadow: inset 0 0 0 1px #d2d2d7; }
.hm__ans { display: grid; gap: 4px; }
.hm__ans p { margin: 0; padding: 5px 9px; border-radius: 10px 10px 10px 3px; background: #f1f1f3; font-size: 9.5px; line-height: 1.35; }
.hm__ans .hm__note { background: none; padding: 0 2px; color: var(--muted); font-size: 8.5px; }
.hm__card.is-finished .hm__run { display: none; }
.hm__card.is-finished .hm__calls { margin-top: 0; }
.hm__card.is-finished .hm__calls em { display: none; }
.hm__card.is-finished .hm__calls li { justify-content: space-between; }
.hm__card.is-running:not(.is-finished) .hm__run { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .ph__ic { animation: none !important; } }

/* Five tabs: let them wrap on narrow screens */
.demos__tabs { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.demos__tabs button { font-size: .84rem; padding: .45em .9em; }

/* Custom agent demo, by hand: a mini browser with Gmail and a search tab (all drawn, nothing real) */
.gm { position: relative; height: 100%; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #dcdce0, 0 8px 22px -12px rgba(0, 0, 0, .25); font-size: 9px; }
.gm__tabs { display: flex; gap: 3px; height: 22px; padding: 4px 6px 0; background: #e9e9ee; }
.gm__tab { padding: 3px 10px; border-radius: 6px 6px 0 0; color: var(--muted); font-size: 8.5px; white-space: nowrap; }
.gm__tab.is-on { background: #fff; color: var(--text); font-weight: 600; }
.gm__url { height: 22px; padding: 4px 8px; border-bottom: 1px solid #eee; }
.gm__urltext { display: block; height: 14px; padding: 0 9px; border-radius: 7px; background: #f1f1f3; font-size: 8px; line-height: 14px; color: #555; }
.gm__body { position: relative; height: calc(100% - 44px); }
.gm__scene { position: absolute; inset: 0; display: none; padding: 6px 8px; }
.gm__scene.is-on { display: block; }
.gm__list li { display: flex; align-items: center; gap: 6px; height: 28px; margin-bottom: 2px; padding: 0 6px; border-radius: 6px; border-bottom: 1px solid #f0f0f2; white-space: nowrap; overflow: hidden; }
.gm__list b { flex: none; width: 54px; overflow: hidden; text-overflow: ellipsis; font-size: 8.5px; font-weight: 700; }
.gm__sub { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 8.5px; }
.gm__list i { display: none; }
.gm__av { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #c7c7cc; }
.gm__list li:nth-child(-n+3) .gm__av { background: #ea8a3c; }
.gm__list li.is-sel { background: #dbe8fb; }
.gm__list li.is-done { opacity: .45; }
.gm__list li.is-done b, .gm__list li.is-done .gm__sub { font-weight: 400; }
.gm__list li.is-done::after { content: '✓'; flex: none; color: #15803d; font-weight: 700; }
.gm__from { margin: 0 0 3px; font-size: 9px; } .gm__from span { color: var(--muted); }
.gm__subj { margin: 0 0 8px; font-size: 11px; font-weight: 700; }
.gm__line { margin: 0 0 4px; height: 11px; font-size: 9px; color: #333; opacity: 0; transition: opacity .15s; }
.gm__line.is-in { opacity: 1; }
.gm__btn { position: absolute; right: 10px; padding: 4px 12px; border-radius: 999px; font-size: 8.5px; font-weight: 600; transition: transform .12s, background .12s; }
.gm__btn--reply { bottom: 10px; background: #fff; box-shadow: inset 0 0 0 1px #c7c7cc; }
.gm__btn--send { bottom: 8px; background: #0b57d0; color: #fff; }
.gm__btn--send.is-pressed { transform: scale(.92); background: #0842a0; }
.gm__search { margin: 0 0 8px; height: 22px; padding: 0 10px; border-radius: 11px; box-shadow: 0 0 0 1px #dcdce0; font-size: 9px; line-height: 22px; }
.gm__q:not(:empty)::after { content: ''; display: inline-block; width: 1px; height: 10px; margin-left: 1px; vertical-align: -1px; background: var(--text); }
.gm__res { display: grid; gap: 5px; }
.gm__res.is-hidden { display: none; }
.gm__res li { display: none; }
.gm__res li.is-in { display: block; animation: ev-in .2s ease; }
.gm__res b { display: block; color: #1a0dab; font-size: 10px; font-weight: 500; }
.gm__res small { color: #555; font-size: 8px; }
.gm__fact { display: none; margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: #f6f6f8; font-size: 10px; font-weight: 600; line-height: 1.4; }
.gm__fact.is-in { display: block; animation: ev-in .2s ease; }
.gm__to { margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid #eee; font-size: 9px; } .gm__to span { color: var(--muted); margin-right: 8px; }
.gm__typed { margin: 0; font-size: 9.5px; line-height: 1.45; min-height: 60px; }
.gm__count { position: absolute; left: 8px; bottom: 6px; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgba(11, 31, 58, .88); color: #fff; font-size: 8.5px; font-variant-numeric: tabular-nums; z-index: 4; }
.gm__count.is-late { background: #c2272d; }
.gm .vs__cursor { z-index: 6; }

/* Demo carousel: full-width banners you swipe (or arrow / dot) between */
.demos__viewport { position: relative; overflow: hidden; border-radius: 16px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14); }
.demos__viewport:active { cursor: grabbing; }
.demos__track { display: flex; transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.demos__track > .rd { flex: 0 0 100%; border-radius: 0; box-shadow: none; }
.demos__arrow {
  position: absolute; top: 50%; z-index: 8; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--navy); background: rgba(247, 240, 225, .94);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); transition: transform .15s, opacity .2s, background .15s;
}
.demos__arrow svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demos__arrow--prev { left: 12px; } .demos__arrow--next { right: 12px; }
.demos__arrow:hover:not(:disabled) { background: var(--gold); color: #fff; transform: scale(1.06); }
.demos__arrow:disabled { opacity: 0; pointer-events: none; }
.demos__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.demos__label { margin: 0; min-width: 9.5em; text-align: right; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.demos__dots { display: flex; gap: 8px; }
.demos__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .35); transition: width .25s, background .25s; }
.demos__dot:hover { background: rgba(255, 255, 255, .6); }
.demos__dot.is-on { width: 28px; background: var(--gold); }
@media (max-width: 720px) { .demos__nav { gap: 12px; } .demos__label { min-width: 0; font-size: 1rem; } .demos__arrow { width: 36px; height: 36px; margin-top: -18px; } }
@media (prefers-reduced-motion: reduce) { .demos__track { transition: none; } }

/* Banner belt: demos sit on one endless loop that runs the full width of the screen. demo.js places and fades each one by its
   distance from the middle, so you see the next banner waiting at the edge and it fades up as you drag it in. */
.demos__viewport { overflow: visible; box-shadow: none; border-radius: 0; aspect-ratio: 16 / 10; cursor: grab; }
.demos__viewport.is-dragging { cursor: grabbing; }
.demos__viewport::before { content: ''; position: absolute; top: -12px; bottom: -12px; left: -100vw; right: -100vw; }   /* grab the belt anywhere across the screen */
.demos__track { position: absolute; inset: 0; display: block; transform: none !important; transition: none; }
.demos__track > .rd {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transition: none; will-change: transform, opacity;
  border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14);
}
.demos__dot { width: 28px; height: 4px; }
.demos__dot.is-on { width: 44px; }
.hero { padding-top: 24px; }

/* Times move to the top-right of each side (where the app names used to be); the apps get the freed room at the bottom */
.vs__tag { margin: 0 0 12px; font-size: 20px; }
.vs__clock {
  left: auto; right: 26px; top: 18px; bottom: auto; padding-top: 0; border-top: 0;
  font-size: 26px; line-height: 1; text-align: right; white-space: nowrap;
}
.vs__side--ai .vs__clock::after, .vs__side--hand .vs__clock::after { width: 22px; height: 22px; margin-left: 7px; vertical-align: 2px; font-size: 12px; }
.vs__doc { height: 306px; }
.gm { height: 100%; }

/* Keep the label and the time on one row without touching (Document Search is the longest label) */
.vs__tag { font-size: 16px; white-space: nowrap; letter-spacing: -.01em; }
.vs__clock { top: 20px; font-size: 20px; letter-spacing: -.02em; }
.vs__side--ai .vs__clock::after, .vs__side--hand .vs__clock::after { width: 18px; height: 18px; margin-left: 5px; font-size: 10px; vertical-align: 1px; }
.vs__side { padding-left: 22px; padding-right: 22px; }
.vs__clock { right: 22px; }
