@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2");
}
@font-face {
  font-family: Museo;
  src: url("/assets/museo.woff2");
  font-weight: 700;
}
:root {
  font-family: Geist, system-ui, sans-serif;
  color: #01161e;
  background: #f9f7f4;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand span {
  font-family: Museo;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.product {
  font-size: 15px;
}
.pill {
  border: 1px solid #c9ccc9;
  border-radius: 30px;
  font-size: 11px;
  padding: 4px 9px;
  margin-left: 8px;
}
main {
  max-width: 860px;
  margin: 60px auto 100px;
  padding: 0 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #52616a;
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 550;
  line-height: 1.07;
  letter-spacing: -0.055em;
  margin: 20px 0;
}
h2 {
  font-weight: 550;
  letter-spacing: -0.03em;
  font-size: 25px;
}
p {
  line-height: 1.6;
  color: #52616a;
}
.intro {
  max-width: 550px;
  font-size: 18px;
}
.card {
  background: white;
  border: 1px solid #e4e5e1;
  border-radius: 20px;
  padding: 28px;
  margin-top: 32px;
  box-shadow: 0 8px 30px #01161e04;
}
label {
  display: block;
  font-weight: 550;
  font-size: 14px;
  margin: 18px 0 9px;
}
input,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #c9cfce;
  border-radius: 10px;
  padding: 14px;
  color: #01161e;
  background: #fff;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
button {
  font: inherit;
  font-weight: 550;
  background: #f0bf56;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  cursor: pointer;
  color: #01161e;
  margin-top: 16px;
}
button:hover {
  background: #e5b447;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #ebecea;
}
button.danger {
  background: #f9f1f1;
  color: #803840;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.small {
  font-size: 13px;
  line-height: 1.5;
}
#error {
  color: #803840;
  background: #f9f1f1;
  border-radius: 10px;
  padding: 14px;
  display: none;
  margin-top: 20px;
}
.checks {
  display: flex;
  gap: 10px;
  align-items: start;
  font-weight: 400;
  line-height: 1.5;
}
.checks input {
  width: auto;
  margin: 3px 0;
}
.message {
  padding: 16px 0;
  border-bottom: 1px solid #ebecea;
}
.message strong {
  font-size: 13px;
}
.message p {
  white-space: pre-wrap;
  margin: 7px 0;
  color: #01161e;
  overflow-wrap: anywhere;
}
.meta {
  font-size: 12px;
  color: #52616a;
}
.status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.status .pill {
  background: #ebecea;
  margin: 0;
}
code {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.invite {
  padding: 16px;
  background: #f9f7f4;
  border-radius: 10px;
  word-break: break-all;
}
a {
  color: #225e87;
}
footer {
  text-align: center;
  font-size: 12px;
  color: #52616a;
  margin: 40px;
}
*:focus-visible {
  outline: 3px solid #4489c5;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  header {
    padding: 20px;
  }
  .brand span {
    font-size: 22px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .product {
    font-size: 12px;
  }
  main {
    margin: 35px auto 60px;
    padding: 0 20px;
  }
  .card {
    padding: 20px;
    border-radius: 16px;
  }
  .actions button {
    flex: 1;
  }
  .status {
    align-items: flex-start;
  }
  h1 {
    font-size: 42px;
  }
}
/* Agent-first preview */
main {
  max-width: 1180px;
  margin-top: 58px;
}
header {
  max-width: 1280px;
  border-bottom: 1px solid #01161e12;
}
h1 {
  max-width: 880px;
  font-size: clamp(38px, 5vw, 64px);
}
.intro {
  max-width: 650px;
}
.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 22px;
  align-items: start;
}
.card {
  border-radius: 24px;
  border-color: #dedfd8;
  box-shadow: none;
}
.room-stage {
  background: #f1efe8;
  overflow: hidden;
}
.room-stage h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.room-stage .status {
  min-height: 25px;
}
.little-room {
  position: relative;
  height: 265px;
  margin: 0 -12px;
  perspective: 650px;
}
.room-floor {
  position: absolute;
  width: 300px;
  height: 165px;
  background: #e3e1d8;
  border: 1px solid #d5d3c9;
  border-radius: 45%;
  transform: rotateX(52deg) rotateZ(-12deg);
  left: calc(50% - 150px);
  top: 80px;
  box-shadow: 0 18px 40px #01161e09;
}
.room-table {
  position: absolute;
  width: 130px;
  height: 68px;
  border-radius: 50%;
  background: #f9f7f4;
  box-shadow:
    0 8px 0 #cfcabc,
    0 27px 15px #01161e14;
  left: calc(50% - 65px);
  top: 137px;
}
.little-agent {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 92px;
  border-radius: 29px 29px 22px 22px;
  top: 80px;
  box-shadow:
    inset 5px 6px 12px #ffffff40,
    inset -4px -5px 9px #01161e30,
    0 12px 12px #01161e18;
  transform: rotate(-8deg);
}
.little-agent i {
  display: block;
  width: 5px;
  height: 9px;
  border-radius: 50%;
  background: #01161e;
}
.blue {
  background: #4489c5;
  left: calc(50% - 133px);
}
.gold {
  background: #f0bf56;
  right: calc(50% - 133px);
  transform: rotate(8deg);
}
.gold.absent {
  background: transparent;
  box-shadow: none;
  border: 2px dashed #a8a79d;
}
.gold.absent i {
  opacity: 0;
}
.seat-label {
  position: absolute;
  font-size: 11px;
  top: 221px;
  color: #52616a;
}
.label-one {
  left: calc(50% - 128px);
}
.label-two {
  right: calc(50% - 132px);
}
.invite {
  margin-top: 24px;
  background: #ffffffa3;
  border: 1px solid #fff;
  border-radius: 16px;
  word-break: normal;
}
.invite button {
  width: 100%;
}
.invite p {
  font-size: 14px;
  margin: 10px 0;
}
.invite code {
  display: block;
}
.conversation {
  min-height: 485px;
  background: #fffdf9;
}
.conversation h2 {
  font-size: 21px;
}
.empty-conversation {
  text-align: center;
  padding: 56px 8px 44px;
}
.empty-icon {
  font-size: 34px;
  color: #4489c5;
}
.empty-conversation h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.empty-conversation p {
  font-size: 13px;
}
summary {
  cursor: pointer;
  font-size: 14px;
  padding: 18px 0;
  color: #344b56;
}
.room-controls {
  border-top: 1px solid #ebecea;
  margin-top: 10px;
}
.outcome {
  font-size: 16px;
  color: #01161e;
}
.text-link {
  display: inline-block;
  margin: 20px;
  font-size: 14px;
}
.connect-card {
  max-width: 680px;
}
.connect-card input {
  font-size: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 32px;
  gap: 20px;
}
footer a {
  color: inherit;
}
.message:last-child {
  border: 0;
}
.message {
  padding: 18px 0;
}
.message strong {
  color: #225e87;
}
button:disabled {
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .room-layout {
    grid-template-columns: 1fr;
  }
  main {
    margin-top: 30px;
  }
  .little-room {
    height: 240px;
  }
  .card {
    margin-top: 20px;
  }
  .conversation {
    min-height: 0;
  }
  .product {
    text-align: right;
  }
  .brand {
    gap: 8px;
  }
  footer {
    margin: 36px auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .little-agent {
    animation: arrive 0.5s ease-out both;
  }
  .gold {
    animation-delay: 0.1s;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      translate: 0 8px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

.transcript-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
button.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  margin: 0;
  flex-shrink: 0;
}
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
