:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172b4d;
  background: #f4f7fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 560px);
  padding: clamp(24px, 6vw, 48px);
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgb(31 56 88 / 9%);
}

.eyebrow { margin: 0 0 14px; color: #4676a9; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 36px); letter-spacing: -.03em; line-height: 1.15; }
.intro { margin: 18px 0 26px; color: #52647a; font-size: 16px; line-height: 1.65; }
.status { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 16px; border-radius: 12px; background: #f1f6fb; color: #294b6c; line-height: 1.5; }
.spinner { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #c6d8e9; border-top-color: #2878bb; border-radius: 50%; animation: spin .8s linear infinite; }
.status[data-state="success"] { background: #edf8f2; color: #1c6844; }
.status[data-state="warning"] { background: #fff7e8; color: #76500b; }
.status[data-state="error"] { background: #fff0ef; color: #8b3028; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; background: #1769aa; color: white; font-weight: 650; text-decoration: none; }
.button.secondary { background: #eaf2f9; color: #1b527e; }
.button:focus-visible { outline: 3px solid #7ab9ed; outline-offset: 3px; }
button.button { border: 0; font: inherit; cursor: pointer; }
.privacy { margin: 28px 0 0; color: #718096; font-size: 13px; line-height: 1.6; }
noscript { display: block; margin: 24px; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; } }
