* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #121212;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  max-width: 640px;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 0.95rem;
  color: #9e9e9e;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 640px;
  padding: 0 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.5rem;
}

.card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.card .version {
  font-size: 0.8rem;
  color: #757575;
  margin-bottom: 0.75rem;
}

.card .description {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.badge-stable {
  background: #1b5e20;
  color: #a5d6a7;
}

.badge-beta {
  background: #e65100;
  color: #ffcc80;
}

esp-web-install-button {
  display: block;
}

esp-web-install-button button {
  background: #ffffff;
  color: #121212;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}

esp-web-install-button button:hover {
  background: #e0e0e0;
}

.instructions {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.5rem;
}

.instructions h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.instructions ol {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.8;
}

.warning {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #2a1a00;
  border: 1px solid #e65100;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #ffcc80;
  line-height: 1.5;
}

.browser-notice {
  text-align: center;
  font-size: 0.8rem;
  color: #757575;
  padding: 1rem;
}

.browser-notice a {
  color: #90caf9;
  text-decoration: none;
}

.browser-notice a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #555;
}
