@font-face {
  font-family: "Coconat";
  src: url("/fonts/Coconat-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Coconat";
  src: url("/fonts/Coconat-Demi.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #111214;
  --muted: #6b6c70;
  --faint: #999a9e;
  --line: rgba(17, 18, 20, 0.14);
  --soft: #f4f5f6;
  --canvas: #ffffff;
  --incoming: #e9e9ec;
  --strong: #28282b;
  --type-small: 12px;
  --type-body: 18px;
  --type-display: clamp(40px, 5.4vw, 72px);
  --font-ui: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Coconat", Georgia, serif;
  --sidebar-width: 200px;
  --content-left: clamp(180px, 18vw, 300px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-ui);
  font-size: var(--type-body);
  font-weight: 450;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.sidebar {
  position: fixed;
  z-index: 40;
  top: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  width: var(--sidebar-width);
  max-width: 80vw;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 32px 80px -26px rgba(18, 18, 28, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-family: var(--font-brand);
  font-size: var(--type-small);
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  filter: blur(4px);
  transform: translateX(-106%) scale(0.97);
  transform-origin: left center;
  transition: opacity 500ms ease, filter 550ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(42px) saturate(1.8);
  -webkit-backdrop-filter: blur(42px) saturate(1.8);
}

.page.is-open .sidebar {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: translateX(0) scale(1);
}

.menu-trigger {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 16px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 140ms ease, transform 180ms var(--ease-out);
}

.menu-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
}

.menu-logo img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.menu-trigger:focus-visible {
  border-radius: 50%;
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.page.is-open .menu-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

.site-brand {
  width: fit-content;
  font: inherit;
  font-weight: 400;
  letter-spacing: normal;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: auto 0;
}

.nav-item {
  width: fit-content;
  color: var(--muted);
  transition: color 140ms ease, transform 120ms var(--ease-out);
}

.nav-item.is-active {
  color: var(--ink);
}

.nav-access {
  width: fit-content;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: opacity 140ms ease, transform 120ms var(--ease-out);
}

.statement,
.content-section,
.faq-section,
.site-footer {
  width: min(1180px, calc(100vw - var(--content-left) - 48px));
  margin-right: auto;
  margin-left: var(--content-left);
}

.statement {
  padding: 15vh 0 20vh;
}

.hero-copy {
  width: min(930px, 100%);
}

#hero-title {
  width: max-content;
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-ending {
  white-space: nowrap;
}

.agent-character {
  --agent-body: var(--ink);
  --agent-eye: #fff;
  --agent-pupil: var(--ink);
  --gaze-x: 0px;
  --gaze-y: 0px;
  --pointer-x: 0px;
  --pointer-y: 0px;
  --pointer-lean: 0deg;
  --left-scale-x: 1;
  --left-scale-y: 1;
  --left-rotate: -7deg;
  --right-scale-x: 1;
  --right-scale-y: 1;
  --right-rotate: 2deg;
  --right-shift-x: 0px;
  --right-shift-y: 0px;
  --expression-x: 0px;
  --expression-y: 0px;
  --pupil-x: 0px;
  --pupil-y: 1px;
  --glint-opacity: 0;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  pointer-events: none;
  transform-origin: 22% 12%;
}

.agent-character svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.agent-shell {
  transform: translate(var(--pointer-x), var(--pointer-y)) rotate(var(--pointer-lean));
  transform-origin: 22% 12%;
  transform-box: fill-box;
  transition: transform 540ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.agent-body {
  fill: var(--agent-body);
  transform: scale(.96, .93);
  transform-box: fill-box;
  transform-origin: 26% 22%;
  filter: drop-shadow(0 5px 9px rgba(17, 18, 20, .14));
}

.agent-bot-face {
  transform: translate(var(--expression-x), var(--expression-y));
  transition: transform 320ms cubic-bezier(.23, 1, .32, 1);
}

.agent-eye {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms cubic-bezier(.23, 1, .32, 1);
}

.agent-eye--left {
  transform: translate(30.5px, 39.5px) rotate(var(--left-rotate)) scale(var(--left-scale-x), var(--left-scale-y));
}

.agent-eye--right {
  transform: translate(calc(50px + var(--right-shift-x)), calc(42.5px + var(--right-shift-y))) rotate(var(--right-rotate)) scale(var(--right-scale-x), var(--right-scale-y));
}

.agent-eye-white {
  fill: var(--agent-eye);
}

.agent-iris {
  transform: translate(calc(var(--pupil-x) + var(--gaze-x)), calc(var(--pupil-y) + var(--gaze-y)));
  transition: transform 460ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.agent-eye--left .agent-iris {
  transform: translate(calc(var(--pupil-x) + var(--gaze-x) - .55px), calc(var(--pupil-y) + var(--gaze-y) + .25px));
}

.agent-eye--right .agent-iris {
  transform: translate(calc(var(--pupil-x) + var(--gaze-x) + .65px), calc(var(--pupil-y) + var(--gaze-y) - .15px));
}

.agent-pupil {
  fill: var(--agent-pupil);
}

.agent-glint {
  fill: var(--agent-eye);
  opacity: var(--glint-opacity);
  transition: opacity 220ms ease;
}

.agent-character.is-shiny {
  --glint-opacity: .92;
}

.agent-character.is-blinking .agent-eye {
  transition-duration: 90ms;
}

.agent-character.is-blinking .agent-glint {
  opacity: 0;
}

.agent-character.is-blinking .agent-eye--left {
  transform: translate(30.5px, 39.5px) rotate(var(--left-rotate)) scale(var(--left-scale-x), .11);
}

.agent-character.is-blinking .agent-eye--right {
  transform: translate(calc(50px + var(--right-shift-x)), calc(42.5px + var(--right-shift-y))) rotate(var(--right-rotate)) scale(var(--right-scale-x), .11);
}

.agent-character[data-expression='curious'] {
  --left-scale-x: 1.06;
  --left-scale-y: 1.06;
  --right-scale-x: .92;
  --right-scale-y: .92;
  --left-rotate: -12deg;
  --right-rotate: 3deg;
  --right-shift-y: 1px;
  --pupil-x: 1px;
  --pupil-y: .2px;
}

.agent-character[data-expression='thinking'] {
  --left-scale-y: .88;
  --right-scale-y: .9;
  --left-rotate: -12deg;
  --right-rotate: -4deg;
  --right-shift-y: 1px;
  --pupil-x: 1.2px;
  --pupil-y: -1.5px;
  --expression-y: 1px;
}

.agent-character[data-expression='serious'] {
  --left-scale-x: 1.03;
  --left-scale-y: .58;
  --right-scale-x: 1.03;
  --right-scale-y: .58;
  --right-rotate: -1deg;
  --pupil-y: 0px;
}

.agent-character[data-expression='happy'] {
  --left-scale-x: 1.04;
  --left-scale-y: .68;
  --right-scale-x: 1.04;
  --right-scale-y: .68;
  --left-rotate: -10deg;
  --right-rotate: 2deg;
  --pupil-y: -.6px;
}

.agent-character[data-expression='love'] {
  --left-scale-x: 1.08;
  --left-scale-y: 1.07;
  --right-scale-x: 1.08;
  --right-scale-y: 1.07;
  --left-rotate: -10deg;
  --right-rotate: 5deg;
  --pupil-x: -1px;
  --pupil-y: 0px;
}

.agent-character--inline {
  width: 1em;
  height: 1em;
  margin-left: .24em;
  vertical-align: -.13em;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
.site-footer h2,
.contact-dialog h2 {
  font-family: var(--font-brand);
  font-size: var(--type-display);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy > p {
  width: min(740px, 100%);
  margin-top: 34px;
  color: var(--muted);
  font-size: var(--type-body);
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-brand);
  font-size: var(--type-small);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 120ms var(--ease-out);
}

.primary-link {
  border-color: #0a0a0a;
  background: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
}

.secondary-link {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(245, 245, 245, 0.72);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.product-film {
  margin-top: 14vh;
  scroll-margin-top: 30px;
}

.new-chat-demo-frame {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.film-controls {
  display: flex;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.film-controls button {
  position: relative;
  padding: 0 0 5px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-size: var(--type-small);
  transition: color 140ms ease, transform 120ms var(--ease-out);
}

.film-controls button::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.film-controls button.is-active {
  color: var(--ink);
}

.film-controls button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.app-shell {
  position: relative;
  min-height: 620px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #eef1f5;
  box-shadow: 0 22px 64px rgba(20, 21, 24, 0.09), 0 3px 12px rgba(20, 21, 24, 0.05);
  font-size: var(--type-small);
}

.app-rail {
  position: absolute;
  z-index: 3;
  top: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  width: 208px;
  min-width: 0;
  flex-direction: column;
  padding: 18px 16px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: -8px 2px 30px rgba(20, 21, 24, 0.04), 0 16px 38px rgba(20, 21, 24, 0.07), 0 2px 9px rgba(20, 21, 24, 0.04);
  backdrop-filter: blur(18px) saturate(1.1);
}

.rail-top,
.rail-label,
.rail-person,
.rail-account,
.app-person,
.app-header-actions {
  display: flex;
  align-items: center;
}

.rail-top {
  gap: 9px;
  min-height: 38px;
  margin-top: 32px;
  padding: 0 9px;
  border-radius: 11px;
  background: rgba(17, 18, 20, 0.09);
  font-weight: 600;
}

.rail-collapse,
.rail-compose {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--muted);
}

.rail-collapse {
  position: absolute;
  top: 18px;
  left: 22px;
}

.rail-label {
  gap: 10px;
  margin-top: 16px;
  padding: 0 9px 8px;
  color: var(--muted);
  font-weight: 600;
}

.rail-label > span:first-child {
  margin-right: auto;
}

.rail-filter {
  color: var(--faint);
  transform: rotate(180deg);
}

.rail-people {
  display: grid;
  gap: 2px;
}

.rail-person,
.rail-account {
  min-height: 38px;
  gap: 9px;
  padding: 5px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.rail-person {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}

.rail-person.is-selected {
  background: rgba(17, 18, 20, 0.09);
  color: var(--ink);
}

.rail-chevron {
  color: var(--faint);
  text-align: center;
}

.rail-detail,
.rail-session {
  display: grid;
  min-width: 0;
  align-items: center;
  margin: 0 4px 3px 35px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  text-align: left;
}

.rail-detail {
  min-height: 34px;
}

.preview-bubble {
  display: block;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 11px 11px 11px 4px;
  background: var(--incoming);
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-session {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-session.is-agent-session {
  transition: background-color 140ms ease, color 140ms ease;
}

.mini-avatar {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.mini-avatar.self {
  background: radial-gradient(circle at 32% 28%, #f3f6fa 0%, #c9d3df 42%, #9eafc2 100%);
}

.mini-avatar.maya {
  background: radial-gradient(circle at 30% 26%, #fff0df 0%, #e9b89e 43%, #a988b7 100%);
}

.mini-avatar.noah {
  background: radial-gradient(circle at 30% 24%, #edf7d4 0%, #a8cfb5 46%, #6e9ca6 100%);
}

.rail-account {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  margin-top: auto;
}

.account-ring {
  display: block;
  width: 26px;
  height: 26px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--canvas);
}

.conversation-panel {
  position: absolute;
  z-index: 2;
  inset: 12px 12px 12px 40px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--canvas);
  box-shadow: 0 16px 38px rgba(20, 21, 24, 0.08);
  transition: opacity 220ms ease, box-shadow 220ms ease;
}

.app-header {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.app-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 -18px;
  background: rgba(255, 255, 255, 0.82);
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
  backdrop-filter: blur(18px) saturate(1.1);
}

.app-person {
  gap: 9px;
}

.app-person strong {
  font-weight: 650;
}

.header-agent-label {
  display: none;
}

.app-header-actions {
  gap: 14px;
  color: var(--muted);
}

.header-agent-dot {
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.conversation-view,
.agent-view {
  position: absolute;
  inset: 0;
  transition: opacity 140ms ease, visibility 0s linear 140ms;
}

.conversation-view {
  visibility: visible;
  opacity: 1;
  transition: opacity 140ms ease;
}

.agent-view {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.self-space {
  position: absolute;
  inset: 76px 26px 88px 240px;
}

.self-note-stack {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(250px, 36%);
  gap: 10px;
}

.note-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: 0 10px 24px rgba(20, 21, 24, 0.05);
}

.note-card > span,
.note-card > p {
  color: var(--faint);
}

.note-card strong {
  font-weight: 650;
}

.self-message {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: min(470px, 66%);
  padding: 13px 15px;
  border-radius: 15px 15px 5px 15px;
  background: var(--strong);
  box-shadow: 0 8px 18px rgba(20, 21, 24, 0.14);
  color: #fff;
  line-height: 1.35;
}

.composer,
.agent-composer {
  position: absolute;
  z-index: 3;
  right: 14%;
  bottom: 20px;
  left: max(240px, calc(50% - 300px));
  display: grid;
  min-height: 48px;
  grid-template-columns: 26px 1fr 26px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(20, 21, 24, 0.04), 0 12px 30px -18px rgba(20, 21, 24, 0.42), 0 3px 10px -7px rgba(20, 21, 24, 0.24);
  color: var(--faint);
  backdrop-filter: blur(18px) saturate(1.45);
}

.composer span:last-child,
.agent-composer span:last-child {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--strong);
  color: #fff;
}

.agent-context-card {
  position: absolute;
  top: 84px;
  left: calc(50% + 100px);
  display: grid;
  width: min(370px, calc(100% - 300px));
  padding: 20px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--canvas);
  box-shadow: 0 12px 30px rgba(20, 21, 24, 0.07);
  transform: translateX(-50%);
}

.agent-context-card header {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.agent-context-card header span:last-child,
.agent-option > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.agent-context-card small {
  color: var(--faint);
}

.agent-context-dot {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
}

.agent-option {
  display: grid;
  min-height: 54px;
  grid-template-columns: 24px 1fr 12px;
  gap: 10px;
  align-items: center;
  padding: 6px 2px;
}

.agent-option > span:first-child,
.agent-option > span:last-child {
  color: var(--muted);
  text-align: center;
}

.agent-context-card > p {
  margin-top: 10px;
  color: var(--faint);
  line-height: 1.35;
}

.agent-destination {
  position: absolute;
  z-index: 4;
  right: 14%;
  bottom: 76px;
  left: max(240px, calc(50% - 300px));
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
}

.agent-destination .agent-context-dot {
  width: 29px;
  height: 29px;
}

.agent-destination .mini-avatar {
  width: 24px;
  height: 24px;
  margin-left: -2px;
}

.agent-destination > span:last-child {
  margin-left: auto;
}

.agent-composer {
  right: 14%;
  bottom: 20px;
  left: max(240px, calc(50% - 300px));
}

.product-film[data-film-step="1"] .conversation-view {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.product-film[data-film-step="1"] .agent-view {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 140ms ease;
}

.product-film[data-film-step="1"] .header-self-label,
.product-film[data-film-step="1"] .header-agent-dot {
  display: none;
}

.product-film[data-film-step="1"] .header-agent-label {
  display: inline;
}

.product-film[data-film-step="1"] .rail-detail .preview-bubble {
  background: transparent;
  color: var(--faint);
}

.product-film[data-film-step="1"] .rail-session.is-agent-session {
  background: rgba(17, 18, 20, 0.09);
  color: var(--ink);
}

.film-caption {
  margin-top: 14px;
  font-size: var(--type-small);
}

/* Front-page New Chat directory. This mirrors the live product's people-first
   home rather than presenting a flattened product screenshot. */
.directory-shell {
  position: relative;
  container-type: inline-size;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(20, 21, 24, 0.1);
  border-radius: 24px;
  background: #eef1f5;
  box-shadow: 0 22px 64px rgba(20, 21, 24, 0.09), 0 3px 12px rgba(20, 21, 24, 0.05);
  color: #17181a;
  font-family: var(--font-sans);
  font-size: 13px;
}

.directory-rail {
  position: absolute;
  z-index: 3;
  top: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  width: 208px;
  flex-direction: column;
  padding: 18px 14px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: -8px 2px 30px rgba(20, 21, 24, 0.04), 0 16px 38px rgba(20, 21, 24, 0.07);
  backdrop-filter: blur(22px) saturate(1.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
}

.directory-collapse {
  position: relative;
  display: grid;
  width: 18px;
  height: 18px;
  grid-template-columns: 5px 1fr;
  gap: 2px;
  padding: 4px;
  border: 1px solid #8c9096;
  border-radius: 3px;
  opacity: 0.72;
}

.directory-collapse i {
  display: block;
  border-radius: 1px;
  background: #8c9096;
}

.directory-new-chat {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(17, 18, 20, 0.1);
  color: #17181a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--ease-out);
}

.directory-new-chat strong {
  font-weight: 650;
}

.directory-recents-heading {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 17px 9px 8px;
  color: #71757b;
}

.directory-recents-heading strong {
  font-weight: 650;
}

.directory-recents-heading span {
  color: #9a9da2;
  font-size: 12px;
}

.directory-recents {
  display: grid;
  gap: 2px;
  min-height: 0;
}

.directory-recent {
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 30px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 9px;
  padding: 5px 7px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #17181a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--ease-out);
}

.directory-recent.is-active {
  background: rgba(17, 18, 20, 0.075);
}

.directory-recent > img,
.directory-account > img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 35%;
  box-shadow: inset 0 0 0 1px rgba(20, 21, 24, 0.08);
}

.directory-recent > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.directory-recent strong,
.directory-recent small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-recent strong {
  font-size: 12px;
  font-weight: 650;
}

.directory-recent small,
.directory-recent > span:last-child {
  color: #999ca2;
  font-size: 10px;
}

.directory-account {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 8px 7px 2px;
}

.directory-account strong {
  font-weight: 650;
}

.directory-account span {
  color: #6f7277;
  letter-spacing: 0.08em;
}

.directory-main {
  position: absolute;
  z-index: 2;
  inset: 12px 12px 12px 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(20, 21, 24, 0.08);
}

.directory-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-left: 220px;
  padding: 24px 42px 14px;
}

.directory-header h3 {
  margin: 0;
  color: #111214;
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.1cqi, 54px);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.directory-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-right: 16px;
}

.directory-sort {
  display: grid;
  width: 32px;
  height: 32px;
  place-content: center;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--ease-out);
}

.directory-sort span {
  display: block;
  height: 1.5px;
  border-radius: 99px;
  background: #71757b;
}

.directory-sort span:nth-child(1) { width: 14px; }
.directory-sort span:nth-child(2) { width: 9px; }
.directory-sort span:nth-child(3) { width: 5px; }

.directory-search {
  display: flex;
  width: min(210px, 24cqi);
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f1f3;
  color: #999ca2;
}

.directory-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17181a;
  font: inherit;
}

.directory-search input::placeholder {
  color: #999ca2;
}

.directory-close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #a2a5a9;
  font-size: 18px;
  line-height: 1;
}

.directory-contacts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-content: start;
  justify-content: space-between;
  gap: 30px 18px;
  margin-left: 220px;
  padding: 12px 42px 104px;
}

.directory-contact {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64676c;
  font: inherit;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms var(--ease-out);
}

.directory-contact[hidden] {
  display: none;
}

.directory-contact > strong {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0 3px;
  font-size: 12px;
  font-weight: 610;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-avatar {
  position: relative;
  display: block;
  width: clamp(70px, 9.5cqi, 106px);
  aspect-ratio: 1;
}

.directory-avatar > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 35%;
  box-shadow: inset 0 0 0 1px rgba(20, 21, 24, 0.08), 0 8px 22px rgba(20, 21, 24, 0.06);
}

.directory-service {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(20, 21, 24, 0.15));
}

.directory-empty {
  margin: 60px 42px 0 262px;
  color: #92959a;
  text-align: center;
}

.directory-composer {
  position: absolute;
  z-index: 4;
  right: 14%;
  bottom: 20px;
  left: max(250px, calc(50% - 230px));
  display: grid;
  min-height: 52px;
  grid-template-columns: 28px 1fr 34px;
  align-items: center;
  padding: 7px 9px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(20, 21, 24, 0.04), 0 16px 34px -18px rgba(20, 21, 24, 0.42), 0 3px 10px -7px rgba(20, 21, 24, 0.24);
  color: #999ca2;
  backdrop-filter: blur(20px) saturate(1.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
}

.directory-composer p {
  margin: 0;
}

.directory-composer button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #222326;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--ease-out);
}

.directory-new-chat:active,
.directory-recent:active,
.directory-sort:active,
.directory-contact:active,
.directory-composer button:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .directory-new-chat:hover,
  .directory-recent:hover,
  .directory-sort:hover {
    background: rgba(17, 18, 20, 0.075);
  }

  .directory-contact:hover {
    color: #17181a;
    transform: translateY(-2px);
  }

  .directory-composer button:hover {
    background: #090a0b;
  }
}

@container (max-width: 820px) {
  .directory-contacts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 14px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .directory-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .directory-search {
    width: 160px;
  }
}

@container (max-width: 620px) {
  .directory-rail {
    width: 108px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .directory-new-chat {
    justify-content: center;
    padding: 0;
  }

  .directory-new-chat strong,
  .directory-recents-heading strong,
  .directory-recents-heading span,
  .directory-recent > span,
  .directory-account strong,
  .directory-account span {
    display: none;
  }

  .directory-recents-heading {
    display: block;
    height: 10px;
    padding: 10px 0 4px;
  }

  .directory-recent {
    display: grid;
    grid-template-columns: 30px;
    justify-content: center;
    padding: 5px 0;
  }

  .directory-account {
    display: grid;
    grid-template-columns: 30px;
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }

  .directory-header,
  .directory-contacts {
    margin-left: 112px;
  }

  .directory-header {
    min-height: 100px;
    padding: 22px 20px 10px;
  }

  .directory-header h3 {
    font-size: 30px;
  }

  .directory-tools {
    padding-right: 10px;
  }

  .directory-sort {
    display: none;
  }

  .directory-search {
    width: 120px;
  }

  .directory-search input::placeholder {
    color: transparent;
  }

  .directory-contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 10px;
    padding: 10px 18px 94px;
  }

  .directory-avatar {
    width: clamp(58px, 13cqi, 78px);
  }

  .directory-service {
    width: 20px;
    height: 20px;
  }

  .directory-composer {
    right: 12px;
    bottom: 12px;
    left: 126px;
  }
}

@media (max-width: 680px) {
  .directory-shell {
    min-height: 500px;
    border-radius: 18px;
  }

  .directory-rail {
    top: 6px;
    bottom: 6px;
    left: 6px;
  }

  .directory-main {
    inset: 6px 6px 6px 24px;
    border-radius: 14px;
  }

  .directory-recent:nth-child(n + 6) {
    display: none;
  }

  .directory-contact:nth-child(n + 10) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-new-chat,
  .directory-recent,
  .directory-sort,
  .directory-contact,
  .directory-composer button {
    transition: none;
  }
}

.content-section,
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 10vw;
  padding: 22vh 0;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 28px;
}

.section-copy {
  display: grid;
  align-content: start;
  gap: 28px;
}

.section-copy p,
.footer-copy > p,
.faq-list p {
  color: var(--muted);
  font-size: var(--type-body);
}

.section-copy p:last-child {
  color: var(--ink);
}

.about-section {
  column-gap: clamp(52px, 8vw, 112px);
  row-gap: 10vh;
}

.about-section .section-copy {
  width: min(500px, 100%);
  gap: 20px;
  line-height: 1.42;
}

.relationship-map {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(340px, 32vw, 460px);
  margin: 2vh 0 0;
  overflow: hidden;
}

.relationship-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.relationship-lines path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.map-paths path {
  stroke: rgba(17, 18, 20, 0.32);
  stroke-width: 1;
}

.map-streams path {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.4;
  stroke-dasharray: 96 520;
  animation: map-current 4.8s linear infinite;
}

.map-streams path:nth-child(3n + 2) { animation-delay: -1.6s; }
.map-streams path:nth-child(3n) { animation-delay: -3.2s; }

.map-node,
.map-center {
  position: absolute;
  z-index: 1;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
}

.map-node {
  width: 72px;
  height: 72px;
  place-items: center;
}

.map-node img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(20, 21, 24, 0.08));
}

.map-signal img,
.map-messenger img,
.map-x img,
.map-wechat img,
.map-google-chat img,
.map-kakaotalk img,
.map-slack img,
.map-mail img {
  width: 56px;
  height: 56px;
}

.map-wechat img,
.map-kakaotalk img,
.map-mail img {
  width: 64px;
  height: 64px;
}

.map-imessage { top: 18%; left: 6%; }
.map-whatsapp { top: 10%; left: 20%; }
.map-instagram { top: 22%; left: 34%; }
.map-telegram { top: 10%; left: 50%; }
.map-signal { top: 22%; left: 66%; }
.map-messenger { top: 10%; left: 80%; }
.map-x { top: 18%; left: 94%; }
.map-wechat { top: 78%; left: 8%; }
.map-google-chat { top: 90%; left: 25%; }
.map-kakaotalk { top: 80%; left: 39%; }
.map-linkedin { top: 80%; left: 61%; }
.map-discord { top: 90%; left: 75%; }
.map-slack { top: 78%; left: 92%; }
.map-mail { top: 90%; left: 50%; }

.map-center {
  top: 50%;
  left: 50%;
  gap: 7px;
}

.map-brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 116px;
  height: 116px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.map-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

@keyframes map-current {
  to { stroke-dashoffset: -616; }
}

.identity-section {
  column-gap: clamp(52px, 8vw, 112px);
  row-gap: 10vh;
}

.identity-section .section-copy {
  width: min(500px, 100%);
  gap: 20px;
  line-height: 1.42;
}

.identity-map {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, .48fr) minmax(280px, .9fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.identity-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.identity-flow-lines path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.identity-paths path {
  stroke: rgba(17, 18, 20, .1);
  stroke-width: 1.2;
}

.identity-streams path {
  stroke-width: 2.4;
  stroke-dasharray: 18 64;
  animation: identity-current 3.2s linear infinite;
}

.identity-streams path:nth-child(1) { stroke: #2aabee; }
.identity-streams path:nth-child(2) { stroke: #54c454; animation-delay: -.45s; }
.identity-streams path:nth-child(3) { stroke: #25d366; animation-delay: -.9s; }
.identity-streams path:nth-child(4) { stroke: #d94d8b; animation-delay: -1.35s; }
.identity-streams path:nth-child(5) { stroke: #111214; animation-delay: -1.8s; }
.identity-streams path:nth-child(6) { stroke: #111214; animation-delay: -2.25s; }

.identity-sources,
.identity-agent,
.unified-person {
  position: relative;
  z-index: 1;
}

.identity-sources {
  display: grid;
  gap: 14px;
}

.identity-source {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 7px 0;
  background: var(--canvas);
}

.identity-source-avatar {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
}

.identity-source-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.identity-source-app {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 3px solid var(--canvas);
  border-radius: 50%;
  background: var(--canvas);
}

.identity-source--x .identity-source-app {
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
}

.identity-source-app img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.identity-source-copy strong,
.identity-source-copy small {
  display: block;
}

.identity-source-copy {
  width: fit-content;
  min-width: 190px;
  padding: 10px 14px 11px;
  border-radius: 12px;
}

.identity-source--telegram .identity-source-copy { background: #e8f6fd; }
.identity-source--wechat .identity-source-copy { background: #ebf8e9; }
.identity-source--whatsapp .identity-source-copy { background: #e8f8ee; }
.identity-source--instagram .identity-source-copy { background: #f9ebf2; }
.identity-source--x .identity-source-copy { background: #eeeeef; }

.identity-source-copy strong {
  font-family: var(--font-brand);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
}

.identity-source-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.identity-agent {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.agent-character--identity {
  z-index: 1;
  width: 112px;
  height: 120px;
  animation: identity-guide 6.8s cubic-bezier(.77, 0, .175, 1) infinite alternate;
  will-change: transform;
}

.unified-person {
  justify-self: end;
  width: min(100%, 320px);
  padding: clamp(28px, 3vw, 42px) clamp(24px, 3vw, 34px);
  border-radius: 30px;
  background: var(--soft);
  box-shadow: 0 24px 70px rgba(17, 18, 20, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
}

.unified-person-avatar {
  display: block;
  width: clamp(118px, 12vw, 154px);
  height: clamp(118px, 12vw, 154px);
  margin: 0 auto 24px;
  border: 5px solid var(--canvas);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(17, 18, 20, .15);
}

.unified-person h3 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.unified-sources {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.unified-sources img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.unified-sources img:last-child {
  width: 19px;
  height: 19px;
  align-self: center;
}

@keyframes identity-current {
  to { stroke-dashoffset: -82; }
}

@keyframes identity-guide {
  0%, 16% { transform: translate3d(-5px, -6px, 0) rotate(-4deg); }
  44%, 58% { transform: translate3d(5px, 2px, 0) rotate(2deg); }
  100% { transform: translate3d(-2px, 7px, 0) rotate(5deg); }
}

.product-section {
  display: block;
}

.tough-conversation-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(34px, 4.5vw, 76px);
  min-height: 100svh;
  padding: clamp(36px, 5vh, 56px) 0;
}

.tough-conversation-section .tough-copy {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(28px, 4vh, 42px);
}

.tough-conversation-section h2 {
  max-width: 620px;
  font-size: clamp(40px, 3.4vw, 68px);
  line-height: 0.98;
}

.tough-copy .section-copy {
  width: min(520px, 100%);
  gap: 18px;
}

.tough-copy .section-copy p {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.42;
}

.tough-copy .tough-subhead {
  color: var(--ink);
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tough-demo-frame {
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.1);
  border-radius: 22px;
  background: #eef1f5;
  box-shadow: 0 24px 64px rgba(20, 21, 24, 0.09);
}

.tough-demo-frame iframe {
  display: block;
  width: 100%;
  height: clamp(500px, 72vh, 600px);
  border: 0;
  background: transparent;
}

.section-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 10vw;
}

.agents-block {
  margin-top: 24vh;
  padding-top: 20vh;
  border-top: 1px solid var(--line);
}

.product-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 20vh;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.product-moments article + article {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.product-moments h3,
.principles-list dt,
.faq-list summary {
  font-family: var(--font-brand);
  font-size: var(--type-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-moments p {
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--type-body);
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principles-list > div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principles-list dd {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--type-body);
}

.faq-section {
  border-top-color: var(--line);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--faint);
  font-weight: 450;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 0 26px;
  line-height: 1.55;
}

.site-footer {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  padding: 0 0 34px;
  border-top: 1px solid var(--ink);
  isolation: isolate;
}

.footer-copy {
  position: relative;
  z-index: 2;
  width: min(500px, 38%);
  padding-top: 17vh;
}

.footer-character-stage {
  position: absolute;
  z-index: 10;
  top: 0;
  right: calc(var(--content-left) + 100% - 100vw);
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.agent-character--footer {
  position: absolute;
  top: 12%;
  left: 78%;
  width: clamp(660px, 64vw, 860px);
  height: clamp(660px, 64vw, 860px);
  filter: none;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 20%;
  animation: footer-agent-drift 8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  animation-play-state: paused;
  will-change: transform;
}

.agent-character--footer.is-active {
  animation-play-state: running;
}

.agent-character--footer .agent-body {
  transform: scale(1.02, 1);
  filter: drop-shadow(0 2px 3px rgba(17, 18, 20, 0.12));
}

@keyframes footer-agent-drift {
  0%, 100% {
    transform: translate3d(-52%, 1.5%, 0) rotate(-1.2deg);
  }
  50% {
    transform: translate3d(-48%, -1.5%, 0) rotate(1.1deg);
  }
}

.footer-copy > p {
  width: min(650px, 100%);
  margin-top: 34px;
}

.footer-copy .primary-link {
  margin-top: 34px;
}

.contact-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.contact-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.contact-dialog {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--ink);
  background: var(--canvas);
  font-size: var(--type-small);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.contact-dialog:focus {
  outline: 0;
}

.contact-overlay.is-open .contact-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  transition: opacity 140ms ease, transform 120ms var(--ease-out);
}

.access-form {
  display: grid;
  gap: 26px;
  margin-top: 56px;
}

.contact-dialog label {
  display: grid;
  gap: 8px;
}

.contact-dialog label > span {
  color: var(--ink);
  font-size: inherit;
}

.contact-dialog input,
.contact-dialog textarea {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  font-size: inherit;
  resize: vertical;
  transition: border-color 140ms ease;
}

.contact-dialog input::placeholder,
.contact-dialog textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.contact-dialog input:focus,
.contact-dialog textarea:focus {
  border-color: var(--ink);
}

.nav-access:active,
.nav-item:active,
.menu-trigger:active,
.primary-link:active,
.secondary-link:active,
.film-controls button:active,
.modal-close:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover,
  .nav-access:hover,
  .film-controls button:hover,
  .modal-close:hover {
    opacity: 0.56;
  }

  .primary-link:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }

  .secondary-link:hover {
    border-color: rgba(255, 255, 255, 0.96);
    background: rgba(238, 238, 238, 0.86);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 0.68);
    transform: translateY(-1px);
  }
}

@media (max-width: 920px) {
  :root {
    --content-left: 150px;
  }

  .statement,
  .content-section,
  .faq-section,
  .site-footer {
    width: calc(100vw - var(--content-left) - 32px);
    margin-left: var(--content-left);
  }

  .rail-person,
  .rail-account {
    gap: 6px;
  }

  .content-section,
  .faq-section,
  .section-block {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .identity-map {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: 0;
    overflow: visible;
  }

  .identity-flow-lines {
    display: none;
  }

  .identity-agent {
    min-height: 150px;
  }

  .identity-agent::before,
  .identity-agent::after {
    position: absolute;
    left: 50%;
    height: 48px;
    content: "";
  }

  .identity-agent::before {
    top: -52px;
    width: 112px;
    height: 88px;
    background:
      linear-gradient(#2aabee, #2aabee) 10px 0 / 2px 100% no-repeat,
      linear-gradient(#54c454, #54c454) 33px 0 / 2px 100% no-repeat,
      linear-gradient(#25d366, #25d366) 55px 0 / 2px 100% no-repeat,
      linear-gradient(#d94d8b, #d94d8b) 78px 0 / 2px 100% no-repeat,
      linear-gradient(#111214, #111214) 100px 0 / 2px 100% no-repeat;
    clip-path: polygon(0 0, 100% 0, 57% 100%, 43% 100%);
    transform: translateX(-50%);
  }

  .identity-agent::after {
    bottom: -52px;
    width: 1px;
    background: var(--ink);
  }

  .agent-character--identity {
    width: 88px;
    height: 94px;
    animation-name: identity-guide-mobile;
  }

  .unified-person {
    justify-self: center;
    width: min(100%, 380px);
  }
}

@media (max-width: 680px) {
  :root {
    --content-left: 16px;
    --type-body: 16px;
    --type-display: 40px;
  }

  .sidebar {
    top: 14px;
    bottom: 14px;
    left: 14px;
    width: min(200px, calc(100vw - 28px));
  }

  .statement,
  .content-section,
  .faq-section,
  .site-footer {
    width: calc(100vw - 32px);
    margin-left: 16px;
  }

  .menu-trigger {
    top: 18px;
    left: 18px;
  }

  .statement {
    padding-top: 168px;
    padding-bottom: 128px;
  }

  #hero-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-copy > p {
    margin-top: 28px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 28px;
  }

  .product-film {
    margin-top: 96px;
  }

  .new-chat-demo-frame {
    height: 520px;
    border-radius: 18px;
  }

  .film-controls {
    gap: 14px;
    overflow-x: auto;
  }

  .app-shell {
    min-height: 500px;
    border-radius: 18px;
  }

  .app-rail {
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 104px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .rail-top,
  .rail-label,
  .rail-person,
  .rail-account {
    padding-right: 3px;
    padding-left: 3px;
  }

  .rail-top span:last-child,
  .rail-label > span:first-child,
  .rail-person > span:last-child,
  .rail-account > span:last-child {
    display: none;
  }

  .rail-detail,
  .rail-session {
    display: none;
  }

  .conversation-panel {
    inset: 6px 6px 6px 24px;
    margin: 0;
    border-radius: 14px;
  }

  .app-header {
    padding: 0 12px;
  }

  .app-header-actions {
    gap: 8px;
  }

  .self-space {
    inset: 72px 10px 76px 100px;
  }

  .self-note-stack {
    width: min(170px, 78%);
  }

  .self-note-stack .note-card:first-child {
    display: none;
  }

  .note-card {
    padding: 12px;
  }

  .self-message {
    width: min(230px, 94%);
  }

  .composer {
    right: 10px;
    bottom: 10px;
    left: 100px;
  }

  .agent-context-card {
    top: 74px;
    left: calc(50% + 48px);
    width: min(280px, calc(100% - 116px));
    padding: 15px 13px 12px;
  }

  .agent-composer {
    right: 10px;
    bottom: 10px;
    left: 100px;
  }

  .agent-destination {
    right: 10px;
    bottom: 66px;
    left: 100px;
  }

  .content-section,
  .faq-section {
    gap: 52px;
    padding: 128px 0;
  }

  .about-section {
    row-gap: 72px;
  }

  .identity-section {
    row-gap: 72px;
  }

  .identity-source {
    min-height: 70px;
  }

  .relationship-map {
    height: 320px;
    margin-top: 8px;
  }

  .map-node {
    width: 48px;
    height: 42px;
  }

  .map-node img {
    width: 42px;
    height: 42px;
  }

  .map-signal img,
  .map-messenger img,
  .map-x img,
  .map-wechat img,
  .map-google-chat img,
  .map-kakaotalk img,
  .map-slack img,
  .map-mail img {
    width: 37px;
    height: 37px;
  }

  .map-brand-logo {
    width: 72px;
    height: 72px;
  }

  .map-paths path:nth-child(1), .map-streams path:nth-child(1) { d: path("M114 88 C210 92 330 150 418 185"); }
  .map-paths path:nth-child(2), .map-streams path:nth-child(2) { d: path("M241 69 C285 118 360 148 421 178"); }
  .map-paths path:nth-child(3), .map-streams path:nth-child(3) { d: path("M383 112 C400 130 412 146 426 166"); }
  .map-paths path:nth-child(4), .map-streams path:nth-child(4) { d: path("M500 69 C492 100 493 125 500 152"); }
  .map-paths path:nth-child(5), .map-streams path:nth-child(5) { d: path("M617 112 C600 130 588 146 574 166"); }
  .map-paths path:nth-child(6), .map-streams path:nth-child(6) { d: path("M759 69 C715 118 640 148 579 178"); }
  .map-paths path:nth-child(7), .map-streams path:nth-child(7) { d: path("M886 88 C790 92 670 150 582 185"); }
  .map-paths path:nth-child(8), .map-streams path:nth-child(8) { d: path("M135 297 C250 302 350 268 418 215"); }
  .map-paths path:nth-child(9), .map-streams path:nth-child(9) { d: path("M287 336 C355 308 397 270 425 229"); }
  .map-paths path:nth-child(10), .map-streams path:nth-child(10) { d: path("M414 293 C434 272 447 252 455 238"); }
  .map-paths path:nth-child(11), .map-streams path:nth-child(11) { d: path("M586 293 C566 272 553 252 545 238"); }
  .map-paths path:nth-child(12), .map-streams path:nth-child(12) { d: path("M713 336 C645 308 603 270 575 229"); }
  .map-paths path:nth-child(13), .map-streams path:nth-child(13) { d: path("M865 297 C750 302 650 268 582 215"); }
  .map-paths path:nth-child(14), .map-streams path:nth-child(14) { d: path("M500 328 C508 298 507 275 500 248"); }

  .agents-block {
    margin-top: 128px;
    padding-top: 128px;
  }

  .tough-demo-frame {
    margin-top: 72px;
    border-radius: 22px;
  }

  .tough-demo-frame iframe {
    height: 1120px;
  }

  .product-moments {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 128px;
  }

  .product-moments article + article {
    padding-top: 38px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    min-height: 100vh;
    padding-top: 0;
  }

  .footer-copy {
    width: 100%;
    padding-top: 128px;
  }

  .footer-character-stage {
    top: 42%;
    right: calc(var(--content-left) + 100% - 100vw);
    bottom: 0;
    left: 0;
  }

  .agent-character--footer {
    top: 0;
    left: 68%;
    width: clamp(440px, 125vw, 660px);
    height: clamp(440px, 125vw, 660px);
  }

  .contact-dialog {
    width: calc(100vw - 20px);
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .map-streams path {
    animation: none;
    opacity: 0;
  }

  .identity-streams path {
    animation: none;
    opacity: .32;
  }

  .agent-character--identity {
    animation: none;
  }

  .agent-shell,
  .agent-bot-face,
  .agent-eye,
  .agent-iris,
  .agent-glint {
    transition-duration: 0.01ms !important;
  }

  .agent-character--footer {
    animation: none;
    transform: translate3d(-50%, 0, 0) rotate(-0.5deg);
  }

}

@keyframes identity-guide-mobile {
  0%, 20% { transform: translate3d(-22px, -4px, 0) rotate(-5deg); }
  80%, 100% { transform: translate3d(22px, 4px, 0) rotate(5deg); }
}
