@import url("https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap");

:root {
  color-scheme: light;
  --ink: #320404;
  --muted: #6f4d48;
  --paper: #fffaf1;
  --peach: #f3d6c0;
  --gold: #b27b2d;
  --line: rgba(50, 4, 4, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 14%, rgba(178, 123, 45, 0.18), transparent 24rem),
    linear-gradient(145deg, var(--peach), #f9e9d7 58%, #edd1bd);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(30px, 7vw, 54px);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 28px 70px rgba(70, 30, 22, 0.16);
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-family: "Tangerine", cursive;
  font-size: clamp(4rem, 16vw, 5.8rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.86;
}

.intro {
  margin: 0 0 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

form,
label {
  display: grid;
  gap: 10px;
}

label span {
  font-size: 0.76rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 15px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

input:focus,
button:focus-visible {
  outline: 3px solid rgba(178, 123, 45, 0.48);
  outline-offset: 3px;
}

button {
  min-height: 54px;
  margin-top: 6px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.hint,
.status {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.hint {
  color: var(--muted);
}

.status {
  min-height: 1.5em;
  color: #8a2734;
  font-weight: 700;
}
