:root {
  color-scheme: light;
  --ink: #16201c;
  --muted: #586861;
  --line: #d8e0dc;
  --accent: #0f7b50;
  --accent-dark: #085f3c;
  --danger: #b42318;
  --ok: #087443;
  --surface: #ffffff;
  --page: #eef4f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f7faf8 0%, var(--page) 100%);
}

.care-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.care-panel {
  width: min(100%, 420px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(20, 44, 34, .12);
  padding: 28px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-size: 24px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 700;
  font-size: 14px;
}

input,
select,
button {
  width: 100%;
  min-height: 46px;
  border-radius: 6px;
  font: inherit;
}

input,
select {
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(15, 123, 80, .22);
  outline-offset: 2px;
}

button {
  margin-top: 22px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.message {
  min-height: 42px;
  margin-top: 18px;
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.35;
  display: none;
}

.message.show {
  display: block;
}

.message.error {
  color: var(--danger);
  background: #fff1f0;
  border: 1px solid #ffd5d2;
}

.message.success {
  color: var(--ok);
  background: #edfdf5;
  border: 1px solid #b7efd3;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 480px) {
  .care-shell {
    padding: 14px;
    place-items: stretch;
  }

  .care-panel {
    align-self: center;
    padding: 22px;
  }
}
