:root {
  color: #12343b;
  background: #eaf6f4;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.18), transparent 27rem),
    radial-gradient(circle at 88% 82%, rgba(249, 115, 22, 0.13), transparent 24rem),
    #eaf6f4;
}

button, input { font: inherit; }

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

.card {
  width: min(620px, 100%);
  padding: clamp(32px, 7vw, 54px);
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(15, 72, 70, 0.16);
}

.logo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #12343b;
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.district {
  margin: 18px 0 0;
  color: #375b61;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.5;
}

.status {
  min-height: 1.6em;
  margin: 12px 0 0;
  color: #0f766e;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.5;
}

button {
  width: min(340px, 100%);
  min-height: 62px;
  margin-top: 28px;
  padding: 16px 28px;
  color: #fff;
  background: #0f766e;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 800;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

button:hover:not(:disabled) {
  background: #0b665f;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.3);
  transform: translateY(-1px);
}

button:active:not(:disabled) { transform: translateY(1px); }

button:focus-visible {
  outline: 4px solid #5eead4;
  outline-offset: 4px;
}

button:disabled {
  background: #789b98;
  box-shadow: none;
  cursor: wait;
}

.privacy {
  max-width: 440px;
  margin: 24px auto 0;
  color: #60777b;
  font-size: 0.9rem;
  line-height: 1.5;
}

noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 12px;
  color: #7f1d1d;
  background: #fee2e2;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 520px) {
  .shell { padding: 16px; }
  .card { border-radius: 24px; }
  .logo { width: 92px; height: 92px; }
}

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