:root {
  --blue-950: #06162e;
  --blue-800: #0a2f66;
  --blue-600: #075fd8;
  --blue-500: #0879ff;
  --blue-100: #eaf3ff;
  --ink: #102038;
  --muted: #5d6b7e;
  --line: #dce5f0;
  --surface: #ffffff;
  --shadow: 0 24px 70px rgba(6, 22, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(8, 121, 255, 0.24), transparent 30rem),
    linear-gradient(145deg, #eff6ff 0%, #f8fbff 48%, #e9f2ff 100%);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.card {
  width: min(100%, 610px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.wordmark {
  margin-bottom: 46px;
  color: var(--blue-950);
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.wordmark span {
  color: var(--blue-500);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.intro {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.notice {
  padding: 17px 18px;
  border: 1px solid #cfe2fb;
  border-radius: 15px;
  color: #244468;
  background: var(--blue-100);
  font-size: 0.94rem;
  line-height: 1.55;
}

.status {
  min-height: 24px;
  margin: 15px 2px 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.button {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8, 121, 255, 0.35);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 10px 24px rgba(7, 95, 216, 0.24);
}

.button-secondary {
  border-color: var(--line);
  color: var(--blue-800);
  background: #fff;
}

.fineprint,
.noscript {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-card h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.legal-card h2 {
  margin: 30px 0 9px;
  color: var(--blue-950);
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card ul {
  padding-left: 20px;
}

.placeholder {
  padding: 12px 14px;
  border: 1px solid #ffd48a;
  border-radius: 10px;
  color: #674400;
  background: #fff7e6;
}

@media (max-width: 520px) {
  .card {
    border-radius: 21px;
  }

  .wordmark {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
