:root {
  --bg-top: #f4ede3;
  --bg-bottom: #ecdfcf;
  --card-bg: rgba(255, 255, 255, 0.97);
  --card-border: rgba(72, 57, 39, 0.1);
  --text: #1f1a17;
  --muted: #60564d;
  --muted-strong: #7a6a5a;
  --accent: #1f6a52;
  --accent-dark: #174f3d;
  --hint-bg: #f3eadb;
  --input-border: #d8c8b5;
  --error: #a12f2f;
  --status: #5f5446;
  --shadow: 0 24px 60px rgba(58, 43, 25, 0.12);
  --shell-overlay: rgba(244, 237, 227, 0.78);
  --shell-max-width: 430px;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(31, 106, 82, 0.14), transparent 34%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
}

.shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: linear-gradient(180deg, transparent 0%, var(--shell-overlay) 100%);
}

.card {
  width: min(92vw, var(--shell-max-width));
  padding: 30px 24px 24px;
  box-sizing: border-box;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brand {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 29px;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted-strong);
}

.title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.02;
}

.copy {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

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

.label {
  font-size: 14px;
  font-weight: 600;
}

.input {
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.input:focus {
  outline: 2px solid rgba(31, 106, 82, 0.18);
  border-color: var(--accent);
}

.input::placeholder {
  color: #988c80;
}

.button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.button:focus-visible,
.input:focus-visible {
  outline-offset: 2px;
}

.hint {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--hint-bg);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.status,
.error {
  margin: 12px 0 0;
  font-size: 14px;
}

.error {
  color: var(--error);
}

.status {
  color: var(--status);
}

@media (max-width: 520px) {
  .card {
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .title {
    font-size: 28px;
  }

  .brand-row {
    gap: 12px;
  }
}
