:root {
  --ink: #2b1508;
  --muted: #7a5c46;
  --gold: #d99a18;
  --deep: #7c1d2f;
  --surface: #fffaf2;
  --line: #ecd9bd;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -10%, #fbe3b4 0%, rgba(251, 227, 180, 0) 70%),
    linear-gradient(180deg, #fdf4e6 0%, #f7e7cf 100%);
  background-attachment: fixed;
}

.page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  box-shadow: 0 14px 40px rgba(124, 29, 47, 0.12);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.headline {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--deep);
}

.subhead {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px; /* prevents iOS zoom on focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 154, 24, 0.18);
}

.btn {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--deep) 0%, #a32b3f 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}
