/* Myrmur marketing site.
   Brand tokens follow the portal design contract: Warm Ivory, Ink, Rosso
   Corsa, Deep Crimson; Geist Sans, Geist Mono only for numbers, SIP
   addresses and codes. Red means "live": the answered call, the live route,
   the primary action. */

:root {
  --ivory: #F7F4EF;
  --paper: #FDFCF9;
  --ink: #111111;
  --graphite: #292929;
  --muted: #6A645C;
  --faint: #8F887E;
  --red: #D40000;
  --red-hover: #B30000;
  --crimson: #8A0000;
  --hair: rgba(17, 17, 17, .10);
  --hair-strong: rgba(17, 17, 17, .20);

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --t-small: .875rem;
  --t-body: 1rem;
  --t-lede: 1.1875rem;
  --t-h3: 1.125rem;
  --t-h2: clamp(2.1rem, 3.9vw, 3.25rem);
  --t-display: clamp(2.8rem, 5.6vw, 5.5rem);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font: 400 var(--t-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: -.01em; font-feature-settings: "tnum"; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--ivory); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font: 500 var(--t-small)/1 var(--sans); text-decoration: none;
  transition: background-color 180ms ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ink { background: var(--ink); color: var(--ivory); height: 38px; padding: 0 18px; }
.btn-ink:hover { background: var(--graphite); }
.link {
  font-weight: 500; font-size: var(--t-small); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--hair-strong);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color 180ms ease;
}
.link:hover { text-decoration-color: currentColor; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--graphite); max-width: 34em; }

/* ------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 var(--gutter);
  background: rgba(247, 244, 239, .95); backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow 240ms ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--hair); }
.nav-mark img { width: 36px; height: 36px; }
.nav nav { display: flex; gap: 30px; }
.nav nav a, .nav-signin { font-size: var(--t-small); font-weight: 500; text-decoration: none; color: var(--graphite); }
.nav nav a:hover, .nav-signin:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }

/* ------------------------------------------------------------ hero */
.hero {
  max-width: 1440px; margin: 0 auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-rows: 1fr auto;
  column-gap: 32px;
  padding: 108px var(--gutter) 40px;
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; max-width: 36rem; position: relative; z-index: 1; }
.hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -.045em; margin-bottom: 28px; }
.hero .lede { margin-bottom: 34px; }

.film { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; position: relative; width: min(100%, 72vh, 640px); aspect-ratio: 1; }
.film-video { position: relative; width: 100%; height: 100%; object-fit: contain; }
.film-shadow {
  position: absolute; left: 14%; right: 6%; top: 18%; bottom: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 40, 30, .20), rgba(60, 40, 30, .08) 55%, transparent 100%);
  filter: blur(26px);
  transform: translate(3%, 5%);
}
.film-toggle {
  position: absolute; right: 0; bottom: -6px;
  appearance: none; border: 0; background: none; cursor: pointer;
  font: 500 12px/1 var(--sans); color: var(--faint); padding: 8px 0;
}
.film-toggle:hover { color: var(--ink); }

.index {
  grid-column: 1 / -1; grid-row: 2;
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.index li { border-top: 1px solid var(--hair-strong); padding-top: 16px; }
.index b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.index span { font-size: var(--t-small); color: var(--muted); }

/* ------------------------------------------------------------ blocks */
section[id] { scroll-margin-top: 68px; }
.block { padding: 136px 0; }
.block h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; max-width: 16em; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.split > figure { position: sticky; top: 132px; }
.split-rev > .copy { order: 2; }
.split-rev > figure { order: 1; }
.head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 72px; align-items: end; margin-bottom: 64px; }
.head h2 { margin-bottom: 0; }

.facts { margin: 44px 0 0; border-top: 1px solid var(--hair-strong); }
.facts div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.facts dt { color: var(--ink); font-weight: 500; }
.facts dd { margin: 0; color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.grid3 > section, .grid3 > div { padding: 26px 0 32px; border-top: 1px solid var(--hair-strong); }
.grid3 h3, .grid3 dt { font-size: var(--t-h3); letter-spacing: -.01em; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.grid3 p, .grid3 dd { margin: 0; color: var(--muted); }

.numbers { background: var(--paper); }

/* ------------------------------------------------------------ product fragments */
.ui {
  margin: 0; background: var(--paper); border-radius: 20px;
  padding: 26px 28px 28px;
  box-shadow: 0 1px 0 var(--hair), 0 0 0 1px rgba(17, 17, 17, .04), 0 40px 70px -48px rgba(40, 20, 10, .45);
}
.numbers .ui { background: var(--ivory); }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ui-num { white-space: nowrap; font-size: 1.375rem; color: var(--ink); font-weight: 500; letter-spacing: -.02em; }
.ui-title { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.ui-muted { color: var(--faint); font-size: var(--t-small); }
.ui-sub { font-size: var(--t-small); color: var(--muted); margin: 4px 0 18px; }
.ui-field { border-top: 1px solid var(--hair); padding: 16px 0 4px; }
.ui-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ui-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ui-options li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; }
.ui-options i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--hair-strong); flex: none; }
.ui-options li.is-on { background: rgba(41, 41, 41, .06); color: var(--ink); }
.ui-options li.is-on i { border: 4px solid var(--red); }
.ui-val { margin-left: auto; font-size: 13px; color: var(--muted); }
.ui-status { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); padding-bottom: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; box-shadow: 0 0 0 4px rgba(212, 0, 0, .12); }
.pill { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(41, 41, 41, .07); color: var(--graphite); white-space: nowrap; }
.pill-live { background: rgba(212, 0, 0, .09); color: var(--crimson); }

.turns { list-style: none; margin: 18px 0 0; padding: 0; }
.turns li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.turns b { font-weight: 500; font-size: 13px; color: var(--faint); padding-top: 2px; }
.turns p { color: var(--muted); }
.turns .agent p { color: var(--ink); }
.ui-foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 14px; }
.ui-foot b { font-weight: 500; color: var(--ink); }

.bubbles { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bubbles li { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.bubbles .in { align-self: flex-start; background: rgba(41, 41, 41, .07); color: var(--ink); border-bottom-left-radius: 6px; }
.bubbles .out { align-self: flex-end; background: var(--ink); color: var(--ivory); border-bottom-right-radius: 6px; }
.bubbles .out.ai { background: #3a3634; }
.bubbles .marker { align-self: center; max-width: none; background: none; padding: 6px 0; font-size: 12px; color: var(--crimson); }

/* ------------------------------------------------------------ delivery (dark) */
.delivery { background: #121110; color: rgba(247, 244, 239, .7); }
.delivery h2, .delivery h3 { color: var(--ivory); }
.delivery .lede { color: rgba(247, 244, 239, .72); }
.delivery .grid3 > section { border-color: rgba(247, 244, 239, .16); }
.delivery .grid3 p { color: rgba(247, 244, 239, .6); }
.delivery .mono { color: rgba(247, 244, 239, .86); }

.trace {
  margin: 0 0 72px; border-radius: 20px; padding: 26px 30px 24px;
  background: #1C1A18; box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .07);
}
.trace figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-small); padding-bottom: 18px; border-bottom: 1px solid rgba(247, 244, 239, .1); }
.trace figcaption span:first-child { color: var(--ivory); font-weight: 500; }
.trace figcaption .mono { color: rgba(247, 244, 239, .5); }
.trace ol { list-style: none; margin: 0; padding: 8px 0 0; position: relative; }
.trace li {
  display: grid; grid-template-columns: 22px minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 16px 0; position: relative;
}
.trace li + li { border-top: 1px solid rgba(247, 244, 239, .06); }
.t-dot { width: 10px; height: 10px; border-radius: 50%; justify-self: center; border: 1.5px solid rgba(247, 244, 239, .35); }
.t-ok .t-dot { background: #E3161B; border-color: #E3161B; box-shadow: 0 0 0 5px rgba(227, 22, 27, .18); }
.t-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-main .mono { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-meta { font-size: 13px; color: rgba(247, 244, 239, .45); }
.t-result { font-size: 15px; color: rgba(247, 244, 239, .55); }
.t-ok .t-result { color: var(--ivory); font-weight: 500; }
.t-rules { margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(247, 244, 239, .1); font-size: var(--t-small); color: rgba(247, 244, 239, .55); }
.t-rules b { color: var(--ivory); font-weight: 500; }

/* motion in answer to arrival: the trace plays once when it comes into view */
.js .trace li { opacity: .25; transition: opacity 500ms ease; }
.js .trace.is-playing li.is-shown { opacity: 1; }
.js .trace .t-rules { opacity: 0; transition: opacity 500ms ease; }
.js .trace.is-done .t-rules { opacity: 1; }

/* ------------------------------------------------------------ platforms */
.plat { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0 56px; margin-bottom: 72px; }
.plat-tabs { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; border-top: 1px solid var(--hair-strong); align-self: start; }
.plat-tabs button {
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--hair); cursor: pointer;
  text-align: left; padding: 18px 0 18px 20px; position: relative;
  font: 500 var(--t-lede)/1.3 var(--sans); color: var(--muted); letter-spacing: -.01em;
  transition: color 180ms ease;
}
.plat-tabs button::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--hair-strong); transition: background-color 180ms ease; }
.plat-tabs button:hover, .plat-tabs button[aria-selected="true"] { color: var(--ink); }
.plat-tabs button[aria-selected="true"]::before { background: var(--red); }
.plat-panel { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 36px; align-items: start; }
.plat-panel[hidden] { display: none; }
.plat-need { font-size: var(--t-lede); line-height: 1.5; color: var(--ink); margin-bottom: 20px; }
.plat-list { list-style: none; margin: 0; padding: 0; }
.plat-list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--hair); color: var(--graphite); }
.plat-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.sip {
  margin: 0; padding: 24px 26px; border-radius: 16px; overflow-x: auto;
  background: #121110; color: rgba(247, 244, 239, .66);
  font: 400 12.5px/1.85 var(--mono); letter-spacing: -.01em; white-space: pre-wrap;
}
.sip code { font: inherit; }
.sip .chg, .sip .add { display: inline-block; vertical-align: top; width: calc(100% + 52px); margin: 0 -26px; padding: 2px 26px; color: var(--ivory); }
.sip .chg { background: rgba(227, 22, 27, .16); box-shadow: inset 3px 0 0 #E3161B; }
.sip .add { background: rgba(247, 244, 239, .07); box-shadow: inset 3px 0 0 rgba(247, 244, 239, .55); }
.sip .note { display: inline-block; margin-top: 10px; color: #F2665C; font-family: var(--sans); font-size: 13px; }
.plat-key { grid-column: 2; grid-row: 2; display: flex; gap: 24px; justify-content: flex-end; font-size: 12px; color: var(--muted); margin-top: 14px; }
.plat-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.k-chg::before { background: rgba(227, 22, 27, .5); }
.k-add::before { background: #b9b2a8; }

/* ------------------------------------------------------------ control, access */
.control .grid3 dt { font-size: var(--t-h3); }
.access { background: var(--paper); text-align: center; }
.access-inner { display: flex; flex-direction: column; align-items: center; }
.film-close { width: min(78vw, 380px); margin: 0 auto 36px; }
.film-close .film-toggle { bottom: -10px; }
.access h2 { max-width: 14em; }
.access .lede { margin-bottom: 36px; }
.access .actions { justify-content: center; }


/* ------------------------------------------------------------ inner pages */
.page-hero { padding: 148px 0 72px; border-bottom: 1px solid var(--hair); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 48px 72px; align-items: end; }
.page-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.042em; margin-bottom: 24px; max-width: 15em; }
.onpage { display: flex; flex-direction: column; border-top: 1px solid var(--hair-strong); }
.onpage a { padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: var(--t-small); font-weight: 500; color: var(--graphite); text-decoration: none; transition: color 160ms ease; }
.onpage a:hover { color: var(--red); }
.alt { background: var(--paper); }
.alt .ui { background: var(--ivory); }
.more { margin-top: 32px; font-size: var(--t-small); color: var(--muted); }
.delivery .more, .delivery .link { color: var(--ivory); }
.delivery .link { text-decoration-color: rgba(247, 244, 239, .35); }

/* numbered steps: used only where the content is a real sequence */
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; border-top: 1px solid var(--hair-strong); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(step); grid-row: span 2; font: 500 13px/1.9 var(--mono); color: var(--red); }
.steps b { font-weight: 600; color: var(--ink); }
.steps span { color: var(--muted); font-size: 15px; }
.steps-wide { margin-top: 0; }

/* spec tables */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1px solid var(--hair-strong); }
.spec td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--graphite); }
.spec td:first-child { color: var(--ink); font-weight: 500; }
.spec-2 td:first-child { width: 40%; }
.spec .esc td { background: rgba(212, 0, 0, .04); }
.tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--ivory); margin-right: 6px; white-space: nowrap; }
.tag-red { background: var(--red); color: #fff; }
.tag-quiet { background: rgba(41, 41, 41, .08); color: var(--graphite); }
.spec-dark th { color: rgba(247, 244, 239, .5); border-color: rgba(247, 244, 239, .18); }
.spec-dark td { color: rgba(247, 244, 239, .66); border-color: rgba(247, 244, 239, .08); }
.spec-dark td:first-child { color: var(--ivory); }
.mini { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
.mini th { text-align: left; font-weight: 500; font-size: 12px; color: var(--faint); padding: 0 10px 8px 0; border-bottom: 1px solid var(--hair); }
.mini td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--hair); color: var(--ink); }
.mini td em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.mini .mono { font-size: 13px; }

/* header rules */
.rules-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-bottom: 64px; align-items: start; }
.tokens h3 { margin-bottom: 14px; }
.tokens dl { margin: 0 0 18px; border-top: 1px solid rgba(247, 244, 239, .18); }
.tokens dl div { padding: 12px 0; border-bottom: 1px solid rgba(247, 244, 239, .08); }
.tokens dt { color: var(--ivory); font-size: 14px; }
.tokens dd { margin: 2px 0 0; color: rgba(247, 244, 239, .6); font-size: 14px; }
.tokens p { font-size: 14px; color: rgba(247, 244, 239, .6); }
.sipcompare { margin: 0; display: grid; gap: 14px; }
.sip-cap { display: block; font-family: var(--sans); font-size: 12px; color: rgba(247, 244, 239, .45); margin-bottom: 6px; }

/* light trace */
.trace-light { background: var(--paper); box-shadow: 0 1px 0 var(--hair), 0 0 0 1px rgba(17, 17, 17, .05); margin-bottom: 0; }
.trace-light figcaption { border-color: var(--hair); }
.trace-light figcaption span:first-child { color: var(--ink); }
.trace-light figcaption .mono, .trace-light .t-meta { color: var(--faint); }
.trace-light .mono { color: var(--ink); }
.trace-light li + li { border-color: var(--hair); }
.trace-light .t-dot { border-color: var(--hair-strong); }
.trace-light .t-result { color: var(--muted); }
.trace-light .t-ok .t-result { color: var(--ink); }
.trace-light .t-rules { border-color: var(--hair); color: var(--muted); }
.trace-light .t-rules b { color: var(--ink); }
.js .trace-light li { opacity: 1; }
.js .trace-light .t-rules { opacity: 1; }

/* studio + voice fragments */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink); }
.checks li::before { content: ""; display: inline-block; width: 7px; height: 12px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 12px 0 3px; vertical-align: 1px; }
.bubbles-sm { margin-top: 4px; }
.bubbles-sm li { font-size: 14px; padding: 9px 13px; }
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.voices li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink); }
.voices li span { margin-left: auto; font-size: 13px; color: var(--muted); }
.voices i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--hair-strong); flex: none; }
.voices li.is-on { background: rgba(41, 41, 41, .06); }
.voices li.is-on i { border: 4px solid var(--red); }

/* knowledge (dark) */
.kb-demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; margin-bottom: 72px; align-items: start; }
.kb-lib { margin: 0; background: #1C1A18; border-radius: 20px; padding: 24px 26px; box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .07); }
.kb-lib figcaption { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(247, 244, 239, .1); color: var(--ivory); font-weight: 500; }
.kb-count { font-weight: 400; font-size: 13px; color: rgba(247, 244, 239, .5); }
.kb-label { font-size: 12px; color: rgba(247, 244, 239, .45); margin: 16px 0 8px; }
.kb-products { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kb-products li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(247, 244, 239, .08); color: var(--ivory); }
.kb-sources { list-style: none; margin: 0; padding: 0; }
.kb-sources li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-top: 1px solid rgba(247, 244, 239, .07); font-size: 14px; color: var(--ivory); }
.kb-sources em { font-style: normal; font-size: 12px; color: rgba(247, 244, 239, .45); grid-column: 1; }
.kb-sources b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 500; font-size: 12px; }
.st-ok { color: rgba(247, 244, 239, .75); }
.st-busy { color: #F2665C; }
.kb-call { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kb-call li { padding: 14px 18px; border-radius: 16px; background: rgba(247, 244, 239, .05); color: rgba(247, 244, 239, .78); font-size: 15px; }
.kb-call li b { display: block; font-weight: 500; font-size: 12px; color: rgba(247, 244, 239, .45); margin-bottom: 4px; }
.kb-call li.agent { background: rgba(247, 244, 239, .12); color: var(--ivory); }
.kb-call li.kb-think { background: none; padding: 0 18px; border-left: 2px solid #E3161B; border-radius: 0; font-size: 13px; color: #F2665C; }
.kb-grid { margin-bottom: 56px; }
.kb-sourcesrow { border-top: 1px solid rgba(247, 244, 239, .16); padding-top: 26px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 48px; }
.kb-sourcesrow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kb-sourcesrow li { font-size: 14px; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(247, 244, 239, .2); color: var(--ivory); }
.kb-sourcesrow p { grid-column: 2; font-size: 14px; color: rgba(247, 244, 239, .55); }

/* templates */
.tpl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-strong); }
.tpl li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hair); font-weight: 500; color: var(--ink); }
.tpl li:last-child { color: var(--muted); }

/* platforms page */
.pf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pf-item { border-top: 2px solid var(--ink); padding-top: 22px; }
.pf-item h3 { font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: 10px; }
.pf-need { color: var(--ink); margin-bottom: 16px; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--hair); padding: 48px 0 44px; font-size: var(--t-small); color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 48px; align-items: center; }
.lockup { display: grid; justify-items: center; gap: 8px; grid-row: span 2; }
.lockup img { width: 48px; height: 48px; }
.lockup span { font-weight: 600; letter-spacing: .14em; font-size: 10px; color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { text-decoration: none; color: var(--graphite); }
.foot nav a:hover { color: var(--ink); }
.foot-copy { grid-column: 2 / -1; color: var(--faint); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav nav { gap: 20px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 48px; }
}

@media (max-width: 1100px) {
  .plat-panel { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .plat { grid-template-columns: 1fr; }
  .plat-tabs { grid-row: 1; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 24px; scrollbar-width: none; }
  .plat-tabs button { flex: none; border: 1px solid var(--hair-strong); border-radius: 999px; padding: 10px 16px; font-size: var(--t-small); }
  .plat-tabs button::before { display: none; }
  .plat-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .plat-panel { grid-column: 1; grid-row: 2; }
  .plat-key { grid-column: 1; grid-row: 3; justify-content: flex-start; }

  .nav { grid-template-columns: auto 1fr; }
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 84px; min-height: 0; row-gap: 8px; }
  .film { grid-column: 1; grid-row: 1; width: min(86vw, 440px); }
  .hero-copy { grid-row: 2; max-width: none; }
  .index { grid-row: 3; grid-template-columns: 1fr; gap: 16px; }
  .block { padding: 96px 0; }
  .split, .head { grid-template-columns: 1fr; gap: 40px; }
  .head { margin-bottom: 44px; }
  .split-rev > .copy, .split-rev > figure { order: 0; }
  .split > figure { position: static; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .trace li { grid-template-columns: 18px 1fr; row-gap: 4px; }
  .t-result { grid-column: 2; }
}

@media (max-width: 600px) {
  .nav-signin { display: none; }
  .grid3 { grid-template-columns: 1fr; }
  .ui { padding: 20px; border-radius: 16px; }
  .trace { padding: 20px; }
  .turns li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; justify-items: start; }
  .lockup { grid-row: auto; }
  .foot-copy { grid-column: auto; }
}


@media (max-width: 1100px) {
  .tpl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .page-hero { padding: 112px 0 48px; }
  .page-hero-grid, .rules-grid, .kb-demo, .kb-sourcesrow { grid-template-columns: 1fr; }
  .kb-sourcesrow p { grid-column: 1; }
  .onpage { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; border-top: 0; }
  .onpage a { border: 0; padding: 4px 0; }
  .tpl { grid-template-columns: 1fr 1fr; }
  .pf { grid-template-columns: 1fr; gap: 36px; }
  .spec { font-size: 14px; }
  .playbook { overflow-x: auto; }
  .playbook .spec { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .trace li, .js .trace .t-rules { opacity: 1; }
}
@media (max-width: 600px) { .ui-num { font-size: 1.125rem; } }


/* ------------------------------------------------------------ the story stage (home hero) */
.hero:has(.story) { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 112px; min-height: 0; }
.hero:has(.story) .hero-copy { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 56px; align-items: end; max-width: none; }
.hero:has(.story) h1 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 4.9rem); }
.hero:has(.story) .lede { margin-bottom: 20px; }
.hero:has(.story) .actions { grid-column: 2; }
.hero:has(.story) .index { grid-row: 3; }
.story {
  grid-column: 1; grid-row: 2; position: relative; margin-top: 44px;
  aspect-ratio: 2 / 1; border-radius: 24px; overflow: hidden;
  background: var(--ivory); box-shadow: 0 0 0 1px var(--hair);
}
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; }
.story.is-live .story-canvas { opacity: 1; }
.story-labels { position: absolute; inset: 0; pointer-events: none; }
.sl { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: var(--graphite); padding: 3px 9px; border-radius: 999px; background: rgba(253, 252, 249, .86); box-shadow: 0 0 0 1px var(--hair); opacity: 0; transition: opacity 250ms ease; will-change: transform; }
.sl-quiet { background: none; box-shadow: none; color: var(--muted); }
.sl-strong { background: var(--ink); color: var(--ivory); box-shadow: none; }
.sl-route { background: var(--red); color: #fff; box-shadow: none; }
.sl-tag { font-family: var(--mono); font-size: 11.5px; font-weight: 400; background: var(--paper); color: var(--crimson); box-shadow: 0 0 0 1px rgba(212, 0, 0, .25); }
.story-ui { position: absolute; left: 24px; right: 24px; bottom: 20px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 12px 24px; align-items: end; pointer-events: none; }
.story-caption { grid-column: 1; margin: 0; display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 320ms ease, transform 320ms ease; }
.story-caption.is-in { opacity: 1; transform: none; }
.story-n { font: 500 13px var(--mono); color: var(--red); }
.story-progress { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 420px; }
.story-progress i { height: 2px; border-radius: 2px; background: var(--hair-strong); overflow: hidden; position: relative; }
.story-progress i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.story-ctrl { position: absolute; right: 18px; bottom: 16px; z-index: 5; display: flex; gap: 6px; pointer-events: auto; }
.story-ctrl button { appearance: none; border: 0; cursor: pointer; font: 500 12.5px var(--sans); color: var(--graphite); background: rgba(253, 252, 249, .9); box-shadow: 0 0 0 1px var(--hair); border-radius: 999px; padding: 7px 13px; }
.story-ctrl button:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--hair-strong); }
.story-still { display: none; }
.story.is-still .story-canvas, .story.is-still .story-ui { display: none; }
.story.is-still .story-still { display: grid; list-style: decimal inside; margin: 0; padding: 40px; gap: 8px; color: var(--ink); font-size: 1.1rem; align-content: center; }

@media (max-width: 900px) {
  .hero:has(.story) .hero-copy { grid-template-columns: 1fr; }
  .hero:has(.story) .actions { grid-column: 1; }
  .story { border-radius: 18px; margin-top: 28px; }
  .story-ui { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; }
  .story-ctrl { grid-column: 1; grid-row: 3; }
  .sl { font-size: 11px; }
}

/* ------------------------------------------------------------ story v2: 2D motion design */
.s2 { position: absolute; inset: 0; overflow: hidden; }
.s2-space { position: absolute; left: 0; top: 0; width: 1600px; height: 800px; transform-origin: 0 0; }
.s2-space > *, .s2-space [data-k] { will-change: auto; }
.s2-space > * { position: absolute; }
.s2-clock { left: 80px; top: 56px; width: 140px; height: 28px; font-size: 22px; color: var(--muted); overflow: hidden; }
.s2-clock span { position: absolute; left: 0; top: 0; }
.s2-words { left: 80px; top: 132px; width: 900px; margin: 0; font-size: 70px; line-height: 1.06; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.s2-words span { display: inline-block; }

.s2-card { background: var(--paper); border-radius: 22px; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 18px 40px -24px rgba(40,20,10,.35); transition: box-shadow 240ms ease; }
.s2-caller { left: 80px; top: 330px; width: 430px; height: 140px; padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 14px; align-items: center; }
.s2-caller b { display: block; font-size: 23px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.s2-caller .mono { font-size: 17px; color: var(--muted); }
.s2-av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.s2-status { grid-column: 1 / span 1; grid-row: 2; font-size: 16px; color: var(--muted); white-space: nowrap; }
.s2-caller .s2-status { grid-column: 1 / -1; grid-row: 2; }
.s2-wave { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 3px; align-items: center; height: 26px; }
.s2-wave i { width: 3px; height: 26px; border-radius: 2px; background: var(--red); transform-origin: center; }

.s2-lines { left: 0; top: 0; width: 1600px; height: 800px; overflow: visible; }
.s2-lines path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; transition: stroke 300ms ease; }
.s2-lines path.is-hot { stroke: var(--red); stroke-width: 3; }

.s2-node { left: 740px; top: 334px; width: 120px; text-align: center; }
.s2-node img { width: 120px; height: 120px; display: block; filter: drop-shadow(0 12px 18px rgba(40,20,10,.18)); }
.s2-node span { display: inline-block; margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }

.s2-chip { left: 884px; font-size: 16px; color: var(--crimson); background: var(--paper); padding: 7px 12px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(212,0,0,.28); white-space: nowrap; }
[data-k="chip1"] { top: 416px; }
[data-k="chip2"] { top: 458px; }
.s2-timer { left: 900px; top: 226px; font-size: 18px; color: var(--crimson); display: grid; gap: 8px; }
.s2-timer i { display: block; width: 150px; height: 3px; border-radius: 3px; background: var(--hair-strong); position: relative; overflow: hidden; }
.s2-timer i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

.s2-dest { left: 1108px; width: 440px; padding: 24px 26px 22px; }
[data-k="contact"] { top: 250px; }
[data-k="agent"] { top: 466px; }
[data-k="textAgent"] { top: 164px; }
[data-k="team"] { top: 348px; }
[data-k="systems"] { top: 532px; }
.s2-dest-h b { display: block; font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.s2-dest-h span { font-size: 16px; color: var(--muted); }
.s2-line { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--muted); }
.s2-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hair-strong); transition: background-color 240ms ease; }
.s2-dest.is-live { box-shadow: 0 0 0 1.5px var(--red), 0 18px 40px -24px rgba(40,20,10,.35); }
.s2-dest.is-live .s2-line { color: var(--ink); }
.s2-dest.is-live .s2-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(212,0,0,.12); }
.s2-dest.is-down .s2-line { color: var(--crimson); }
.s2-dest.is-down .s2-dot { background: #b9b2a8; }
.s2-ours .s2-dest-h b::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: 10px; vertical-align: 3px; }

.s2-convo { left: 80px; top: 110px; width: 660px; }
.s2-convo p { margin: 0 0 26px; font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--graphite); }
.s2-convo em { display: block; font-style: normal; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.s2-convo .s2-agent { color: var(--ink); }
.s2-convo .s2-agent em { color: var(--red); }

.s2-log { left: 130px; top: 240px; width: 1340px; }
.s2-log p { margin: 0; display: grid; grid-template-columns: 190px 240px 350px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); font-size: 25px; color: var(--graphite); }
.s2-log p:first-child { border-top: 1px solid var(--hair-strong); }
.s2-log b { font-weight: 500; color: var(--crimson); }
.s2-log .s2-moved b { color: var(--muted); }

.s2-thread { left: 80px; top: 150px; width: 600px; display: flex; flex-direction: column; gap: 14px; position: absolute; }
.s2-msg { width: fit-content; max-width: 460px; position: relative; }
.s2-msg em { display: block; font-style: normal; font-size: 15px; color: var(--muted); margin: 0 0 6px 4px; }
.s2-msg p { margin: 0; font-size: 24px; line-height: 1.35; padding: 14px 20px; border-radius: 22px 22px 22px 8px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 14px 30px -22px rgba(40,20,10,.35); }
[data-k="m1"] p { width: 440px; }
[data-k="m1"] { transform-origin: 0 0; }
.s2-reply { align-self: flex-end; }
.s2-reply em { text-align: right; margin: 0 4px 6px 0; }
.s2-reply p { background: var(--red); color: #fff; border-radius: 22px 22px 8px 22px; box-shadow: none; }
.s2-person p { background: var(--ink); color: var(--ivory); }

.s2-finale { left: 0; top: 0; width: 1600px; height: 800px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.s2-finale video { width: 460px; height: 460px; }
.s2-finale p { margin: 0; font-size: 56px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }

/* ------------------------------------------------------------ the launch reel */
.s3 { position: absolute; inset: 0; overflow: hidden; }
.s3-space { position: absolute; left: 0; top: 0; width: 1600px; height: 800px; transform-origin: 0 0; }
.s3-space > * { position: absolute; }
.s3-bg { left: 0; top: 0; width: 1600px; height: 800px; background: var(--ivory); }
.s3-space .w { display: inline-block; }
.s3-space .ic { width: 100%; height: 100%; display: block; }

/* hook */
.s3-hookicon { left: 110px; top: 90px; width: 210px; height: 210px; color: var(--ink); }
.s3-hookicon.s3-on-ink { color: var(--ivory); }
.s3-sub { position: absolute; left: 62px; top: 88px; width: 86px; height: 86px; color: var(--red); }
.s3-hook { left: 110px; top: 360px; width: 1400px; margin: 0; font-size: 150px; line-height: .95; font-weight: 600; letter-spacing: -.055em; color: var(--ink); }
.s3-light, .s3-light .w { color: var(--ivory); }
.s3-bring { left: 0; top: 0; width: 1600px; height: 800px; }
.s3-bring .s3-hook { position: absolute; left: 330px; top: 330px; width: 1250px; }
.s3-ringing { position: absolute; left: 110px; top: 320px; width: 170px; height: 170px; color: var(--ivory); }
.s3-ringing i { position: absolute; inset: -10px; border-radius: 50%; border: 5px solid currentColor; opacity: calc(1 - var(--r, 0)); transform: scale(calc(1 + var(--r, 0) * .9)); }
.s3-ringing i + i { opacity: calc(.6 - var(--r, 0) * .6); transform: scale(calc(1.4 + var(--r, 0) * .9)); }
.s3-ringing .ic { position: relative; }
.s3-ringing-ink { color: var(--ink); }

/* the call */
.s3-phone { left: 0; top: 0; width: 1600px; height: 800px; transform-origin: 800px 400px; }
.s3-phone .s3-ringing { left: 700px; top: 150px; width: 200px; height: 200px; }
.s3-phone .s3-ringing .ic { color: var(--red); }
.s3-number { position: absolute; left: 0; top: 440px; width: 1600px; margin: 0; text-align: center; font-size: 120px; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.s3-lines { left: 0; top: 0; width: 1600px; height: 800px; overflow: visible; }
.s3-lines path, .s3-lines circle { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; }
.s3-lines circle { stroke-width: 9; }

.s3-card { left: 1090px; width: 430px; height: 112px; padding: 0 28px; border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 24px 50px -28px rgba(40,20,10,.45); display: flex; align-items: center; gap: 18px; color: var(--ink); }
[data-k="cCC"] { top: 166px; } [data-k="cPBX"] { top: 344px; } [data-k="cAI"] { top: 522px; }
.s3-card > .ic { width: 58px; height: 58px; flex: none; }
.s3-card b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; }
.s3-card.is-live { box-shadow: 0 0 0 5px var(--red), 0 24px 50px -28px rgba(40,20,10,.45); }
.s3-card.is-down { background: #E6E0D6; color: #9C958B; }
.s3-badge { position: absolute; right: -22px; top: -22px; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; padding: 14px; box-shadow: 0 8px 16px -6px rgba(212,0,0,.5); }
.s3-badge-x { background: var(--ink); box-shadow: none; }

.s3-token { left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; padding: 16px; box-shadow: 0 0 0 8px rgba(212,0,0,.18); z-index: 3; }
.s3-token-env { background: var(--ink); box-shadow: 0 0 0 8px rgba(17,17,17,.12); }

.s3-tag { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; font: 500 24px var(--mono); white-space: nowrap; background: var(--ink); color: var(--ivory); z-index: 4; }
.s3-tag .ic { width: 30px; height: 30px; }
.s3-tag-a { left: 800px; top: 104px; }
.s3-tag-b { left: 860px; top: 36px; background: var(--red); color: #fff; }
.s3-cursor { left: 0; top: 0; width: 46px; height: 46px; z-index: 6; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.s3-cursor path { fill: var(--ink); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }

.s3-stamp { left: -260px; top: 470px; width: 1600px; margin: 0; text-align: center; font-size: 170px; font-weight: 700; letter-spacing: -.06em; color: var(--red); z-index: 7; }
[data-k="stAnswered"] { top: 560px; left: 250px; font-size: 150px; }
[data-k="stHandled"] { top: 560px; left: 60px; font-size: 150px; }

/* failover */
.s3-down { left: 0; top: 0; width: 1600px; height: 800px; }
.s3-downicon { position: absolute; left: 430px; top: 150px; width: 280px; height: 280px; color: var(--ivory); }
.s3-cross { position: absolute; left: 150px; top: 150px; width: 150px; height: 150px; padding: 24px; border-radius: 50%; background: var(--red); color: #fff; }
.s3-timer { position: absolute; left: 900px; top: 160px; width: 260px; height: 260px; }
.s3-timer circle { fill: none; stroke-width: 10; }
.s3-timer .trk { stroke: rgba(247,244,239,.18); }
.s3-timer .fill { stroke: var(--red); stroke-linecap: round; }
.s3-timertext { position: absolute; left: 900px; top: 262px; width: 260px; margin: 0; text-align: center; font-size: 52px; color: var(--ivory); }
.s3-downh { position: absolute; left: 0; top: 500px; width: 1600px; margin: 0; text-align: center; font-size: 110px; font-weight: 600; letter-spacing: -.05em; }

/* the agent asks */
.s3-ask { left: 0; top: 0; width: 1600px; height: 800px; }
.s3-av { position: absolute; width: 120px; height: 120px; border-radius: 50%; padding: 28px; }
.s3-av-ai { background: var(--red); color: #fff; }
.s3-av-me, .s3-av-person { background: var(--ink); color: var(--ivory); }
.s3-ask .s3-av-ai { left: 150px; top: 200px; }
.s3-ask .s3-av-me { left: 1330px; top: 460px; }
.s3-bubble { position: absolute; display: flex; align-items: center; gap: 26px; padding: 30px 40px; border-radius: 48px; }
.s3-bubble-ai { left: 300px; top: 120px; background: var(--paper); border-bottom-left-radius: 14px; box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 24px 50px -28px rgba(40,20,10,.45); color: var(--ink); }
.s3-bubble-ai em { font-style: normal; font-size: 52px; font-weight: 500; color: var(--muted); }
.s3-bubble-ai b { font-size: 120px; font-weight: 700; line-height: 1; color: var(--red); }
.s3-opt { display: block; width: 150px; height: 150px; padding: 18px; border-radius: 34px; transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease; }
.s3-opt.is-picked { background: var(--red); color: #fff; }
.s3-opt.is-dim { opacity: .25; }
.s3-bubble-me { left: 1080px; top: 420px; background: var(--ink); border-bottom-right-radius: 14px; padding: 22px; }
.s3-opt-on { color: #fff; width: 130px; height: 130px; }
.s3-askcap { position: absolute; left: 0; top: 690px; width: 1600px; margin: 0; text-align: center; font-size: 38px; color: var(--muted); }

/* the twist */
.s3-texts { left: 0; top: 0; width: 1600px; height: 800px; display: flex; align-items: center; justify-content: center; gap: 50px; color: var(--ivory); }
.s3-texts .ic { width: 260px; height: 260px; }
.s3-texts h2 { margin: 0; font-size: 250px; font-weight: 700; letter-spacing: -.06em; }

/* texts, answered */
.s3-sms { left: 0; top: 0; width: 1600px; height: 800px; }
.s3-smsphone { position: absolute; left: 170px; top: 340px; width: 160px; height: 160px; border-radius: 50%; background: var(--ink); color: var(--ivory); padding: 38px; }
.s3-smsmark { position: absolute; left: 690px; top: 310px; width: 220px; height: 220px; }
.s3-smsdest { position: absolute; left: 1150px; top: 530px; display: flex; align-items: center; gap: 22px; padding: 16px 30px 16px 16px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 24px 50px -28px rgba(40,20,10,.45); }
.s3-smsdest-ai { top: 190px; }
.s3-smsdest .s3-av { position: static; width: 96px; height: 96px; padding: 22px; }
.s3-smsdest b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.s3-smsdest.is-live { box-shadow: 0 0 0 5px var(--red), 0 24px 50px -28px rgba(40,20,10,.45); }
.s3-reply { position: absolute; left: 1170px; top: 670px; margin: 0; display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 30px 30px 30px 10px; font-size: 34px; font-weight: 500; background: var(--ink); color: var(--ivory); }
.s3-reply .ic { width: 36px; height: 36px; }
.s3-reply-ai { top: 70px; background: var(--red); color: #fff; }

/* the record, as icons */
.s3-log { left: 110px; top: 90px; width: 1380px; }
.s3-logh { margin: 0 0 40px; font-size: 96px; font-weight: 600; letter-spacing: -.05em; color: var(--ivory); }
.s3-row { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-top: 1px solid rgba(247,244,239,.18); color: var(--ivory); }
.s3-row > .ic { width: 64px; height: 64px; flex: none; }
.s3-row .ar { display: block; width: 70px; height: 4px; background: rgba(247,244,239,.4); position: relative; }
.s3-row .ar::after { content: ""; position: absolute; right: -2px; top: -8px; border: 10px solid transparent; border-left: 14px solid rgba(247,244,239,.4); border-right: 0; }
.s3-row .ok, .s3-row .no { width: 52px; height: 52px; border-radius: 50%; padding: 12px; background: var(--red); color: #fff; margin-left: -8px; }
.s3-row .no { background: #5a5550; }

/* lock-up */
.s3-lock { left: 610px; top: 140px; width: 380px; height: 380px; }
.s3-lock video { width: 380px; height: 380px; }
.s3-tagline { left: 0; top: 560px; width: 1600px; margin: 0; text-align: center; font-size: 76px; line-height: 1.02; font-weight: 600; letter-spacing: -.045em; color: var(--ink); }
.s3-tagline .r { color: var(--red); }
/* spacing fixes after the first icon pass */
.s3-bring .s3-hook { left: 420px; font-size: 140px; }
.s3-bring .s3-ringing { left: 120px; top: 330px; width: 160px; height: 160px; }
.s3-stamp { top: 580px; left: -300px; }
.s3-tag-a { left: 740px; top: 98px; }
.s3-tag-b { left: 780px; top: 30px; }
.s3-askcap { left: 300px; top: 350px; width: 760px; text-align: left; font-size: 34px; }
[data-k="stAnswered"] { top: 560px; left: 150px; }
.s3-row > .ic { width: 76px; height: 76px; }
.s3-row .ok, .s3-row .no { width: 60px; height: 60px; }
.s3-stamp { top: 545px; }

/* ------------------------------------------------------------ reel: Blender objects and depth */
.s3-cam { position: absolute; left: 0; top: 0; width: 1600px; height: 800px; transform-origin: 50% 55%; }
.s3-cam > * { position: absolute; }
.s3-space .ob { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(40,20,10,.22)); user-select: none; }
.s3-hookicon { width: 250px; height: 250px; top: 80px; }
.s3-ringing .ob { position: relative; }
.s3-disc { border-radius: 50%; background: var(--paper); padding: 26px; color: var(--paper); }
.s3-disc i { border-color: rgba(253,252,249,.9); }
.s3-phone .s3-ringing { width: 230px; height: 230px; left: 685px; top: 140px; }
.s3-card > .ob { width: 84px; height: 84px; flex: none; }
.s3-badge { width: 84px; height: 84px; right: -30px; top: -30px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.s3-token { width: 84px; height: 84px; padding: 10px; background: var(--paper); box-shadow: 0 0 0 7px rgba(212,0,0,.25), 0 14px 24px -8px rgba(40,20,10,.4); }
.s3-token-env { box-shadow: 0 0 0 7px rgba(17,17,17,.15), 0 14px 24px -8px rgba(40,20,10,.4); }
.s3-tag .ob { width: 62px; height: 44px; filter: none; }
.s3-downicon { width: 320px; height: 320px; left: 420px; top: 130px; }
.s3-cross { width: 180px; height: 180px; left: 190px; top: 180px; padding: 0; background: none; border-radius: 0; }
.s3-av { padding: 0; background: none !important; }
.s3-ask .s3-av-ai { width: 150px; height: 150px; left: 130px; top: 190px; }
.s3-ask .s3-av-me { width: 150px; height: 150px; left: 1320px; top: 430px; }
.s3-opt { width: 180px; height: 180px; padding: 10px; }
.s3-opt.is-picked { background: none; box-shadow: 0 0 0 7px var(--red); }
.s3-bubble-me { background: var(--paper); box-shadow: 0 0 0 1px rgba(17,17,17,.07), 0 24px 50px -28px rgba(40,20,10,.45); }
.s3-opt-on { width: 150px; height: 150px; }
.s3-envbig { width: 330px !important; height: 330px !important; }
.s3-smsphone { width: 200px; height: 200px; left: 150px; top: 320px; padding: 0; background: none; }
.s3-smsdest .s3-av { width: 110px; height: 110px; }
.s3-reply .ob { width: 48px; height: 48px; filter: none; }
.s3-row .ob { width: 84px; height: 84px; flex: none; }
.s3-row .ob.st { width: 62px; height: 62px; margin-left: -14px; }
/* objects are cropped tight now; sizes follow the shapes */
.s3-hookicon { width: 300px; height: 230px; top: 70px; left: 100px; }
.s3-hookicon .ob { object-position: left center; }
.s3-texts h2 { color: var(--ivory); }
.s3-card { height: 132px; }
[data-k="cCC"] { top: 150px; } [data-k="cPBX"] { top: 334px; } [data-k="cAI"] { top: 518px; }
.s3-card > .ob { width: 96px; height: 76px; }
.s3-token { padding: 14px; }
.s3-row .ob { width: 96px; height: 70px; }
.s3-row .ob.st { width: 58px; height: 58px; }
.s3-smsdest { left: 1080px; }
.s3-reply { left: 1100px; }
.s3-ask .s3-av-me { width: 120px; height: 170px; }
.s3-downicon { width: 300px; height: 280px; }
.s3-cross { width: 150px; height: 150px; left: 200px; top: 170px; }
/* the hook: each platform as a big hero object beside its name */
.s3-hookicon { left: 1060px; top: 90px; width: 470px; height: 420px; }
.s3-hookicon .ob { object-position: center; filter: drop-shadow(0 30px 34px rgba(40,20,10,.28)); }
.s3-hook { top: 330px; }
.s3-hookicon { left: 1110px; top: 24px; width: 440px; height: 330px; } .s3-hook { top: 372px; }

/* ------------------------------------------------------------ reel: portrait (phones) */
@media (max-width: 700px) {
  .story { aspect-ratio: 9 / 13; max-height: 82svh; margin-left: auto; margin-right: auto; width: 100%; }
}
.s3-tall .s3-bg, .s3-tall .s3-cam, .s3-tall .s3-lines, .s3-tall .s3-phone, .s3-tall .s3-down, .s3-tall .s3-ask,
.s3-tall .s3-texts, .s3-tall .s3-sms, .s3-tall .s3-bring { width: 900px; height: 1300px; }
.s3-tall .s3-cam { transform-origin: 50% 50%; }

/* hook: object on top, words below */
.s3-tall .s3-hookicon { left: 200px; top: 150px; width: 500px; height: 400px; }
.s3-tall .s3-hook { left: 70px; top: 640px; width: 780px; font-size: 118px; }
.s3-tall .s3-bring .s3-ringing { left: 345px; top: 260px; width: 210px; height: 210px; }
.s3-tall .s3-bring .s3-hook { left: 70px; top: 640px; width: 780px; font-size: 118px; }

/* the call flows downwards into three cards side by side */
.s3-tall .s3-phone { transform-origin: 450px 330px; }
.s3-tall .s3-phone .s3-ringing { left: 335px; top: 180px; width: 230px; height: 230px; }
.s3-tall .s3-number { width: 900px; top: 470px; font-size: 92px; }
.s3-tall .s3-card { width: 250px; height: 200px; padding: 18px; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
.s3-tall .s3-card b { font-size: 30px; line-height: 1.05; }
.s3-tall .s3-card > .ob { width: 110px; height: 80px; }
.s3-tall [data-k="cCC"] { left: 45px; top: 800px; }
.s3-tall [data-k="cPBX"] { left: 325px; top: 800px; }
.s3-tall [data-k="cAI"] { left: 605px; top: 800px; }
.s3-tall .s3-tag-a { left: 40px; top: 700px; }
.s3-tall .s3-tag-b { left: 60px; top: 630px; }
.s3-tall .s3-stamp { left: 0; top: 1080px; width: 900px; font-size: 140px; }
.s3-tall [data-k="stAnswered"], .s3-tall [data-k="stHandled"] { left: 0; top: 1110px; font-size: 130px; }

/* failover */
.s3-tall .s3-downicon { left: 300px; top: 170px; width: 300px; height: 280px; }
.s3-tall .s3-timer { left: 320px; top: 520px; width: 260px; height: 260px; }
.s3-tall .s3-timertext { left: 320px; top: 622px; }
.s3-tall .s3-downh { width: 900px; top: 860px; font-size: 120px; }

/* the agent asks */
.s3-tall .s3-ask .s3-av-ai { left: 60px; top: 170px; width: 130px; height: 130px; }
.s3-tall .s3-bubble-ai { left: 200px; top: 120px; gap: 14px; padding: 24px 28px; }
.s3-tall .s3-opt { width: 150px; height: 150px; }
.s3-tall .s3-bubble-ai em { font-size: 40px; }
.s3-tall .s3-bubble-ai b { font-size: 96px; }
.s3-tall .s3-askcap { left: 70px; top: 360px; width: 780px; text-align: center; font-size: 34px; }
.s3-tall .s3-bubble-me { left: 430px; top: 520px; }
.s3-tall .s3-ask .s3-av-me { left: 690px; top: 540px; width: 130px; height: 170px; }

/* the twist */
.s3-tall .s3-texts { flex-direction: column; gap: 20px; }
.s3-tall .s3-texts h2 { font-size: 220px; }

/* texts: down through Myrmur, then to an agent and a person */
.s3-tall .s3-smsphone { left: 360px; top: 110px; width: 180px; height: 180px; }
.s3-tall .s3-smsmark { left: 340px; top: 470px; width: 220px; height: 220px; }
.s3-tall .s3-smsdest { top: 905px; left: 40px; padding: 12px 20px 12px 12px; gap: 12px; }
.s3-tall .s3-smsdest-ai { top: 905px; left: 40px; }
.s3-tall [data-k="dTeam"] { left: 470px; }
.s3-tall .s3-smsdest b { font-size: 28px; }
.s3-tall .s3-smsdest .s3-av { width: 80px; height: 80px; }
.s3-tall .s3-reply { left: 40px; top: 1040px; font-size: 30px; }
.s3-tall .s3-reply:not(.s3-reply-ai) { left: 470px; top: 1040px; }

/* the record */
.s3-tall .s3-log { left: 50px; top: 140px; width: 800px; }
.s3-tall .s3-logh { font-size: 84px; line-height: 1; }
.s3-tall .s3-row { gap: 14px; }
.s3-tall .s3-row .ob { width: 76px; height: 60px; }
.s3-tall .s3-row .ar { width: 34px; }
.s3-tall .s3-row .ob.st { width: 48px; height: 48px; }

/* lock-up */
.s3-tall .s3-lock { left: 260px; top: 290px; }
.s3-tall .s3-tagline { width: 900px; top: 760px; font-size: 76px; }
@media (max-width: 700px) {
  .story-ctrl { top: 10px; right: 10px; bottom: auto; }
  .story-ctrl button { padding: 5px 10px; font-size: 11.5px; }
}
.s3-tall .s3-stamp { top: 1040px; font-size: 130px; }
.s3-tall [data-k="stAnswered"], .s3-tall [data-k="stHandled"] { top: 1060px; font-size: 120px; }
.s3-tall [data-k="stHandled"] { top: 1150px; font-size: 112px; }
