:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef3f8;
  color: #142235;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: radial-gradient(circle at top, #d9e9f7 0, #eef3f8 48%, #e8eef5 100%);
}

.card {
  width: min(100%, 440px);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(18, 58, 99, .08);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(18, 58, 99, .14);
}

.brand {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #1768ac, #123a63);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(23, 104, 172, .24);
}

.eyebrow {
  color: #1768ac;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .73rem;
  margin: 22px 0 0;
}

h1 { font-size: clamp(1.75rem, 6vw, 2.15rem); line-height: 1.08; margin: 8px 0 12px; letter-spacing: -.03em; }
.intro { color: #526273; line-height: 1.55; margin: 0 0 22px; }

.notice {
  background: #fff7dd;
  border: 1px solid #f3dc93;
  border-radius: 12px;
  padding: 14px;
  line-height: 1.45;
  margin: 18px 0;
  color: #5b4611;
}

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

button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  color: white;
  background: #1768ac;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

button:hover { background: #12558e; }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 3px solid #82bce9; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary { color: #17476f; background: #e5f0f9; }
button.secondary:hover { background: #d6e8f6; }

#status { min-height: 1.5em; color: #42627e; margin: 18px 0 0; line-height: 1.45; font-weight: 600; }
#status.error { color: #b42318; }
.privacy { color: #5f6d7a; font-size: .79rem; line-height: 1.45; margin: 20px 0 0; }

@media (max-width: 480px) {
  .card { padding: 26px 22px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
