:root {
  --mint-base: #e3dec7;
  --mint-highlight: #f2edd9;
  --cream: #fffef5;
  --forest: #053f2e;
  --forest-accent: #054f38;
  --text: #14241c;
  --text-secondary: #59665a;
  --card-border: rgba(31, 71, 51, 0.28);
  --shadow: 0 18px 40px rgba(20, 36, 28, 0.10);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--mint-highlight), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #dfe8d4, transparent 55%),
    linear-gradient(180deg, var(--mint-base), #f7f1e2 55%, var(--cream));
}

body {
  display: flex;
  justify-content: center;
  padding: 28px 18px 48px;
}

.shell {
  width: min(440px, 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card {
  background: rgba(255, 254, 245, 0.94);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.45;
}

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

button, .button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--forest-accent);
  color: #f8fff8;
}

.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(5, 63, 46, 0.35);
}

.note {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(5, 63, 46, 0.06);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  display: none;
}

.status.visible { display: block; }
.status.error {
  background: rgba(176, 48, 52, 0.08);
  color: #7a2528;
}

.footer {
  margin-top: 18px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
}
