:root {
  --blue: #2236F5;
  --blue-deep: #1828C8;
  --night: #0A0F2E;
  --fog: #E6E8EE;
  --paper: #F7F8FA;
  --lilac: #B9B6FF;
  --orange: #FF6B1A;
  --orange-soft: rgba(255, 107, 26, .14);
  --line-dark: rgba(10, 15, 46, .14);
  --line-light: rgba(255, 255, 255, .18);

  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--night);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
canvas { display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--orange); color: var(--night); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 16px; }

/* ---------- shared type ---------- */
.h2 {
  font-size: clamp(2.4rem, 6.2vw, 5.6rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: .92;
  letter-spacing: -.02em;
}
.say { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.say--caller { font-style: italic; opacity: .7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: .9em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem; font-weight: 600; font-stretch: 105%;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--orange); color: var(--night); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue); }
.btn--big { font-size: 1.15rem; padding: 1.1em 2em; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--blue); color: #fff;
  display: grid; place-content: center; justify-items: center; gap: 28px;
}
.loader__word { --w: 62; font-size: clamp(4rem, 16vw, 13rem); font-weight: 800; font-stretch: calc(var(--w) * 1%); line-height: .8; letter-spacing: -.03em; }
.loader__line { width: min(320px, 60vw); height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.loader__line span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.loader__count { font-size: .9rem; font-stretch: 110%; opacity: .8; font-variant-numeric: tabular-nums; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  pointer-events: none;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: var(--orange); }
.cursor__label { font-size: .8rem; font-weight: 700; font-stretch: 110%; color: var(--night); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease), color .3s;
}
.nav[data-theme="dark"] { color: #fff; }
.nav[data-theme="light"] { color: var(--night); }
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .3s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav[data-theme="light"].is-scrolled::before { background: rgba(230, 232, 238, .72); }
.nav[data-theme="dark"].is-scrolled::before { background: rgba(10, 15, 46, .35); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 24px; height: 24px; fill: currentColor; }
.logo__mark rect { transform-origin: center; transform-box: fill-box; }
.logo:hover .logo__mark rect { animation: bar .8s ease-in-out infinite alternate; }
.logo:hover .logo__mark rect:nth-child(2) { animation-delay: -.2s; }
.logo:hover .logo__mark rect:nth-child(3) { animation-delay: -.4s; }
.logo:hover .logo__mark rect:nth-child(4) { animation-delay: -.6s; }
@keyframes bar { to { transform: scaleY(.35); } }
.logo__word { font-size: 1.5rem; font-weight: 800; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; }

.nav__links { display: flex; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn--nav { padding: .65em 1.2em; font-size: .9rem; background: currentColor; }
.nav[data-theme="dark"] .btn--nav { background: #fff; color: var(--blue); }
.nav[data-theme="light"] .btn--nav { background: var(--night); color: #fff; }
.nav .btn--nav:hover { background: var(--orange); color: var(--night); }
.nav__menu { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--nav { display: none; }
  .nav__menu {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: currentColor;
  }
  .nav__menu span:not(.sr) { width: 18px; height: 2px; border-radius: 2px; transition: transform .35s var(--ease); }
  .nav[data-theme="dark"] .nav__menu span:not(.sr) { background: var(--blue); }
  .nav[data-theme="light"] .nav__menu span:not(.sr) { background: #fff; }
  .nav.is-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__menu span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 100px var(--gutter) 32px;
  background: var(--night); color: #fff;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  padding: 10px 0; border-bottom: 1px solid var(--line-light);
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 75%; line-height: 1.1;
}
.menu nav a:hover, .menu nav a:focus-visible { color: var(--orange); }
.menu .btn { align-self: stretch; }
.nav.is-open { color: #fff !important; }
.nav.is-open .nav__menu span:not(.sr) { background: var(--night) !important; }
.nav.is-open::before { opacity: 0 !important; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--blue); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__status {
  position: absolute; top: 96px; right: var(--gutter);
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-stretch: 110%;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,107,26,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,107,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,26,0); } }

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(260px, 380px);
  align-items: end; gap: 40px;
}
.hero__title {
  font-size: clamp(3.4rem, 12.6vw, 13.5rem);
  font-weight: 800;
  font-stretch: 72%;
  line-height: .84;
  letter-spacing: -.035em;
}
.hero__row { display: block; white-space: nowrap; }
.hero__title .ch { display: inline-block; font-stretch: 72%; }
.hero__lede { font-size: 1.1rem; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 38ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__title { font-size: clamp(3.4rem, 17vw, 7rem); }
  .hero__status { top: 80px; left: var(--gutter); right: auto; }
}

/* ---------- statement ---------- */
.statement { padding: clamp(100px, 18vh, 200px) var(--gutter); }
.statement__text {

  font-size: clamp(2rem, 4.6vw, 4.4rem);
  font-weight: 600; font-stretch: 88%;
  line-height: 1.04; letter-spacing: -.02em;
  max-width: 1200px;
}
.statement__text .word { opacity: .14; }
.reduced .statement__text .word { opacity: 1; }

/* ---------- agents ---------- */
.agents { padding-bottom: clamp(60px, 10vh, 120px); }
.agents__pin { padding: clamp(72px, 12vh, 120px) 0 0; }
.agents__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  padding: 0 var(--gutter); margin-bottom: clamp(32px, 6vh, 64px);
}
.agents__intro { max-width: 40ch; color: rgba(10,15,46,.72); }
.agents__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; padding: 0 var(--gutter); }
.agent {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px;
  background: var(--paper);
  border-radius: 28px;
  border: 1px solid var(--line-dark);
}
.agent:nth-child(3n+2) { background: var(--night); color: #fff; border-color: transparent; }
.agent:nth-child(3n+3) { background: var(--blue); color: #fff; border-color: transparent; }
.agent__name { font-size: 2.3rem; font-weight: 800; font-stretch: 70%; line-height: .95; letter-spacing: -.01em; }
.agent__does { font-size: 1rem; opacity: .8; }
.agent__call {
  margin-top: auto;
  display: grid; gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(10,15,46,.05);
}
.agent:nth-child(3n+2) .agent__call, .agent:nth-child(3n+3) .agent__call { background: rgba(255,255,255,.1); }
.agent__result {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; font-stretch: 105%;
  padding: 6px 12px; border-radius: 12px;
  background: var(--orange); color: var(--night);
}
.agent__result::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.agent__tools { font-size: .85rem; opacity: .6; }
.agents__more { margin: 40px var(--gutter) 0; max-width: 60ch; color: rgba(10,15,46,.72); }


/* ---------- demo ---------- */
.demo { background: var(--night); color: #fff; padding: clamp(90px, 14vh, 150px) var(--gutter); }
.demo__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.demo__intro { max-width: 44ch; color: rgba(255,255,255,.7); }

.console { display: grid; grid-template-columns: 230px 1fr 340px; gap: 16px; }
.console__pick { display: grid; gap: 8px; align-content: start; }
.pick {
  text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 16px;
  background: transparent; border: 1px solid var(--line-light);
  transition: background-color .3s, border-color .3s;
}
.pick:hover { border-color: rgba(255,255,255,.5); }
.pick[aria-pressed="true"] { background: #fff; color: var(--night); border-color: #fff; }
.pick__name { display: block; font-weight: 700; font-stretch: 90%; font-size: 1.05rem; }
.pick__kind { display: block; font-size: .85rem; opacity: .65; }

.console__call {
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: #121A4D; border: 1px solid var(--line-light);
  min-height: 560px;
}
.console__bar { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px 0; }
.console__biz { font-size: 1.4rem; font-weight: 800; font-stretch: 80%; }
.console__kind { font-size: .9rem; color: var(--lilac); }
.console__timer { font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums; font-stretch: 110%; }
.console__wave { width: 100%; height: 130px; }
.console__transcript {
  flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: 8px 24px 24px; max-height: 330px; overflow-y: auto;
  scroll-behavior: smooth;
}
.console__empty { color: rgba(255,255,255,.5); margin: auto 0; }
.line { display: grid; gap: 2px; max-width: 46ch; }
.line__who { font-size: .8rem; font-weight: 600; font-stretch: 110%; color: var(--lilac); }
.line--caller { align-self: flex-end; text-align: right; }
.line__who { display: inline-flex; align-items: center; gap: 8px; }
.line--caller .line__who { justify-content: flex-end; }
.line.is-speaking .line__who::after {
  content: ""; width: 14px; height: 10px;
  background:
    linear-gradient(currentColor 0 0) 0 50% / 2px 100% no-repeat,
    linear-gradient(currentColor 0 0) 6px 50% / 2px 60% no-repeat,
    linear-gradient(currentColor 0 0) 12px 50% / 2px 80% no-repeat;
  animation: talkbars .5s ease-in-out infinite alternate;
}
@keyframes talkbars { to { transform: scaleY(.4); } }
.line--caller .line__who { color: rgba(255,255,255,.55); }
.line__text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.line--caller .line__text { font-style: italic; color: rgba(255,255,255,.8); }
.console__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; border-top: 1px solid var(--line-light);
}
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__track { width: 42px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.2); position: relative; transition: background-color .25s; }
.toggle__track span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle input:checked + .toggle__track { background: var(--blue); }
.toggle input:checked + .toggle__track span { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--orange); outline-offset: 3px; }

.console__log { padding: 24px; border-radius: 24px; border: 1px solid var(--line-light); }
.console__logtitle { font-weight: 700; font-stretch: 90%; margin-bottom: 18px; }
.console__actions { display: grid; gap: 12px; counter-reset: act; }
.act {
  counter-increment: act;
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start;
  font-size: .95rem;
}
.act::before {
  content: counter(act);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: var(--night); font-size: .8rem; font-weight: 700;
}
.act__time { display: block; font-size: .8rem; opacity: .55; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .console { grid-template-columns: 1fr; }
  .console__pick { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .console__call { min-height: 480px; }
}

/* ---------- caller record (right panel) ---------- */
.rec { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-light); }
.rec__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.rec__title { font-weight: 700; font-stretch: 90%; }
.rec__status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 99px;
  font-size: .78rem; font-weight: 600; white-space: nowrap;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
}
.rec__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rec__status[data-state="live"] { background: var(--orange-soft); color: var(--orange); }
.rec__status[data-state="live"]::before { animation: blink 1s ease-in-out infinite; }
.rec__status[data-state="saved"] { background: rgba(255,255,255,.95); color: var(--blue); }
@keyframes blink { 50% { opacity: .25; } }
.rec__who { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.rec__avatar {
  width: 52px; height: 52px; flex: none; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 800; font-stretch: 90%; font-size: 1.1rem;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.5);
  transition: background-color .4s, color .4s, transform .4s var(--ease);
}
.rec__avatar.is-known { background: var(--orange); color: var(--night); transform: rotate(-4deg); }
.rec__name { font-size: 1.3rem; font-weight: 800; font-stretch: 82%; line-height: 1.15; }
.rec__phone { font-size: .88rem; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.rec__fields { display: grid; gap: 12px; }
.rec__fields > div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: .88rem; }
.rec__fields dt { color: rgba(255,255,255,.5); }
.rec__fields dd { min-height: 1.4em; border-radius: 6px; overflow-wrap: anywhere; }
.rec__fields dd:empty {
  background: linear-gradient(90deg, rgba(255,255,255,.06) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 70%) 0 0 / 300% 100%;
  height: 1.1em; margin-top: .2em;
}
.console.is-live .rec__fields dd:empty { animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.rec__fields dd.is-muted { color: rgba(255,255,255,.35); }
.flash { animation: cellflash 1.4s var(--ease); }
@keyframes cellflash { 0% { background-color: rgba(255,107,26,.55); } }

/* ---------- call log sheet ---------- */
.btn--orange { background: var(--orange); color: var(--night); }
.btn--orange:hover { background: #fff; color: var(--blue); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.sheet {
  margin-top: 16px; border-radius: 24px; overflow: hidden;
  background: #121A4D; border: 1px solid var(--line-light);
}
.sheet__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; }
.sheet__file { display: flex; gap: 16px; align-items: flex-start; }
.sheet__icon { width: 44px; height: 44px; flex: none; }
.sheet__icon rect { fill: var(--orange); }
.sheet__icon path { stroke: var(--night); stroke-width: 2; fill: none; stroke-linecap: round; }
.sheet__title { font-size: 1.5rem; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.sheet__sub { margin-top: 4px; max-width: 60ch; font-size: .92rem; color: rgba(255,255,255,.65); }
.sheet__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sheet__count { font-size: .9rem; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.sheet__scroll { overflow-x: auto; border-top: 1px solid var(--line-light); }
.sheet__table { width: 100%; min-width: 1060px; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.sheet__table th {
  padding: 12px 16px; text-align: left; white-space: nowrap;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line-light);
}
.sheet__table td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.07); }
.sheet__table tbody tr:last-child td { border-bottom: 0; }
.sheet__table tbody tr { transition: background-color .5s; }
.sheet__table tbody tr:not(.sheet__empty):hover { background: rgba(255,255,255,.03); }
.sheet__table tr.is-live { background: var(--orange-soft); box-shadow: inset 3px 0 0 var(--orange); }
.sheet__empty td { padding: 28px 16px; color: rgba(255,255,255,.5); text-align: center; }
.sheet__time { white-space: nowrap; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.sheet__caller { display: flex; gap: 10px; align-items: center; min-width: 170px; }
.sheet__caller .rec__avatar { width: 34px; height: 34px; border-radius: 10px; font-size: .8rem; }
.sheet__name { display: block; font-weight: 700; }
.sheet__name:empty::before { content: "Identifying caller"; font-weight: 400; color: rgba(255,255,255,.45); }
.sheet__phone { display: block; font-size: .82rem; color: rgba(255,255,255,.55); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet__biz { display: inline-block; padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: .82rem; white-space: nowrap; }
.sheet__chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--orange); color: var(--night); font-weight: 600; font-size: .82rem; }
.sheet__chip:empty { display: none; }
.sheet__notes { color: rgba(255,255,255,.75); min-width: 200px; }

@media (max-width: 760px) {
  .sheet__table { min-width: 0; }
  .sheet__table thead { display: none; }
  .sheet__table tbody tr:not(.sheet__empty) { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 16px; border-bottom: 1px solid var(--line-light); }
  .sheet__table td { display: block; padding: 0; border: 0; }
  .sheet__table td[data-label] { grid-column: 1 / -1; display: grid; grid-template-columns: 76px 1fr; gap: 8px; font-size: .88rem; }
  .sheet__table td[data-label]::before { content: attr(data-label); color: rgba(255,255,255,.45); }
  .sheet__table td.sheet__time { grid-column: 2; grid-row: 1; text-align: right; }
  .sheet__table td.sheet__callercell { grid-column: 1; grid-row: 1; }
}

/* ---------- facts ---------- */
.facts { padding: clamp(56px, 9vh, 96px) var(--gutter); }
.facts__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line-dark); }
.fact {
  position: relative;
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px;
  padding: 32px clamp(16px, 2vw, 28px);
}
.fact + .fact { border-left: 1px solid var(--line-dark); }
.fact dd {
  --w: 70;
  font-size: clamp(3rem, 5.4vw, 5.2rem); font-weight: 800; font-stretch: calc(var(--w) * 1%);
  line-height: .9; letter-spacing: -.02em; color: var(--blue);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fact dt { font-size: .95rem; line-height: 1.35; color: rgba(10,15,46,.68); max-width: 18ch; }
@media (max-width: 1000px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact + .fact { border-left: 0; }
  .fact { border-top: 1px solid var(--line-dark); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .fact:last-child { grid-column: 1 / -1; }
}

/* ---------- never busy ---------- */
.busy { background: var(--blue); color: #fff; overflow: hidden; }
.busy__pin {
  min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(90px, 13vh, 130px) var(--gutter);
}
.busy .h2 { max-width: 13ch; }
.busy__lede { margin-top: 24px; max-width: 44ch; color: rgba(255,255,255,.85); }
.busy__meter { margin-top: 40px; }
.busy__count {
  display: block;
  font-size: clamp(4.5rem, 11vw, 10rem); font-weight: 800; font-stretch: 68%;
  line-height: .82; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.busy__unit { display: block; margin-top: 8px; color: rgba(255,255,255,.75); }
.busy__compare { display: grid; gap: 8px; margin-top: 28px; font-size: .95rem; color: rgba(255,255,255,.85); }
.busy__compare p { display: flex; align-items: center; gap: 10px; }
.busy__key { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.busy__key--desk { background: var(--orange); }
.busy__key--voxa { background: #fff; }

/* switchboard: callers on three orbits, wired to the Voxa hub */
.busy__board { position: relative; width: 100%; max-width: min(640px, 74vh); aspect-ratio: 1; justify-self: center; }
.busy__board svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 2 7; }
.orbit--spin { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.orbit--spin.rev { animation-direction: reverse; animation-duration: 120s; }
@keyframes spin { to { transform: rotate(360deg); } }

.caller { animation: bob 3.6s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes bob { from { transform: translate(0, 0); } to { transform: translate(var(--bx), var(--by)); } }
.caller__line { stroke: #fff; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .8s var(--ease), opacity .4s; }
.caller.on .caller__line { stroke-dashoffset: 0; opacity: .4; }
.caller__sig { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .04 .96; stroke-dashoffset: 1; opacity: 0; }
.caller.on .caller__sig { opacity: 1; animation: sig 1.8s linear infinite; animation-delay: var(--d); }
@keyframes sig { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.caller__dot { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.45); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.caller.on .caller__dot { fill: #fff; stroke: #fff; }
.caller__ring { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.caller.on .caller__ring { animation: ringout 1.1s var(--ease); }
@keyframes ringout { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }
.caller.is-first .caller__dot { stroke: var(--orange); }
.caller.is-first.on .caller__dot { fill: var(--orange); stroke: var(--orange); }
.caller.is-first .caller__line, .caller.is-first .caller__sig, .caller.is-first .caller__ring { stroke: var(--orange); }
.caller.is-first.on .caller__line { opacity: .9; }

.hub { transform-origin: 300px 300px; transform: scale(calc(1 + var(--load, 0) * .22)); transition: transform .5s var(--ease); }
.hub__glow { fill: rgba(255,255,255,calc(.06 + var(--load, 0) * .16)); }
.hub__pulse { fill: none; stroke: #fff; stroke-width: 1.5; transform-origin: 300px 300px; animation: hubpulse 2.6s ease-out infinite; }
.hub__pulse + .hub__pulse { animation-delay: -1.3s; }
@keyframes hubpulse { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }
.hub__core { fill: #fff; }
.hub__bars rect { fill: var(--blue); transform-box: fill-box; transform-origin: center; animation: bar .7s ease-in-out infinite alternate; }
.hub__bars rect:nth-child(2) { animation-delay: -.25s; }
.hub__bars rect:nth-child(3) { animation-delay: -.5s; }
.hub__bars rect:nth-child(4) { animation-delay: -.75s; }

.chip {
  position: absolute; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 10px;
  background: #fff; color: var(--night);
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(10,15,46,.25);
  opacity: 0; transform: translate(-50%, -150%) scale(.7);
  transition: opacity .4s, transform .5s var(--ease);
  pointer-events: none;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.chip.on { opacity: 1; transform: translate(-50%, -150%) scale(1); }
@media (max-width: 600px) { .chip { font-size: .68rem; padding: 4px 8px; } }
@media (max-width: 900px) {
  .busy__pin { grid-template-columns: 1fr; min-height: 0; row-gap: 20px; }
  .busy__copy { display: contents; }
  .busy .h2 { order: 1; } .busy__lede { order: 2; margin-top: 0; }
  .busy__meter { order: 3; margin-top: 8px; display: flex; align-items: baseline; gap: 12px; }
  .busy__count { font-size: 5rem; }
  .busy__unit { margin: 0; }
  .busy__board { order: 4; }
  .busy__compare { order: 5; margin-top: 0; }
}

/* ---------- process ---------- */
.process {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(90px, 14vh, 160px) var(--gutter);
  overflow-x: clip;
}
.process__side { position: sticky; top: 110px; align-self: start; }
.process__intro { margin-top: 24px; max-width: 40ch; color: rgba(10,15,46,.72); }
.steps-wrap { position: relative; --p: 0; }
.steps { position: relative; display: grid; gap: 0; }
.steps__head {
  position: absolute; z-index: 2; left: 24px; top: calc(24px + var(--p) * (100% - 48px));
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 6px rgba(255,107,26,.2), 0 0 24px rgba(255,107,26,.6);
  opacity: 0; transition: opacity .3s;
}
.anim .steps__head { opacity: 1; }

.days { margin-top: 48px; }
.days__label { display: flex; align-items: baseline; gap: .25em; font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 800; font-stretch: 70%; line-height: .9; letter-spacing: -.02em; }
.days__n { --w: 70; display: inline-block; min-width: 1em; color: var(--blue); font-stretch: calc(var(--w) * 1%); font-variant-numeric: tabular-nums; }
.days__of { font-size: .32em; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: rgba(10,15,46,.5); }
.days__strip { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 18px; max-width: 420px; }
.days__strip span { height: 10px; border-radius: 99px; background: var(--line-dark); transition: background-color .35s, transform .35s var(--ease); }
.days__strip span.done { background: var(--blue); }
.days__strip span.now { background: var(--orange); transform: scaleY(1.6); animation: blink 1s ease-in-out infinite; }
.days__now { margin-top: 14px; font-weight: 600; color: rgba(10,15,46,.75); }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: var(--line-dark);
}
.steps::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 72px; }
.step:last-child { padding-bottom: 0; }
.step__n {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-stretch: 90%;
  background: var(--fog); border: 2px solid var(--line-dark);
  transition: background-color .4s, color .4s, border-color .4s;
}
.anim .step > div { opacity: .35; transition: opacity .6s var(--ease); }
.anim .step.is-active > div { opacity: 1; }
.step__title { transition: font-stretch .6s var(--ease); }
.step.is-active .step__title { font-stretch: 92%; }
.step.is-active .step__n { animation: stepPop .6s var(--ease); }
@keyframes stepPop { 0% { transform: scale(1); } 45% { transform: scale(1.25); } 100% { transform: scale(1); } }
.step.is-active .step__n { background: var(--blue); border-color: var(--blue); color: #fff; }
.step__when { font-size: .9rem; color: var(--blue); font-weight: 600; }
.step__title { font-size: 2rem; font-weight: 800; font-stretch: 78%; line-height: 1; margin: 6px 0 12px; }
.step p:last-child { max-width: 46ch; color: rgba(10,15,46,.75); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; row-gap: 24px; }
  .process__side { display: contents; }
  .days {
    position: sticky; top: 0; z-index: 5; margin: 0 calc(var(--gutter) * -1);
    padding: 14px var(--gutter) 12px; background: var(--fog);
    border-bottom: 1px solid var(--line-dark);
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px;
  }
  .days__label { font-size: 2.4rem; grid-row: span 2; }
  .days__of { display: none; }
  .days__strip { margin: 0; gap: 4px; }
  .days__strip span { height: 8px; }
  .days__now { margin: 0; font-size: .88rem; }
}

/* ---------- industries ---------- */
.industries { background: var(--night); color: #fff; padding: clamp(90px, 14vh, 150px) var(--gutter); }
.industries .h2 { max-width: 16ch; margin-bottom: 56px; }
.ind { border-top: 1px solid var(--line-light); }
.ind__row {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  outline: none;
  isolation: isolate;
}
.ind__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--blue);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path .5s var(--ease);
}
.ind__name {
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  font-weight: 700; font-stretch: 70%;
  line-height: 1; letter-spacing: -.015em;
  transition: font-stretch .5s var(--ease), transform .5s var(--ease);
}
.ind__what { max-width: 36ch; font-size: 1rem; color: rgba(255,255,255,.6); transition: color .3s; }
.ind__row:hover::before, .ind__row:focus-visible::before { clip-path: inset(0 0 0 0); }
.ind__row:hover .ind__name, .ind__row:focus-visible .ind__name { font-stretch: 112%; transform: translateX(12px); }
.ind__row:hover .ind__what, .ind__row:focus-visible .ind__what { color: #fff; }

/* ---------- integrations ---------- */
.integrations { padding: clamp(70px, 12vh, 120px) 0; overflow: hidden; }
.integrations__lead { padding: 0 var(--gutter); margin-bottom: 28px; color: rgba(10,15,46,.65); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span {
  font-size: clamp(2.2rem, 5.5vw, 5rem); font-weight: 700; font-stretch: 85%;
  letter-spacing: -.02em; white-space: nowrap; padding-right: .6em;
}
.marquee__track span:nth-child(odd) { color: var(--blue); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- calculator ---------- */
.calc { padding: clamp(90px, 14vh, 150px) var(--gutter); border-top: 1px solid var(--line-dark); }
.calc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.calc__head .h2 { max-width: 14ch; }
.calc__head p { max-width: 40ch; color: rgba(10,15,46,.72); }
.calc__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.calc__inputs {
  display: grid; gap: 40px; align-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper); border: 1px solid var(--line-dark); border-radius: 28px;
}
.range { display: grid; gap: 16px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 500; }
.range output { font-size: 2.2rem; font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.range input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; margin: 0; border-radius: 99px; cursor: pointer;
  background: linear-gradient(var(--blue) 0 0) 0 / var(--fill, 50%) 100% no-repeat, var(--line-dark);
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 10px rgba(34,54,245,.3);
  transition: transform .25s var(--ease);
}
.range input::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 10px rgba(34,54,245,.3);
}
.range input:active::-webkit-slider-thumb { transform: scale(1.2); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--orange); outline-offset: 3px; }
.range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--orange); outline-offset: 3px; }

.calc__result {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--night); color: #fff; border-radius: 28px;
}
.calc__label { color: rgba(255,255,255,.7); }
.calc__big {
  color: var(--orange);
  font-size: clamp(3.4rem, 8vw, 7.5rem); font-weight: 800; font-stretch: 70%;
  line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  margin-top: -16px;
}
.calc__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.calc__facts dt { font-size: .85rem; color: rgba(255,255,255,.6); }
.calc__facts dd { font-size: 1.7rem; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.calc__result .btn { align-self: flex-start; margin-top: auto; }
.calc__note { font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 960px) { .calc__body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc__facts { grid-template-columns: 1fr 1fr; } }

/* ---------- faq ---------- */
.faq {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(90px, 14vh, 150px) var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.faq__list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-size: 1.35rem; font-weight: 600; font-stretch: 92%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 26px; max-width: 58ch; color: rgba(10,15,46,.75); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(120px, 22vh, 220px) var(--gutter); }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.cta__inner { position: relative; max-width: 1100px; }
.cta__title { --w: 72; font-size: clamp(3.4rem, 11vw, 11rem); font-weight: 800; font-stretch: calc(var(--w) * 1%); line-height: .86; letter-spacing: -.03em; }
.cta__lede { margin-top: 28px; max-width: 46ch; font-size: 1.2rem; color: rgba(255,255,255,.88); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.cta__phone { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.cta__phone:hover { border-color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #fff; padding: 72px var(--gutter) 28px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; }
.footer__cols a { display: block; padding: 4px 0; color: rgba(255,255,255,.75); width: fit-content; }
.footer__cols a:hover { color: #fff; }
.footer__h { font-weight: 700; margin-bottom: 10px; }
.footer__word {
  --w: 62;
  font-size: 30vw; font-weight: 800; font-stretch: calc(var(--w) * 1%);
  line-height: .8; letter-spacing: -.045em;
  margin: 64px 0 24px; white-space: nowrap; text-align: center;
  color: var(--blue);
}
.footer__base { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.55); }
.footer__cols a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- split text masks ---------- */
.mask-line { padding: .1em 0 .12em; margin: -.1em 0 -.12em; }

.is-off, .is-off * { animation-play-state: paused !important; }

/* ---------- touch targets (44px minimum) ---------- */
.logo { padding: 10px 0; }
.toggle { min-height: 44px; }
.cta__phone { display: inline-block; padding: 10px 0 6px; }
.footer__cols a { padding: 10px 0; }
.footer__base a { padding: 12px 0; }
.range input {
  height: 32px;
  background:
    linear-gradient(var(--blue) 0 0) 0 50% / var(--fill, 50%) 6px no-repeat,
    linear-gradient(var(--line-dark) 0 0) 0 50% / 100% 6px no-repeat;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
