/* Brand tokens and chrome shared by every browser demo. */

:root {
  --primary: #7a57ee;
  --primary-hover: #6344d4;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg-muted: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 2rem auto;
  line-height: 1.6;
  color: var(--text);
}

.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.logo {
  width: 32px;
  height: 32px;
}

h1 {
  margin: 0;
  color: var(--text);
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.demo-badge {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fef3c7;
  color: #92400e;
  vertical-align: middle;
}

.demo-badge[hidden] {
  display: none;
}
