:root {
  color-scheme: light;
  --bg: #ececee;
  --panel: transparent;
  --border: #d8d8de;
  --text: #0c0c10;
  --muted: #3d3d46;
  --accent: #1430ed;
  --accent-soft: #f4f7ff;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.card {
  width: min(100%, 680px);
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(100%, 387px);
  height: auto;
  margin: 0 auto 26px;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.lede,
.card p,
.footnote,
.status-row {
  font-size: 1.03rem;
  line-height: 1.62;
}

.lede {
  margin: 0 0 16px;
  color: var(--muted);
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.card a {
  color: var(--text);
  font-weight: 600;
}

.warning-icon {
  margin: 18px auto 20px;
  font-size: 5.1rem;
  line-height: 1;
  color: var(--text);
}

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px auto 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  background: var(--accent-soft);
  text-align: left;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(20, 48, 237, 0.2);
  flex: none;
  margin-top: 0.45em;
}

.retry-button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 160ms ease, opacity 120ms ease;
  box-shadow: 0 8px 20px rgba(20, 48, 237, 0.28);
}

.retry-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 48, 237, 0.34);
}

.retry-button:active {
  transform: translateY(0);
  opacity: 0.92;
}

.retry-button:focus-visible {
  outline: 3px solid rgba(20, 48, 237, 0.3);
  outline-offset: 2px;
}

.footnote {
  margin: 18px 0 0;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 640px) {
  .card {
    padding: 12px 6px;
  }

  .brand-logo {
    width: min(100%, 300px);
    margin-bottom: 20px;
  }

  .status-row {
    font-size: 0.96rem;
  }

  .retry-button {
    width: 100%;
  }
}
