
:root {
  --bg: #020617;
  --bg-elevated: #020b1a;
  --card-bg: #020b1a;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --pill-bg: rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a 40%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #e5e7eb;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.75);
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text-sub {
  color: var(--text-muted);
  font-size: 13px;
}

.tag-pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--pill-bg);
  color: var(--text-muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.1), transparent 55%);
  border-radius: 26px;
  padding: 24px 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.9);
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(26px, 3vw, 30px);
  margin: 0 0 10px;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  margin-right: 6px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: flex-start;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.card-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.state-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-pill {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.96);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.08s ease;
}

.state-pill .name {
  font-weight: 500;
}

.state-pill .code {
  font-size: 11px;
  color: var(--text-muted);
}

.state-pill:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
}

.footer-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  padding-top: 14px;
}

.footer-meta a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  color: var(--text-muted);
}

#autovue-banner {
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.85);
}

.rule-section {
  margin-bottom: 16px;
}

.rule-section h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.rule-section h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.rule-section ul {
  margin: 6px 0 0 18px;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.rule-section li {
  margin-bottom: 4px;
}

.rule-section a {
  color: #38bdf8;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  margin-right: 6px;
}

@media (max-width: 768px) {
  .site-shell {
    padding: 18px 14px 28px;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
