:root {
  --brand: #0d6efd;
  --brand-dark: #0a58ca;
  --surface: #f5f7fb;
  --ink: #1a1d24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #cfe2ff 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e7f1ff 0%, transparent 50%),
    var(--surface);
}

.app-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: var(--brand);
  margin: 0;
}

.hero-copy {
  color: #4b5563;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.5;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #e9ecef;
  color: #495057;
}

.status-pill.ok {
  background: #d1e7dd;
  color: #0f5132;
}

.status-pill.warn {
  background: #fff3cd;
  color: #664d03;
}

.status-pill.bad {
  background: #f8d7da;
  color: #842029;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.install-banner {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed var(--brand);
}

.install-banner.show {
  display: block;
}

.ios-guide {
  display: none;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ios-guide.show {
  display: block;
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
}

.admin-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
}

.toast-fixed {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1080;
  min-width: 260px;
  max-width: 90vw;
}
