:root {
  --brand: #00c8b4;
  --brand-hover: #00b3a1;
  --text: #111827;
  --muted: #4b5563;
  --hint: #6b7280;
  --bg: #f9fafb;
  --panel: #ffffff;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

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

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

body {
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

.shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.panel {
  width: 100%;
  max-width: 28rem;
  background: var(--panel);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 180px;
}

h1 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 800;
}

.subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 120ms ease, background-color 120ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-secondary {
  color: #fff;
  background: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-hover);
}

.stores {
  margin-top: 0.25rem;
}

.hint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--hint);
}

.panel[data-state='handoff'] .hint {
  color: var(--muted);
}
