:root {
  color-scheme: light;
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  color: #191919;
  background: #fcfcfb;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body { min-height: 100svh; overflow: hidden; }
button, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.ocean { position: fixed; inset: 0; display: block; width: 100%; height: 100%; font-family: "Geist Mono", ui-monospace, Menlo, monospace; }
.haze {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 38% 40% at 50% 48%, rgb(232 230 222 / 48%), rgb(242 241 235 / 17%) 62%, transparent 100%);
}
.landing { position: absolute; top: 36.2svh; left: 50%; width: min(70%, 1250px); transform: translateX(-50%); }
h1 { margin: 0 0 clamp(28px, 2.4vw, 44px); text-align: center; font-size: clamp(40px, 4.8vw, 88px); font-weight: 200; line-height: 1.16; letter-spacing: -.015em; white-space: nowrap; }
.composer {
  width: 100%;
  min-height: clamp(140px, 10vw, 180px);
  padding: clamp(20px, 1.7vw, 32px) clamp(18px, 1.75vw, 32px) 18px;
  border: 1px solid rgb(168 168 161 / 34%);
  border-radius: clamp(22px, 1.7vw, 32px);
  background: rgb(245 245 241 / 36%);
  box-shadow: 0 0 0 1px rgb(170 170 165 / 8%), 0 10px 40px rgb(70 70 50 / 2%);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.composer:focus-within { border-color: rgb(128 133 130 / 50%); background: rgb(250 250 247 / 48%); box-shadow: 0 8px 40px rgb(70 70 50 / 4%); }
textarea { display: block; width: 100%; height: clamp(44px, 3.5vw, 65px); max-height: 180px; resize: none; padding: 0; border: 0; outline: 0; color: #4e514e; background: transparent; font-size: clamp(20px, 1.65vw, 30px); font-weight: 300; line-height: 1.5; letter-spacing: -.015em; }
textarea::placeholder { color: #b3b4ad; opacity: 1; }
.toolbar, .tools, .send-tools { display: flex; align-items: center; }
.toolbar { justify-content: space-between; gap: 12px; margin-top: 8px; }
.tools { gap: clamp(10px, 1.65vw, 30px); }
.icon-button { display: grid; place-items: center; width: 36px; height: 40px; padding: 5px; border: 0; border-radius: 10px; color: #8c8e87; background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.icon-button:hover { color: #555c55; background: rgb(125 135 120 / 9%); }
.icon-button[aria-pressed="true"] { color: #a45550; background: rgb(164 85 80 / 10%); }
svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.send-tools { gap: 24px; }
.keyboard-hint { color: #b4b5ae; font-family: ui-monospace, "Geist Mono", monospace; font-size: clamp(11px, 1.2vw, 21px); font-weight: 400; white-space: nowrap; }
.send { display: grid; place-items: center; width: clamp(44px, 3.6vw, 65px); height: clamp(44px, 3.6vw, 65px); padding: 10px; border: 0; border-radius: 16px; color: #95988f; background: rgb(178 181 171 / 27%); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.send:disabled { cursor: default; }
.send:not(:disabled) { color: #f9faf6; background: #687468; }
.send:not(:disabled):hover { background: #515f52; transform: translateY(-1px); }
button:focus-visible { outline: 2px solid #7d8c7e; outline-offset: 4px; }
.attachments { display: flex; flex-wrap: wrap; gap: 8px; }
.attachments:empty { display: none; }
.file-chip { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 8px 0; padding: 5px 10px; border: 1px solid #d5d8ce; border-radius: 8px; color: #687064; background: #f4f5ef; font-size: 13px; }
.file-chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 18px; }
.notice { min-height: 24px; margin: 18px 12px 0; text-align: center; color: #777e72; font-size: 13px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .landing { top: 35svh; width: calc(100% - 36px); }
  h1 { font-size: clamp(30px, 8vw, 48px); letter-spacing: -.025em; margin-bottom: 28px; }
  .composer { min-height: 148px; padding: 20px 18px 14px; border-radius: 24px; }
  textarea { font-size: 21px; height: 48px; }
  .keyboard-hint { display: none; }
  .toolbar { margin-top: 12px; }
  .send { border-radius: 13px; }
  .haze { background: radial-gradient(ellipse 65% 34% at 50% 46%, rgb(232 230 222 / 45%), transparent); }
}
@media (max-height: 500px) and (min-width: 641px) {
  .landing { top: 23svh; }
  h1 { font-size: 44px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
