:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", sans-serif;
  color: #18201c;
  background: #edf0eb;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .9), transparent 42%),
    #edf0eb;
}

.shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px
    max(24px, env(safe-area-inset-bottom));
}

.card {
  width: min(100%, 430px);
  padding: 34px 28px 28px;
  border: 1px solid rgba(24, 32, 28, .12);
  border-radius: 24px;
  background: rgba(255, 255, 252, .94);
  box-shadow: 0 24px 70px rgba(30, 42, 35, .12);
}

.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #17211b;
  color: #f7f4ec;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .08em;
}

.eyebrow {
  margin: 28px 0 9px;
  color: #7a5d45;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .15em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.intro {
  margin: 15px 0 28px;
  color: #617069;
  font-size: 15px;
  line-height: 1.7;
}

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

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #cbd2cd;
  border-radius: 13px;
  background: #fff;
  color: #17211b;
  font: inherit;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #7d5c43;
  box-shadow: 0 0 0 4px rgba(125, 92, 67, .12);
}

button {
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 13px;
  background: #17211b;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 680;
}

button:disabled { opacity: .55; }

button.secondary {
  margin-top: 10px;
  background: transparent;
  color: #37433d;
  border: 1px solid #cbd2cd;
}

#status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #8a3d32;
  font-size: 13px;
  line-height: 1.55;
}

#status.ok { color: #316345; }

.security {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e1e5e1;
  color: #7b8780;
  font-size: 11px;
  text-align: center;
  letter-spacing: .03em;
}

@media (max-width: 380px) {
  .shell { padding-inline: 14px; }
  .card { padding: 28px 20px 22px; border-radius: 20px; }
}
