@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Geist, Arial, sans-serif;
  color: #1d1d16;
  background: #fff;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.viewport {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  isolation: isolate;
  background: #d9d9ce;
}
.stage {
  position: absolute;
  width: 640px;
  height: 480px;
  transform-origin: 0 0;
  overflow: hidden;
}
.landscape {
  position: absolute;
  inset: -5px;
  background: url("./dunes.png") center/cover;
  will-change: transform;
}
.camera {
  position: absolute;
  inset: 0;
  transform-origin: 320px 240px;
  will-change: transform;
}
.chat {
  position: absolute;
  left: 44px;
  top: 40px;
  width: 520px;
  height: 376px;
  border: 1px solid #e8e8e3;
  border-radius: 24px;
  background: #f4f4f0;
  box-shadow:
    0 12px 32px -12px #22252a42,
    0 3px 8px #0001;
  overflow: hidden;
}
.chat-header {
  height: 56px;
  padding: 18px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header img {
  width: 44px;
  height: auto;
}
.chat-header > span {
  font-size: 23px;
  color: #737369;
}
.welcome {
  position: absolute;
  top: 108px;
  left: 0;
  right: 0;
  text-align: center;
}
.welcome h2 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 0;
}
.composer {
  position: absolute;
  left: 24px;
  bottom: 26px;
  width: 470px;
  height: 116px;
  border-radius: 24px;
  background: #fbfbf9;
  box-shadow: 0 8px 20px #25271a12;
  padding: 17px 18px;
}
.typing {
  font-size: 20px;
  line-height: 27px;
  max-width: 400px;
  min-height: 54px;
  white-space: normal;
}
.caret {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #1d1d16;
  vertical-align: -3px;
  margin-left: 2px;
}
.paperclip {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #777769;
}
.paperclip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.send {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #1d1d16;
  color: #fbfbf9;
  border-radius: 50%;
}
.send svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.user-message {
  position: absolute;
  right: 24px;
  top: 65px;
  padding: 13px 17px;
  border-radius: 17px 17px 5px 17px;
  background: #e8e8e3;
  font-size: 20px;
  line-height: 27px;
}
.thinking {
  position: absolute;
  top: 169px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  color: #747767;
}
.thinking-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #858d76;
}
.tool-chips {
  position: absolute;
  left: 26px;
  top: 208px;
  display: flex;
  gap: 7px;
}
.tool-chips > span {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8e8e3;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fbfbf9;
  font-size: 15px;
  color: #686d5d;
}
.tool-chips img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.assistant-message {
  position: absolute;
  left: 28px;
  top: 168px;
  font-size: 20px;
  line-height: 28px;
}
.followup {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  height: 48px;
  padding: 15px 18px;
  border-radius: 24px;
  background: #fbfbf9;
  font-size: 15px;
  color: #a1a292;
}
.followup span {
  float: right;
  color: #8c8f7e;
}
.cursor {
  position: absolute;
  right: 34px;
  bottom: 40px;
  width: 25px;
  height: 30px;
  filter: drop-shadow(0 2px 2px #0002);
  pointer-events: none;
}
.document {
  position: absolute;
  left: 142px;
  top: 249px;
  width: 448px;
  min-height: 440px;
  border: 1px solid #e8e8e3;
  border-radius: 22px;
  background: #fbfbf9;
  box-shadow:
    0 18px 35px -13px #23261d4d,
    0 2px 8px #0001;
  padding: 19px 22px;
  transform-origin: 50% 40%;
  will-change: transform, opacity;
}
.document header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.document h2 {
  font-size: 23px;
  line-height: 28px;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 0;
}
.document header p {
  font-size: 15px;
  line-height: 22px;
  color: #777d69;
  margin: 1px 0 0;
}
.document-check {
  margin-left: auto;
  font-size: 20px;
  color: #72845d;
}
.document-body {
  margin-top: 15px;
}
.document-body p {
  font-size: 18px;
  line-height: 25px;
  margin: 0 0 3px;
  color: #525747;
}

.document-body > section + section {
  margin-top: 18px;
}
.document-body h3 {
  font-size: 16px;
  font-weight: 550;
  line-height: 22px;
  margin: 0 0 7px;
  color: #373e2e;
}
.document-body p {
  line-height: 26px;
}
.document-body ol {
  margin: 0;
  padding-left: 21px;
  font-size: 17px;
  line-height: 26px;
  color: #525747;
}
.document-body li {
  padding-left: 2px;
  margin-bottom: 5px;
}

#typed-prompt {
  white-space: pre-wrap;
}
