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

body {
  margin: 0;
  color: #1a1a1a;
  background: #fff;
}

.hero {
  text-align: center;
  padding: 5rem 1.5rem;
  background: #f5f6fa;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.button,
button {
  display: inline-block;
  background: #2f5eff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  cursor: pointer;
}

.pricing,
.signup {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.plans {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.plan {
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  width: 12rem;
}

.plan-featured {
  border-color: #2f5eff;
}

.price {
  font-size: 1.75rem;
  font-weight: 600;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

input {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  font-size: 1rem;
}

[role="status"] {
  min-height: 1.25rem;
  color: #2f5eff;
}

/* Comparison / SEO landing pages */

.logo {
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.05rem;
}

.compare,
.why,
.faq {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.compare h2,
.why h2,
.faq h2 {
  text-align: center;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #eee;
}

.compare th {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
}

.why ul {
  padding-left: 1.25rem;
}

.why li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.faq p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

.site-footer a {
  color: #2f5eff;
  text-decoration: none;
}

/* Dashboard + public status page */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.overall {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.component-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.component-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.status-operational { background: #1a9e5c; }
.status-degraded { background: #e0a100; }
.status-partial_outage { background: #e07a00; }
.status-major_outage { background: #d92d20; }

select {
  padding: 0.4rem;
  border-radius: 0.375rem;
  border: 1px solid #ccc;
}

.inline-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.muted {
  color: #666;
  font-size: 0.9rem;
}
