:root {
  color-scheme: light;
  --ink: #29251f;
  --muted: #71695f;
  --paper: #fffdf8;
  --cream: #f6efe5;
  --rose: #e86f67;
  --rose-dark: #c74d49;
  --sage: #547a67;
  --line: #dfd4c5;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgb(232 111 103 / 14%) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 20%, rgb(84 122 103 / 16%) 0 3px, transparent 4px),
    linear-gradient(135deg, #fbf5eb 0%, #f4ece2 48%, #f8f1e8 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 34vw;
  height: 34vw;
  content: "";
  border: 1px solid rgb(199 77 73 / 10%);
  border-radius: 48% 52% 63% 37%;
}

body::before {
  top: -18vw;
  left: -12vw;
  transform: rotate(24deg);
}

body::after {
  right: -14vw;
  bottom: -20vw;
  border-color: rgb(84 122 103 / 12%);
  transform: rotate(-18deg);
}

.page {
  display: grid;
  min-height: 100vh;
  padding: 32px 20px;
  place-items: center;
}

.search-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(42px, 8vw, 76px) clamp(22px, 7vw, 72px) 38px;
  overflow: hidden;
  text-align: center;
  background: rgb(255 253 248 / 92%);
  border: 1px solid rgb(223 212 197 / 80%);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgb(68 49 31 / 12%);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 10vw, 6.4rem);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--rose-dark);
  font-style: italic;
}

.intro {
  max-width: 560px;
  margin: 30px auto 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.65;
}

.intro a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.search-field {
  display: flex;
  align-items: center;
  padding: 7px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgb(68 49 31 / 8%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-field:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgb(232 111 103 / 12%), 0 12px 28px rgb(68 49 31 / 10%);
}

.search-icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  margin-left: 13px;
  color: var(--muted);
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

input {
  width: 100%;
  min-width: 0;
  padding: 14px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  background: transparent;
  border: 0;
  outline: 0;
}

input::placeholder {
  color: #a39a8f;
}

button {
  flex: 0 0 auto;
  padding: 14px 25px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: var(--rose);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 0 var(--rose-dark);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

button:hover {
  background: #df625c;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--rose-dark);
}

button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--rose-dark);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(84 122 103 / 40%);
  outline-offset: 3px;
}

.hint {
  min-height: 1.3em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 14px;
  color: #5e574f;
  font-size: 0.84rem;
  background: #f4eee5;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #5fa078;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(95 160 120 / 13%);
}

.sparkle {
  position: absolute;
  color: var(--rose);
  opacity: 0.65;
}

.sparkle-left {
  top: 16%;
  left: 9%;
  font-size: 1.8rem;
  transform: rotate(-12deg);
}

.sparkle-right {
  top: 24%;
  right: 10%;
  color: var(--sage);
  font-size: 1.25rem;
  transform: rotate(18deg);
}

.visually-hidden {
  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: 560px) {
  .page {
    padding: 14px;
  }

  .search-card {
    padding-top: 52px;
    border-radius: 24px;
  }

  .search-field {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sparkle-left {
    top: 7%;
  }

  .sparkle-right {
    top: 10%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

