:root {
  --bg-topbar: #445c8a;
  --bg-page-top: #f5f7fb;
  --bg-page-bottom: #e1e6f0;
  --bg-card: #ffffff;
  --accent: #1976d2;
  --accent-hover: #1257a5;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-subtle: #d1d5db;
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.28);
  --radius-lg: 6px;
  --radius-pill: 999px;
  --transition-fast: 160ms ease-out;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Roboto",
    "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font-system);
  background: linear-gradient(to bottom, var(--bg-page-top), var(--bg-page-bottom));
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.app-header {
  height: 64px;
  background-color: var(--bg-topbar);
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.app-header-inner {
  display: flex;
  align-items: center;
}

.app-logo-img {
  height: 32px;
  max-width: 100%;
}

.page {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 16px 32px;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 40px 48px 32px;
  text-align: left;
}

.title {
  font-size: 2rem;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0 0 4px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
}

.description {
  margin: 12px 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 36rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 4px;
  border: none;
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
  transition: background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  cursor: pointer;
}

.primary-button:hover,
.primary-button:focus-visible {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.45);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
}

.primary-button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}

.footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .app-header {
    padding: 0 16px;
  }

  .card {
    padding: 28px 20px 22px;
  }

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

