:root {
  color-scheme: light dark;
  --accent: #2563eb;
  --error: #b91c1c;
  --border: #d1d5db;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  line-height: 1.5;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.site-header .brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.site-header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: inherit;
}

main {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 2rem 0;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 0.4rem;
  text-decoration: none;
  margin-top: 1rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
}

.plan-card .price {
  font-size: 1.5rem;
  font-weight: 700;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.auth-form input {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
}

.error {
  color: var(--error);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.credentials code {
  font-size: 1.1rem;
}

.row-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.row-actions form {
  display: inline;
}

button.danger {
  background: var(--error);
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  padding: 0.4rem 0.8rem;
}

.muted {
  color: #6b7280;
}

.how-it-works ol {
  padding-left: 1.2rem;
}

.hero-illustration {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.5rem 0 2.5rem;
}

.hero-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-icon {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--accent);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: #6b7280;
  font-size: 0.9rem;
}

#mapWrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #0a0e14;
  height: 480px;
  width: 100%;
}
