@font-face {
  font-family: "Instrument Sans";
  font-weight: 400 700;
  font-display: swap;
  src: url("instrument-sans.woff2?v=2ee17598a98d") format("woff2");
}

:root {
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f8fafd;
  --surface: #ffffff;
  --border: #e6eaf2;
  --text: #0a1530;
  --muted: #44506a;
  --accent: #0b4dff;
  --button: #0a1530;
  --button-text: #ffffff;
  --button-hover: #1b2a4d;
  --ok-soft: #effaf5;
  --ok-ring: #cdeedf;
  --warn-soft: #fff8ea;
  --warn-ring: #f6dfb2;
  --bad-soft: #fff3f2;
  --bad-ring: #f6cdca;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1020;
    --surface: #0d1324;
    --border: #34405e;
    --text: #e8edf7;
    --muted: #a7b1c8;
    --accent: #6b98ff;
    --button: #e8edf7;
    --button-text: #0a1530;
    --button-hover: #ffffff;
    --ok-soft: #0f2a21;
    --ok-ring: #1b4a38;
    --warn-soft: #2d230f;
    --warn-ring: #57421a;
    --bad-soft: #341616;
    --bad-ring: #5d2522;
    color-scheme: dark;
  }

  .backdrop {
    display: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 13px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.backdrop {
  position: relative;
  flex: 1 1 520px;
  min-height: 360px;
  overflow: hidden;
  background: radial-gradient(55% 75% at 72% 35%, rgba(92, 225, 230, 0.9), rgba(92, 225, 230, 0) 62%),
    radial-gradient(50% 80% at 96% 82%, rgba(11, 77, 255, 0.95), rgba(11, 77, 255, 0) 66%),
    radial-gradient(42% 60% at 40% 100%, rgba(255, 214, 120, 0.7), rgba(255, 214, 120, 0) 70%),
    radial-gradient(60% 70% at 30% 10%, rgba(173, 214, 255, 0.9), rgba(173, 214, 255, 0) 70%),
    linear-gradient(115deg, #eaf4ff, #bcdcff);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.45) 0 1px,
    rgba(255, 255, 255, 0) 1px 10px
  );
  -webkit-mask-image: radial-gradient(70% 70% at 60% 60%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 60% 60%, #000, transparent);
}

.stage {
  flex: 1 1 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 32px;
}

.card {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.logo {
  display: block;
  width: 160px;
  height: auto;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.notice {
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.notice.ok {
  border-color: var(--ok-ring);
  background: var(--ok-soft);
}

.notice.warn {
  border-color: var(--warn-ring);
  background: var(--warn-soft);
}

.notice.bad {
  border-color: var(--bad-ring);
  background: var(--bad-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease;
}

.button:hover {
  background: var(--button-hover);
}

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

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 960px) {
  .backdrop {
    display: none;
  }
}
