:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e6e0da;
  background: #11100f;
  color-scheme: dark;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #11100f;
}
main {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.search {
  width: min(100%, 620px);
  position: relative;
  transform: translateY(-24px);
}
.wordmark {
  margin-bottom: 32px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.5px;
  color: #9b9590;
}
.box {
  position: relative;
  background: #1a1816;
  border: 1px solid #322e2a;
  border-radius: 16px;
  box-shadow: 0 16px 56px #0b090735;
  transition: border-color 160ms, box-shadow 160ms;
}
.box:focus-within {
  border-color: #51483e;
  box-shadow: 0 18px 64px #0b090745;
}
.input-row {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 25px;
}
input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: #ece6df;
  caret-color: #d3b494;
  font: inherit;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -.4px;
}
input::placeholder { color: #918b84; }
input:-webkit-autofill {
  -webkit-text-fill-color: #ece6df;
  box-shadow: 0 0 0 100px #1a1816 inset;
}
button { font: inherit; cursor: pointer; }
.clear {
  flex-shrink: 0;
  padding: 8px 0 8px 8px;
  border: 0;
  background: none;
  color: #aa9a89;
  font-size: 12px;
  line-height: 1.4;
  transition: color 120ms;
}
.clear:hover { color: #ece6df; }
.clear:focus-visible {
  outline: 1px solid #c7ac8e;
  outline-offset: 5px;
  border-radius: 3px;
}
.box:has(ul:not([hidden])) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
ul {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: -1px;
  right: -1px;
  margin: 0;
  padding: 8px 9px 10px;
  list-style: none;
  background: #1a1816;
  border: 1px solid #322e2a;
  border-top: 1px solid #2c2824;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 44px #110e0b38;
}
.box:focus-within ul {
  border-left-color: #51483e;
  border-right-color: #51483e;
  border-bottom-color: #51483e;
}
li { margin: 0; }
.suggestion {
  display: block;
  width: 100%;
  padding: 14px 15px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #aaa198;
  text-align: left;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.15px;
  overflow-wrap: anywhere;
  transition: background 100ms;
}
.suggestion strong { color: #e9e1d8; font-weight: 500; }
.suggestion:hover, .suggestion.active { background: #26221f; }
.suggestion:focus-visible { outline: 1px solid #c7ac8e; outline-offset: -1px; }
.status {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-height: 40px;
  padding: 14px 20px;
  pointer-events: none;
  color: #b5a593;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  main { padding: 22px; }
  .search { transform: translateY(-40px); }
  .wordmark { margin-bottom: 27px; font-size: 15px; }
  .input-row { height: 68px; padding: 0 21px; gap: 12px; }
  input { font-size: 19px; }
  .suggestion { padding: 13px 11px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
