:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101827;
  color: #f5f7fb;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 78% 12%, #243b56 0, transparent 36%), #101827;
}

.shell {
  width: min(100%, 660px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; letter-spacing: .01em; }
.brand img { border-radius: 14px; }

.card {
  margin: auto 0;
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid #ffffff22;
  border-radius: 28px;
  background: #ffffff0d;
  box-shadow: 0 24px 80px #00000038;
}

.eyebrow { color: #a8d4d1; font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
h1 { margin: 14px 0 10px; font-size: clamp(2.1rem, 6vw, 3.3rem); line-height: 1.12; letter-spacing: -.04em; }
.intro { margin: 0 0 28px; color: #bbc7d6; line-height: 1.6; }
#loading { color: #bbc7d6; }
form { display: grid; gap: 10px; }
label { margin-top: 10px; color: #dce5ef; font-size: .92rem; font-weight: 600; }
input {
  width: 100%; min-height: 50px; border: 1px solid #ffffff35; border-radius: 12px;
  background: #0d1522; color: #fff; padding: 12px 14px; font: inherit;
}
input:focus-visible, button:focus-visible { outline: 3px solid #86d8cb; outline-offset: 2px; }
button {
  min-height: 50px; margin-top: 16px; border: 0; border-radius: 12px;
  background: #95e2d6; color: #10202a; padding: 12px 18px;
  font: inherit; font-weight: 750; cursor: pointer;
}
button:hover { background: #b1eee5; }
button:disabled { opacity: .62; cursor: wait; }
button.secondary { border: 1px solid #ffffff55; background: transparent; color: #f5f7fb; }
button.secondary:hover { background: #ffffff18; }
.welcome, .note { line-height: 1.6; }
.note { color: #bbc7d6; }
.availability { margin: 24px 0; padding: 20px; border: 1px solid #ffffff26; border-radius: 18px; }
.availability h2 { margin: 0 0 8px; font-size: 1.3rem; }
.availability label { display: block; margin: 18px 0 8px; }
.availability-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.availability-actions button { flex: 1 1 180px; }
.message { min-height: 1.5em; margin: 18px 0 0; color: #ffd7a8; }
footer { padding-top: 18px; color: #9dabbd; text-align: center; font-size: .82rem; }

@media (max-width: 480px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .card { border-radius: 22px; }
}
