
:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --card: #020617;
  --card-inner: #020617;
  --border-subtle: rgba(148,163,184,0.45);
  --border-strong: rgba(148,163,184,0.8);
  --accent: #6366f1;
  --accent-soft: rgba(99,102,241,0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(99,102,241,0.15) 0, transparent 55%),
    radial-gradient(circle at bottom, rgba(129,140,248,0.14) 0, transparent 55%),
    #020617;
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

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

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

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

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 0 0,#4f46e5,#22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e5e7eb;
}

.brand-text-main {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.tag-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.9);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card {
  background:
    radial-gradient(circle at top left, rgba(79,70,229,0.25), transparent 60%),
    linear-gradient(to right, rgba(15,23,42,0.98), rgba(15,23,42,0.94));
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 20px 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 28px 60px rgba(15,23,42,0.9);
}

.hero-title {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  margin: 0 0 8px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 65ch;
}

.hero-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta-dot {
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148,163,184,0.9);
  margin-right: 6px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.6fr);
  gap: 20px;
}

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

.card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.2);
  padding: 18px 16px 16px;
  box-shadow: 0 22px 48px rgba(15,23,42,0.9);
}

.card-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148,163,184,0.95);
  margin-bottom: 6px;
}

.card h2 {
  font-size: 1.02rem;
  margin: 0 0 10px;
  text-wrap: balance;
}

.card h3 {
  font-size: 0.95rem;
  margin: 14px 0 6px;
}

.card p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.card ul {
  margin: 4px 0 8px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card li + li { margin-top: 3px; }

.state-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.state-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.96);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.state-pill span.name {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.state-pill span.code {
  font-size: 0.72rem;
  color: rgba(148,163,184,0.98);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.state-pill:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
  transform: translateY(-1px);
}

.state-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.resources-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 0;
}

.resources-list li {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.resources-list a {
  color: #a5b4fc;
  text-decoration: none;
}

.resources-list a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.resources-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-meta {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: #e5e7eb;
}

.footer-meta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.small {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.autovue-banner {
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .state-pill {
    transition: none;
  }
}
