:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17251f;
  background: #edf2ed;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .9), transparent 42%),
    #edf2ed;
}

.card {
  width: min(100%, 430px);
  padding: 32px;
  border: 1px solid #d4ddd5;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(22, 54, 39, .12);
}

.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #173d2d;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 700;
}

.eyebrow {
  margin: 24px 0 6px;
  color: #5c7268;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1; }
h2 { margin: 0 0 8px; font-size: 1rem; }
p { line-height: 1.55; }
.intro { margin: 16px 0 26px; color: #53635c; }
label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 700; }

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #a9b7ae;
  border-radius: 10px;
  font: inherit;
}

button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #173d2d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:disabled { cursor: wait; opacity: .55; }
button.secondary { color: #173d2d; background: #e3ebe5; }
button.text-button { min-height: auto; margin-top: 24px; padding: 4px; color: #586960; background: transparent; font-size: .875rem; }
.panel { margin-top: 18px; padding: 18px; border-radius: 14px; background: #f3f6f3; }
.panel p { margin: 0; color: #53635c; }
.panel .alert-description { color: #17251f; font-weight: 700; }
#status { margin-top: 10px; }
.message { min-height: 1.5em; margin: 16px 0 0; color: #326244; font-weight: 650; }
.message.error { color: #a22d29; }
.last-check { margin: 18px 0 0; color: #6b7a72; font-size: .8rem; text-align: center; }
[hidden] { display: none !important; }

@media (max-width: 480px) {
  body { padding-left: 12px; padding-right: 12px; }
  .card { padding: 26px 22px; border-radius: 18px; }
}
