@import url("/assets/fonts.css");
:root {
  --ink: #303d35;
  --muted: #758075;
  --paper: #fbfaf5;
  --line: #e2e7da;
  --green: #38614d;
  --pink: #edb5a9;
  --yellow: #e6c776;
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
a {
  color: inherit;
}
header {
  height: 105px;
  margin: 0 5%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-size: 29px;
  font-weight: 760;
  letter-spacing: -1.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand > span:not(.logo):not(.brand-dot) {
  font-weight: 400;
}
.logo {
  background: var(--green);
  color: var(--paper);
  border-radius: 14px;
  font-size: 33px;
  line-height: 44px;
  width: 44px;
  text-align: center;
  margin-right: 12px;
  transform: rotate(-9deg);
}
.brand-dot {
  font-size: 12px;
  color: var(--pink);
  margin: 0 0 22px 3px;
}
.pill {
  border: 1px solid #cdd7c6;
  border-radius: 40px;
  font-size: 12px;
  padding: 8px 13px;
  white-space: nowrap;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--muted);
}
.welcome {
  position: relative;
  max-width: 1220px;
  margin: 90px auto 100px;
  padding: 30px 6%;
  min-height: 495px;
}
.welcome h1 {
  font-size: clamp(55px, 6.7vw, 88px);
  font-weight: 500;
  letter-spacing: -5px;
  line-height: 1.07;
  margin: 26px 0;
}
.welcome h1 em,
aside h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
}
.welcome p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 390px;
  margin: 25px 0 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 14px 21px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.button:hover {
  background: #274d3b;
}
.google {
  font-family: Arial, sans-serif;
  font-weight: 700;
  background: #fff;
  color: var(--green);
  border-radius: 50%;
  padding: 3px 6px;
}
.privacy {
  color: var(--muted);
  font-size: 10px;
  margin-top: 18px;
}
.orbit {
  position: absolute;
  right: 4%;
  top: 80px;
  width: 440px;
  height: 350px;
  background: radial-gradient(ellipse, #eff0e3 0%, transparent 70%);
  border-radius: 50%;
}
.bot {
  position: absolute;
  width: 148px;
  height: 154px;
  border-radius: 56px 56px 45px 45px;
  text-align: center;
  font: bold 70px Georgia;
  color: var(--ink);
  box-shadow:
    inset -10px -8px 0 #00000008,
    0 18px 30px #354a2510;
}
.bot span {
  display: block;
  font-size: 47px;
  margin-top: -38px;
}
.bot:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 25px;
  border-radius: 9px;
  bottom: -9px;
  left: 26px;
  background: inherit;
  box-shadow: 62px 0 0 var(--color);
}
.lula {
  position: absolute;
  left: 23px;
  top: 76px;
  width: 156px;
  margin: 0;
  text-align: center;
  color: #5b5140;
}
.lula-bot {
  position: relative;
  height: 216px;
  filter: drop-shadow(0 13px 10px #354a2514);
}
.lula figcaption {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.8px;
}
.lula-head {
  position: absolute;
  left: 6px;
  top: 49px;
  width: 144px;
  height: 112px;
  background: #5b5140;
  clip-path: polygon(12px 0,132px 0,132px 6px,138px 6px,138px 12px,144px 12px,144px 100px,138px 100px,138px 106px,132px 106px,132px 112px,12px 112px,12px 106px,6px 106px,6px 100px,0 100px,0 12px,6px 12px,6px 6px,12px 6px);
}
.lula-face {
  position: absolute;
  inset: 7px;
  background: #fcf4dd;
  border: 8px solid #ded0a8;
  border-radius: 8px;
  box-shadow: inset 0 -5px #f0e6c8;
}
.lula-eyes {
  position: absolute;
  top: 31px;
  left: 29px;
  width: 7px;
  height: 8px;
  background: #4e4938;
  box-shadow: 43px 0 #4e4938;
}
.lula-blush {
  position: absolute;
  top: 46px;
  left: 12px;
  width: 17px;
  height: 7px;
  background: #e6b2a1;
  box-shadow: 65px 0 #e6b2a1;
}
.lula-body {
  position: absolute;
  top: 150px;
  left: 39px;
  width: 78px;
  height: 57px;
  background: #b7b17e;
  border: 6px solid #5b5140;
  border-radius: 5px 5px 10px 10px;
  box-shadow: -17px 5px 0 -7px #5b5140,17px 5px 0 -7px #5b5140;
}
.lula-body::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 24px;
  width: 17px;
  height: 17px;
  border: 4px solid #69834c;
  border-radius: 50%;
  background: #b9cc87;
}
.lula-body::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 4px;
  width: 22px;
  height: 10px;
  background: #5b5140;
  box-shadow: 36px 0 #5b5140;
}
.lula-sprout {
  position: absolute;
  top: 21px;
  left: 72px;
  width: 9px;
  height: 34px;
  background: #796147;
}
.lula-sprout::before,
.lula-sprout::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 39px;
  height: 25px;
  background: #b4ca67;
  box-shadow: inset 0 -7px #819d50;
}
.lula-sprout::before {
  right: 6px;
  clip-path: polygon(0 0,25px 0,25px 5px,34px 5px,34px 12px,39px 12px,39px 25px,18px 25px,18px 20px,7px 20px,7px 13px,0 13px);
}
.lula-sprout::after {
  left: 6px;
  top: -17px;
  transform: scaleX(-1);
  clip-path: polygon(0 0,25px 0,25px 5px,34px 5px,34px 12px,39px 12px,39px 25px,18px 25px,18px 20px,7px 20px,7px 13px,0 13px);
}
.gold {
  --color: var(--yellow);
  background: var(--yellow);
  right: 42px;
  top: 127px;
  transform: rotate(10deg);
}
.bubble {
  position: absolute;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 14px;
}
.one {
  top: 22px;
  left: 28px;
  transform: rotate(-7deg);
}
.two {
  bottom: 0;
  right: 0;
  transform: rotate(7deg);
}
.spark {
  position: absolute;
  top: 27px;
  right: 86px;
  font-size: 55px;
  color: var(--green);
}
footer {
  border-top: 1px solid var(--line);
  margin: 0 5%;
  padding: 25px 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.header-right form {
  margin: 0;
}
.text-button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 0;
  text-align: left;
}
.text-button:hover {
  color: var(--green);
  text-decoration: underline;
}
.workspace {
  display: grid;
  grid-template-columns: 290px 1fr;
  max-width: 1400px;
  margin: auto;
  min-height: calc(100vh - 105px);
}
aside {
  padding: 42px 30px 25px;
  border-right: 1px solid var(--line);
}
aside h1 {
  font-size: 30px;
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 20px 0 25px;
}
aside .button {
  width: 100%;
  padding: 12px;
  font-size: 12px;
}
#threads {
  margin: 28px 0 12px;
  display: grid;
  gap: 7px;
}
.thread {
  border: 0;
  background: none;
  padding: 12px;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.thread:hover,
.thread.active {
  background: #eaf0e4;
}
.thread.active {
  box-shadow: inset 3px 0 var(--green);
}
.aside-note {
  margin: 42px 0 15px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}
.conversation {
  padding: 40px 5%;
  min-width: 0;
}
.conversation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
}
.conversation h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}
.small-star {
  font-size: 40px;
  color: var(--pink);
}
.empty {
  text-align: center;
  padding: 95px 10px;
}
.empty > span {
  display: inline-block;
  background: #eff1e7;
  border-radius: 28px;
  font-size: 45px;
  padding: 10px 22px;
  color: var(--green);
  transform: rotate(-8deg);
}
.empty h3 {
  font:
    normal 25px Georgia,
    serif;
  margin: 30px 0 13px;
}
.empty p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
#notice {
  font-size: 13px;
  color: var(--green);
  padding: 12px 0;
  min-height: 36px;
}
.message {
  margin: 0 0 20px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.sender {
  color: var(--green);
  font-weight: 700;
}
.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.8;
  margin: 13px 0 8px;
}
.reply-reference {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
input,
textarea {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  color: var(--ink);
  padding: 12px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  width: 100%;
  min-height: 110px;
  font-size: 14px;
}
#compose {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 25px;
}
.compose-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
.compose-footer > span {
  font-size: 10px;
  color: var(--muted);
}
.search {
  display: flex;
  gap: 8px;
  margin: 10px 0 24px;
}
.search input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.search button,
.dialog-actions > button:not(.button),
#close-connections,
#cancel-reply,
.connection button {
  border: 1px solid var(--line);
  background: none;
  border-radius: 7px;
  color: var(--green);
  padding: 8px 12px;
  font-size: 12px;
}
details {
  background: #edf1e7;
  border-radius: 8px;
  padding: 17px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
summary span {
  font-weight: 400;
  color: var(--muted);
}
#summary-body {
  white-space: pre-wrap;
  margin: 12px 0;
}
#summary-sources {
  font-size: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #263c3355;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font: normal 27px Georgia;
}
dialog input {
  width: 100%;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
dialog p {
  font-size: 13px;
  line-height: 1.8;
}
.connection {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}
.connection code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
#reply-bar {
  font-size: 12px;
  padding: 12px;
  background: #edf1e7;
  border-radius: 8px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .orbit {
    width: 400px;
    right: 0;
    transform: scale(0.8);
    transform-origin: right center;
  }
  .welcome {
    padding-left: 5%;
  }
  .welcome p {
    max-width: 330px;
  }
  .workspace {
    grid-template-columns: 230px 1fr;
  }
  aside {
    padding: 30px 20px;
  }
  .conversation {
    padding: 30px 5%;
  }
  .header-right .pill {
    display: none;
  }
}
@media (max-width: 650px) {
  header {
    height: 82px;
  }
  .brand {
    font-size: 24px;
  }
  .logo {
    font-size: 26px;
    width: 36px;
    line-height: 36px;
  }
  .pill {
    font-size: 10px;
  }
  .welcome {
    margin: 40px auto;
    min-height: 700px;
    padding: 10px 7%;
  }
  .welcome h1 {
    font-size: 62px;
    letter-spacing: -3px;
  }
  .orbit {
    position: relative;
    top: auto;
    right: auto;
    left: calc(50% - 200px);
    margin: 28px 0 -45px;
    transform: scale(0.8);
    transform-origin: top center;
  }
  .welcome p {
    max-width: 100%;
  }
  .workspace {
    display: block;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px 6%;
  }
  aside h1,
  .aside-note {
    display: none;
  }
  aside .button {
    width: auto;
    margin-top: 15px;
  }
  #threads {
    display: flex;
    overflow-x: auto;
    margin: 15px 0 0;
  }
  .thread {
    flex-shrink: 0;
    max-width: 220px;
  }
  .header-right {
    gap: 10px;
    font-size: 11px;
  }
  .conversation {
    padding: 30px 6%;
  }
  .empty {
    padding: 50px 0;
  }
  .compose-footer {
    align-items: flex-end;
  }
  .compose-footer > span {
    max-width: 160px;
  }
  .message {
    padding: 16px;
  }
  .message-meta {
    font-size: 10px;
  }
  #connections-button {
    margin-top: 12px;
  }
  footer {
    margin-top: 20px;
  }
}
