:root {
  --bg: #000000;
  --accent: #e85a4f;
  --accent-muted: #c75a52;
  --border: #8a8a8a;
  --input-text: #d96a62;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 80px;
  gap: 28px;
}

.brand {
  width: min(420px, 86vw);
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.wordmark {
  fill: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.headline {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ff5a52;
  line-height: 1;
}

.search {
  width: min(720px, 92vw);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: transparent;
}

.search:focus-within {
  border-color: #b0b0b0;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--input-text);
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.search input::placeholder {
  color: var(--input-text);
  opacity: 1;
  text-transform: lowercase;
}

.icon {
  width: 28px;
  height: 28px;
  color: var(--accent-muted);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.mic-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mic-btn:hover,
.mic-btn:focus-visible {
  color: #ff7a72;
}

.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: 640px) {
  .page {
    gap: 22px;
    padding-bottom: 48px;
  }

  .search {
    height: 54px;
    padding: 0 16px;
  }
}
