:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #1d1d20;
  background: #fff;
  --muted: #52535c;
  --line: #dedee3;
  --soft: #f4f4f6;
}
* { box-sizing: border-box; }
[hidden], #feedback:empty { display: none !important; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.045em; line-height: 1.12; }
h3 { font-size: 1.12rem; }
a { color: inherit; }
.shell { width: min(100% - 36px, 1024px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, nav, .bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.header-inner { justify-content: space-between; padding-block: 12px; }
.site-header a { display: inline-block; text-decoration: none; padding-block: 6px; }
a.wordmark {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 750; letter-spacing: -.035em; text-decoration: none;
}
.wordmark img { display: block; width: 26px; height: auto; }
.site-header .dashboard-link { display: inline-flex; gap: 7px; font-size: .9rem; }
.dashboard-arrow { transition: transform .16s ease-out; }
.dashboard-link:hover .dashboard-arrow { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) {
  .dashboard-arrow { transition: none; }
}
.site-header:has(.dashboard-link) .header-inner { padding-block: 8px; }
.site-header nav { gap: 4px; }
.site-header nav a { font-size: .9rem; color: var(--muted); padding-inline: 11px; border-radius: 8px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: var(--soft); color: #1d1d20; }
.landing { padding-top: clamp(20px, 4vh, 43px); }
.intro { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
.intro h1 {
  max-width: 100%;
  font-size: clamp(2.35rem, 6.6vw, 5rem);
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.05;
  text-wrap: balance;
}
.agent-line { display: flex; align-items: center; justify-content: center; gap: .23em; white-space: nowrap; }
.hero-second-line { display: block; }
@property --agent-side-fade {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.agent-slot {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; min-width: 0;
  --agent-extra-gutter: .15em;
  max-width: calc(100vw - 36px - 5.7em + 2 * var(--agent-extra-gutter)); overflow: hidden;
  margin-block: -.11em;
  margin-inline: calc(-1 * var(--agent-extra-gutter));
  mask-image:
    linear-gradient(to bottom, transparent, #000 .1em, #000 calc(100% - .1em), transparent),
    linear-gradient(to right, transparent, #000 var(--agent-side-fade), #000 calc(100% - var(--agent-side-fade)), transparent);
  mask-composite: intersect;
  transition: width .34s cubic-bezier(.22, .75, .28, 1), --agent-side-fade .16s ease-out;
}
.agent-slot[data-width-transition] { --agent-side-fade: .13em; }
.agent-option {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .12em; width: max-content;
  padding: .11em calc(.03em + var(--agent-extra-gutter));
  transform: translateY(-100%);
}
.agent-option:is([data-active], [data-exit]) { transition: transform .34s cubic-bezier(.22, .75, .28, 1); }
.agent-option[data-active] { transform: translateY(0); }
.agent-option[data-exit] { transform: translateY(100%); }
.agent-icon { display: block; flex: 0 0 auto; width: .55em; height: .55em; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .agent-slot, .agent-option:is([data-active], [data-exit]) { transition: none; }
}
.intro p { color: var(--muted); font-size: 1.06rem; text-wrap: balance; }
button, .button, input { font: inherit; min-height: 44px; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border-radius: 999px; padding: 8px 17px; border: 1px solid #24252a; background: #24252a;
  color: #fff; font-weight: 650; cursor: pointer;
}
button:disabled { opacity: .6; cursor: wait; }
.secondary-button { background: #fff; color: #24252a; border-color: var(--line); }
:focus-visible { outline: 2px solid #385cb8; outline-offset: 3px; }
.demo {
  margin-top: clamp(20px, 4vh, 38px);
  display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 270px);
  gap: clamp(18px, 7vw, 80px); align-items: center; justify-content: center;
}
.handset {
  width: clamp(166px, 28vh, 226px);
  aspect-ratio: 519 / 1074;
  position: relative;
  isolation: isolate;
}
.handset-frame {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 3px 3px #13182020) drop-shadow(0 13px 13px #19243826);
  pointer-events: none;
}
.handset-screen {
  position: absolute; inset: 1.67% 4.1% 1.72% 3.35%;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 10.2% / 4.72%;
  padding: 7px clamp(6px, .8vw, 11px) 6px; background: #fdfcfb;
}
.handset-screen:is([data-state="home"], [data-state="tap"]) {
  color: #fff;
  background:
    linear-gradient(180deg, #25253b9c 0%, transparent 19%),
    radial-gradient(ellipse at 128% 6%, #c5bdf7 0 29%, #756fa6 30%, transparent 45%),
    linear-gradient(153deg, #1e2039 15%, #3d3863 43%, #69618c 64%, #343246 90%);
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between; position: relative;
  min-height: 17px; padding-inline: 3px; font-size: .64rem; font-weight: 650;
  line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.phone-status::before {
  /* Sample the camera lens from the same product render. */
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 5.1%; aspect-ratio: 1; border-radius: 50%;
  background: #101116 url("/galaxy-s24-front.webp") 49.5% 3.05% / 2162.5% 4475% no-repeat;
}
.phone-indicators { display: flex; align-items: center; gap: 3px; }
.phone-wifi {
  width: 11px; height: 9px;
  background: radial-gradient(circle at 50% 100%,
    currentColor 0 1.4px, transparent 1.6px 3px, currentColor 3.2px 4.4px,
    transparent 4.6px 6.1px, currentColor 6.3px 7.7px, transparent 7.9px);
  clip-path: polygon(0 14%, 100% 14%, 55% 100%, 45% 100%);
}
.phone-signal {
  width: 10px; height: 8px; background: currentColor;
  clip-path: polygon(0 100%, 0 73%, 16% 73%, 16% 100%, 28% 100%, 28% 49%, 44% 49%, 44% 100%,
    56% 100%, 56% 24%, 72% 24%, 72% 100%, 84% 100%, 84% 0, 100% 0, 100% 100%);
}
.phone-battery {
  padding-inline: 2px; min-width: 16px; border-radius: 5px;
  background: linear-gradient(90deg, #30323b 82%, #6b6e78 82%); color: #fff; font-size: .47rem; line-height: 10px;
  text-align: center; font-style: normal;
}
.handset-screen:is([data-state="home"], [data-state="tap"]) .phone-battery {
  background: linear-gradient(90deg, #f8f6ff 82%, #c0bbd6 82%); color: #21232f;
}
.phone-home { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 23% 4% 7%; }
.phone-widget { display: grid; justify-items: start; gap: 3px; text-shadow: 0 1px 3px #16152770; font-size: .63rem; }
.phone-clock { font-size: clamp(1.33rem, 3.5vw, 2.45rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.phone-launcher { display: grid; gap: 10px; }
.phone-shortcut { width: max-content; display: grid; justify-items: center; gap: 2px; margin-left: 4px; font-size: .59rem; }
.notes-icon, .dock-icon { display: block; width: clamp(22px, 2.5vw, 31px); height: auto; aspect-ratio: 1; }
.notes-icon { position: relative; }
.notes-icon img { display: block; width: 100%; height: auto; }
.phone-dock { display: flex; justify-content: space-around; padding: 4px 2px; border-radius: 11px; background: #e2dbff2b; }
.phone-dialer { position: relative; }
.handset-screen[data-state="tap"] .phone-dialer::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff;
  animation: tap-ripple .55s ease-out both;
}
.phone-recents {
  container-type: inline-size;
  flex: 1 1 0; min-height: 0; display: flex; flex-direction: column;
  margin-top: 6px; margin-bottom: 9px; animation: app-open .24s ease-out both;
}
.handset-screen[data-state="recents"] { background: #f1f2f3; }
.phone-app-title {
  margin: clamp(8px, 9cqw, 19px) 0 clamp(8px, 10cqw, 22px);
  text-align: center; font-size: clamp(19px, 13.5cqw, 29px);
  line-height: 1.08; letter-spacing: -.045em; font-weight: 680;
}
.phone-app-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-inline: 4px; color: #262930;
}
.phone-app-actions { display: flex; gap: 5px; }
.phone-recents svg {
  display: block; width: 12px; height: 12px; fill: none; stroke: currentColor;
  stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
}
.phone-recents h2 {
  margin: 0; font-size: clamp(10px, 7.4cqw, 15px); font-weight: 660; letter-spacing: -.025em;
}
.call-group { margin-top: clamp(5px, 4.6cqw, 10px); }
.call-group h3 {
  margin: 0 3px 3px; color: #626575; font-size: clamp(7px, 5cqw, 9px);
  font-weight: 650; line-height: 1.2;
}
.call-group ul { margin: 0; padding: 0; list-style: none; border-radius: 10px; background: #fff; }
.recent-call {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(3px, 3.2cqw, 6px);
  padding: clamp(4px, 4cqw, 8px) 4px; border: 1px solid transparent; border-radius: 10px;
}
.recent-call + .recent-call { border-top-color: #eeedf1; }
.recent-call[data-selected] { background: #f3faf6; border-color: #94bb9f; }
.call-direction {
  display: grid; place-items: center; width: clamp(13px, 11cqw, 21px); aspect-ratio: 1;
  border-radius: 50%; color: #555d64; background: #edefef;
}
.call-direction svg { width: 72%; height: 72%; }
.call-missed { color: #9f374d; background: #fae5eb; }
.call-details { display: grid; gap: 2px; line-height: 1.12; }
.call-details strong { font-size: clamp(8px, 6.5cqw, 12px); font-weight: 650; letter-spacing: -.02em; }
.call-details small, .recent-call time { color: #5c6070; font-size: clamp(6px, 4.9cqw, 9px); white-space: nowrap; }
.call-missed + .call-details small { color: #91354a; }
.recent-call time { font-variant-numeric: tabular-nums; }
.call-preview {
  display: none; grid-column: 2 / -1; align-items: center; justify-content: space-between; gap: 3px;
  padding-top: 4px; border-top: 1px solid #dbe9df; color: #355844;
  font-size: clamp(6px, 4.8cqw, 9px); white-space: nowrap;
}
.recent-call[data-selected] .call-preview { display: flex; }
.call-preview-icons { display: flex; gap: 4px; }
.call-preview-icons svg { width: clamp(8px, 6.5cqw, 12px); height: auto; }
.phone-tabs {
  align-self: center; width: min(92%, 160px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2px; margin-top: auto; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 3px #181b231f; text-align: center;
  color: #45494e; font-size: clamp(6px, 4.5cqw, 9px); line-height: 1.2;
}
.phone-tabs > * { display: grid; justify-items: center; gap: 2px; padding-block: 3px; }
.phone-tabs strong { border-radius: 999px; color: #254e37; background: #e1eee5; font-weight: 650; }
@container (max-width: 127px) {
  .recent-call.earlier-call { display: none; }
}
.phone-handle {
  position: absolute; z-index: 1; bottom: 5px; left: 50%; width: 28%; height: 2px;
  translate: -50% 0; background: currentColor; opacity: .65; border-radius: 3px;
}
.secondary { color: var(--muted); }
.device-meta { font-size: .88rem; }
.chat {
  --chat-gap: 7px;
  margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: flex-end;
}
.chat-entry { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .42s cubic-bezier(.22, .8, .25, 1); }
.chat-entry[data-shown="true"] { grid-template-rows: 1fr; visibility: visible; }
.chat-clip { min-height: 0; overflow: hidden; }
.chat-bubble {
  width: fit-content; max-width: 90%; padding: 7px 12px;
  border-radius: 15px 15px 15px 5px; background: #f1f1f4;
  margin-top: var(--chat-gap); font-size: .9rem; line-height: 1.3;
}
.chat-request .chat-bubble { margin: 0 0 0 auto; border-radius: 15px 15px 5px 15px; color: #fff; background: #4b6d97; }
.chat-entry:not(.chat-request)[data-shown="true"] .chat-bubble {
  transform-origin: bottom left; animation: reply-arrives .49s cubic-bezier(.2, .8, .26, 1) both;
}
@keyframes reply-arrives {
  from { opacity: .2; transform: translateY(14px) scale(.86); }
  72% { opacity: 1; transform: translateY(-1px) scale(1.025); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bot-status { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: .83rem; }
.dot-avatar { flex: 0 0 auto; }
.dot-avatar img { display: block; object-fit: contain; }
@keyframes tap-ripple {
  from { opacity: 1; transform: scale(.75); }
  to { opacity: 0; transform: scale(1.65); }
}
@keyframes app-open {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .phone-recents, .handset-screen[data-state="tap"] .phone-dialer::before { animation: none; }
  .chat-entry { transition: none; }
  .chat-entry:not(.chat-request)[data-shown="true"] .chat-bubble { animation: none; }
}
.section { margin-block: clamp(34px, 6vw, 65px); }
.section-heading h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em; line-height: 1.1; }
.section-heading p { margin-top: 6px; }
form, .pairing, .empty, .audit { background: var(--soft); border-radius: 15px; padding: 18px; }
form, #workspace, .integrations { margin-top: 19px; }
label { display: block; font-weight: 650; margin-bottom: 7px; }
input { border: 1px solid #aeafb8; border-radius: 8px; color: inherit; background: #fff; width: min(100%, 330px); padding: 8px 11px; }
.workspace-heading { justify-content: space-between; margin-bottom: 12px; }
.pairing { margin-bottom: 14px; }
.pairing ol { padding-left: 22px; }
.pairing p { margin-top: 7px; }
.table-wrap { border: 1px solid var(--line); border-radius: 13px; overflow-x: auto; }
table { width: 100%; min-width: 560px; text-align: left; border-collapse: collapse; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-size: .85rem; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.device-meta { display: block; color: var(--muted); overflow-wrap: anywhere; }
.status { display: inline-block; padding: 3px 8px; border-radius: 99px; background: #ebebef; font-size: .84rem; white-space: nowrap; }
.status.ready { color: #235337; background: #e8f5ed; }
.status.waiting { color: #734415; background: #fcf0df; }
button.revoke { color: #8b2825; border-color: var(--line); background: #fff; }
.audit { margin-top: 20px; }
.audit ol { margin: 8px 0 0; padding-left: 22px; overflow-wrap: anywhere; }
#feedback { margin-top: 8px; color: #8b2825; }
.integrations { padding: 0; list-style: none; }
.integrations li { display: flex; gap: 8px 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; margin-top: 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 20px; padding-block: 14px; }
.footer-inner nav { gap: 5px 16px; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; }
.footer-legal summary { cursor: pointer; }
.footer-legal p { max-width: 50ch; margin-top: 7px; }
@media (min-width: 561px) and (max-height: 760px) {
  .handset { width: clamp(166px, 25.5vh, 226px); }
}
@media (max-width: 560px) {
  .intro h1 { font-size: clamp(1.58rem, 8vw, 2.35rem); }
  .landing .intro p { font-size: .94rem; }
  .demo { grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: 13px; }
  .handset { width: min(100%, 164px); justify-self: center; }
  .chat { --chat-gap: 5px; }
  .chat-bubble, .bot-status { font-size: .76rem; }
  .chat-bubble { padding: 5px 8px; }
  .bot-status { margin-top: 8px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 6px; }
  .site-header .dashboard-link { gap: 5px; padding-inline: 12px; }
  .site-header:has(+ main .landing) .header-inner { padding-block: 8px; }
  a.wordmark { gap: 5px; font-size: .9rem; }
  .wordmark img { width: 22px; }
  .site-header nav a { font-size: .8rem; padding-inline: 6px; }
  .landing { padding-top: 11px; }
  .landing .intro { gap: 8px; }
  .demo { margin-top: 11px; gap: 11px; }
  .recent-call { row-gap: 2px; }
  .call-details { display: contents; }
  .call-direction { grid-row: 1 / span 2; }
  .call-details strong { grid-column: 2 / -1; grid-row: 1; }
  .call-details small { grid-column: 2; grid-row: 2; }
  .recent-call time { grid-column: 3; grid-row: 2; }
  .call-preview { grid-row: 3; }
}
