@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/BricolageGrotesque-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/InstrumentSans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --ink: #17211e;
  --body: #3c4642;
  --muted: #6b7570;
  --line: #e4e4df;
  --line-soft: #ecece7;
  --forest: #0e3d31;
  --forest-2: #12493b;
  --forest-line: rgba(247, 247, 245, 0.14);
  --on-forest: rgba(247, 247, 245, 0.74);
  --blue: #0e86a8;
  --blue-ink: #0a5f78;
  --blue-tint: #e7f5f9;
  --mint: #7fd6bc;
  --mint-tint: #e6f6f0;
  --coral: #d96a4b;
  --coral-tint: #fbeae3;
  --head: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --shell: min(1180px, calc(100% - 48px));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--mint);
  color: var(--forest);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip:focus {
  transform: none;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.h2 {
  max-width: 18ch;
  margin-top: 14px;
  font-family: var(--head);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--body);
  font-size: 1.125rem;
}
.section {
  padding-block: clamp(80px, 9vw, 128px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover {
  background: var(--forest-2);
}
.btn-quiet {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}
.btn-quiet:hover {
  border-color: #cfcfc8;
}
.btn-mint {
  background: var(--mint);
  color: var(--forest);
}
.btn-mint:hover {
  background: #95e0c9;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 247, 245, 0.86);
  backdrop-filter: blur(14px);
  transition: border-color 200ms ease;
}
.top.is-scrolled {
  border-color: var(--line);
}
.top-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1;
  white-space: nowrap;
}
.switch-org {
  color: var(--body);
  font-weight: 600;
}
.switch-sep {
  color: #b9bdb7;
}
.switch a {
  padding: 6px 0;
  transition: color 160ms ease;
}
.switch a:hover {
  color: var(--ink);
}
.switch [aria-current] {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-weight: 600;
}
.switch [aria-current]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
}
.top-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
}
.top-nav a:hover {
  color: var(--ink);
}
.top .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: 0;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% {
    opacity: 0.6;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
.hero h1 {
  margin-top: 22px;
  font-family: var(--head);
  font-size: clamp(2.75rem, 1.6rem + 3.4vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.hero h1 em {
  color: var(--blue);
  font-style: normal;
}
.hero-lede {
  max-width: 34em;
  margin-top: 24px;
  color: var(--body);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.facts svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

/* ---------- call card ---------- */
.call {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background: var(--forest);
  color: #f7f7f5;
  box-shadow:
    0 30px 60px -30px rgba(14, 61, 49, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
}
.call-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 16px;
  border-bottom: 1px solid var(--forest-line);
}
.call-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(127, 214, 188, 0.14);
  color: var(--mint);
}
.call-avatar svg {
  width: 20px;
  height: 20px;
}
.call-who {
  display: grid;
  line-height: 1.3;
}
.call-who strong {
  font-weight: 600;
}
.call-who span {
  color: var(--on-forest);
  font-size: 0.8125rem;
  font-family: var(--mono);
}
.call-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(217, 106, 75, 0.16);
  color: #f3b6a4;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.wave {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 16px 0 6px;
}
.wave i {
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: var(--mint);
  opacity: 0.85;
  transform: scaleY(0.12);
  transform-origin: center;
  transition: transform 140ms ease;
}
.wave.is-caller i {
  background: #f7f7f5;
  opacity: 0.6;
}
.feed {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  padding: 6px 4px 2px;
  mask-image: linear-gradient(180deg, transparent, #000 18%);
}
.msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.45;
  animation: msg-in 420ms var(--ease) both;
}
.msg small {
  display: block;
  margin-bottom: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.66;
}
.msg-caller {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: rgba(247, 247, 245, 0.1);
}
.msg-relay {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #f7f7f5;
  color: var(--ink);
}
.msg-relay small {
  color: var(--blue-ink);
  opacity: 1;
}
.tool {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px dashed rgba(127, 214, 188, 0.5);
  border-radius: 999px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.75rem;
  animation: msg-in 420ms var(--ease) both;
}
.tool svg {
  width: 14px;
  height: 14px;
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- use cases ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.case {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--card);
}
.case-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-ink);
}
.case-ico svg {
  width: 20px;
  height: 20px;
}
.case h3 {
  margin-top: 6px;
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.case p {
  color: var(--body);
  font-size: 0.9688rem;
}
.case q {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.875rem;
  quotes: none;
}

/* ---------- how it works ---------- */
.dark {
  background: var(--forest);
  color: #f7f7f5;
}
.dark .eyebrow {
  color: var(--mint);
}
.dark .lede {
  color: var(--on-forest);
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--forest-line);
  border-radius: 20px;
  overflow: hidden;
}
.flow li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px 28px;
  border-left: 1px solid var(--forest-line);
}
.flow li:first-child {
  border-left: 0;
}
.flow-n {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.flow h3 {
  font-family: var(--head);
  font-size: 1.375rem;
  font-weight: 600;
}
.flow p {
  color: var(--on-forest);
  font-size: 0.9688rem;
}
.flow-tag {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(247, 247, 245, 0.08);
  color: #f7f7f5;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.flow li::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -6px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--forest-line);
  border-right: 1px solid var(--forest-line);
  background: var(--forest);
  transform: rotate(45deg);
}
.flow li:last-child::after {
  display: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.steps-title {
  margin-top: clamp(56px, 6vw, 88px);
  font-family: var(--head);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
}
.steps-title + .steps {
  margin-top: 24px;
}
.step {
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(247, 247, 245, 0.06);
}
.step strong {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.step strong span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 400;
}
.step p {
  margin-top: 8px;
  color: var(--on-forest);
  font-size: 0.9688rem;
}

/* ---------- trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.perm {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
}
.perm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}
.perm-head span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
}
.perm li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9688rem;
}
.perm li:first-child {
  border-top: 0;
}
.perm li > span:first-child {
  display: grid;
  line-height: 1.35;
}
.perm li small {
  color: var(--muted);
  font-size: 0.8125rem;
}
.badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-ok {
  background: var(--mint-tint);
  color: #1d6a52;
}
.badge-no {
  background: var(--coral-tint);
  color: #a3482d;
}
.badge-off {
  background: #f0f0eb;
  color: var(--muted);
}
.perm-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  background: #fbfbfa;
  color: var(--muted);
  font-size: 0.8125rem;
}
.points {
  display: grid;
  gap: 0;
  margin-top: 36px;
}
.points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.points li:last-child {
  border-bottom: 1px solid var(--line);
}
.points svg {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--blue);
}
.points strong {
  font-weight: 600;
}
.points span {
  color: var(--body);
  font-size: 0.9688rem;
}

/* ---------- cta ---------- */
.cta {
  padding-bottom: clamp(80px, 9vw, 128px);
}
.cta-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: end;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background: var(--forest);
  color: #f7f7f5;
  overflow: hidden;
}
.cta-box .h2 {
  max-width: 16ch;
  margin-top: 0;
}
.cta-box p {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--on-forest);
}
.cta-mail {
  display: block;
  margin-top: 12px;
  color: var(--on-forest);
  font-size: 0.875rem;
  text-align: center;
}
.cta-mail:hover {
  color: #fff;
}
.cta-wave {
  position: absolute;
  right: -20px;
  bottom: -30px;
  display: flex;
  align-items: end;
  gap: 8px;
  opacity: 0.12;
  pointer-events: none;
}
.cta-wave i {
  width: 14px;
  border-radius: 8px;
  background: var(--mint);
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.foot .brand-name {
  color: var(--ink);
  font-size: 1.25rem;
}
.foot .brand-mark {
  width: 26px;
  height: 26px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.foot nav a:hover {
  color: var(--ink);
}

/* ---------- legal ---------- */
.legal {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 8vw, 112px);
  font-size: 1rem;
  line-height: 1.65;
}
.legal h1 {
  margin-top: 12px;
  font-family: var(--head);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.legal-intro {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-intro p {
  margin-top: 14px;
  color: var(--body);
}
.legal section {
  display: grid;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--head);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
}
.legal ul {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  list-style: disc;
}
.legal dl > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 4px 24px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.legal dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.legal dt {
  color: var(--muted);
}
.legal main a,
.legal a {
  text-decoration: underline;
  text-decoration-color: #c9c9c2;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal a:hover {
  text-decoration-color: currentColor;
}
.legal-updated {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow li:nth-child(3) {
    border-left: 0;
  }
  .flow li:nth-child(n + 3) {
    border-top: 1px solid var(--forest-line);
  }
  .flow li:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .call {
    max-width: 560px;
  }
  .top-nav {
    display: none;
  }
  .top .btn {
    margin-left: auto;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-box {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .cta-actions {
    justify-self: start;
  }
}
@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 32px);
  }
  .top-inner {
    gap: 14px;
  }
  .top .btn {
    display: none;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .brand-name {
    font-size: 1.3125rem;
  }
  .switch {
    gap: 5px;
    padding-left: 12px;
    font-size: 0.75rem;
  }
  .cases,
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow li {
    border-left: 0 !important;
    border-top: 1px solid var(--forest-line);
  }
  .flow li:first-child {
    border-top: 0;
  }
  .flow li::after {
    display: none;
  }
  .feed {
    height: 330px;
  }
  .call {
    padding: 14px;
    border-radius: 20px;
  }
  .call-who span {
    display: none;
  }
  .legal {
    width: calc(100% - 32px);
  }
  .legal dl > div {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- agent assist ---------- */
.assist-sec {
  padding-top: clamp(64px, 7vw, 104px);
}
.assist {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin-top: clamp(36px, 4vw, 56px);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(14, 61, 49, 0.35);
}
.assist-call {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.assist-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9375rem;
}
.assist-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8125rem;
}
.assist-feed {
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 22px 24px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 14%);
}
.assist-feed .msg {
  max-width: 88%;
}
.assist-feed .msg-caller {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 14px;
  background: var(--bg);
  color: var(--ink);
}
.msg-agent {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--forest);
  color: #f7f7f5;
}
.tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tokens i {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-ink);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}
.assist-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--line-soft);
  background: #fbfbfa;
}
.assist-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
  font-size: 0.9375rem;
}
.assist-listen {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.assist-listen b {
  width: 3px;
  height: 12px;
  margin-right: 1px;
  border-radius: 2px;
  background: var(--mint);
  animation: listen 900ms ease-in-out infinite;
}
.assist-listen b:nth-child(2) {
  animation-delay: 150ms;
}
.assist-listen b:nth-child(3) {
  margin-right: 6px;
  animation-delay: 300ms;
}
@keyframes listen {
  50% {
    transform: scaleY(0.35);
  }
}
.assist-cards {
  height: 482px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 10%);
}
.acard {
  flex: 0 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--c, var(--blue));
  border-radius: 12px;
  background: var(--card);
  font-size: 0.9063rem;
  line-height: 1.45;
  animation: msg-in 460ms var(--ease) both;
}
.acard-data {
  --c: var(--mint);
}
.acard-answer {
  --c: var(--blue);
}
.acard-offer {
  --c: var(--coral);
}
.acard-hint {
  --c: #c9a34a;
}
.acard-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.conf {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: #1d6a52;
  letter-spacing: 0;
}
.acard-src {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.acard-done {
  margin-top: 8px;
  color: #1d6a52;
  font-size: 0.8125rem;
  font-weight: 600;
  animation: msg-in 400ms var(--ease) both;
}
.afields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
}
.afields dt {
  color: var(--muted);
  font-size: 0.75rem;
}
.afields dd {
  min-height: 1.4em;
  font-weight: 600;
  animation: msg-in 400ms var(--ease) both;
}
.assist [data-at].is-hidden {
  display: none;
}
.afields dd.is-hidden {
  display: block;
  visibility: hidden;
}
@media (max-width: 900px) {
  .assist {
    grid-template-columns: minmax(0, 1fr);
  }
  .assist-side {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .assist-feed {
    height: 380px;
  }
}
@media (max-width: 600px) {
  .assist-bar,
  .assist-feed {
    padding-inline: 14px;
  }
  .assist-meta {
    display: none;
  }
  .assist-cards {
    height: 560px;
    padding: 12px;
  }
}
