:root {
  --brand: #EB943B;
  --brand-strong: #C57C32;
  --tint-1: #FCF0E4;
  --tint-2: #FBE7D4;
  --focus: #F3BF89;

  --text: #111;
  --muted: rgba(0,0,0,.60);
  --border: rgba(0,0,0,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 20%, var(--tint-1), #fff 60%),
    radial-gradient(900px 600px at 90% 80%, var(--tint-2), #fff 70%);
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.2vw, 34px);
}

.header {
  text-align: center;
  margin-bottom: 18px;
}

.logo {
  height: 44px;
  width: auto;
  display: inline-block;
  margin-bottom: 14px;
}

.avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #FCF0E4;
  border: 1px solid #FBE7D4;
}

.avatar svg {
  fill: var(--brand);
}

.title {
  margin: 6px 0 0;
  font-size: clamp(28px, 3.1vw, 36px);
  letter-spacing: .2px;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 14px;
}

.field label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field label span {
  color: var(--brand);
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .05s ease;
}

.field input::placeholder {
  color: rgba(0,0,0,.35);
}

.field input:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(235,148,59,.22);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  color: rgba(0,0,0,.78);
  font-size: 14px;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.btn {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: .7px;
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease;
}

.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }

.footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(0,0,0,.75);
  margin-top: 2px;
}

.link {
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 700;
}

.link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
