:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
}

.card {
  max-width: 32rem;
  padding: 2.5rem;
  margin: 1rem;
  text-align: center;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

p {
  color: #444;
  line-height: 1.5;
}

.buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover:not(:disabled) {
  background: #1d4ed8;
}

button.secondary {
  color: #2563eb;
  background: #e5edff;
}

button.secondary:hover:not(:disabled) {
  background: #d4e1ff;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  min-height: 1.5em;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.instructions {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  text-align: left;
  background: #f5f5f7;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

.instructions summary {
  cursor: pointer;
  font-weight: 600;
  color: #111;
}

.instructions ol {
  margin: 0.75rem 0 0.5rem;
  padding-left: 1.25rem;
}

.instructions li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.instructions code {
  background: #e5e7eb;
  padding: 0.1em 0.3em;
  border-radius: 0.25rem;
  font-size: 0.85em;
}

.instructions p {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.85rem;
}
