/* Vokami public policy microsite — static HTML/CSS only */

:root {
  --bg: #07070b;
  --surface: #111018;
  --card: #1a1824;
  --border: #2c2938;
  --primary: #9b8cff;
  --primary-muted: #6e62c4;
  --text: #f2eff8;
  --text-secondary: #9a94b0;
  --text-muted: #6f6a82;
  --accent: #e879a6;
  --max-width: 42rem;
  --radius: 0.75rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 108, 246, 0.15), transparent);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  color: #b8adff;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 11, 18, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--primary);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.site-nav a {
  color: var(--text-secondary);
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text-secondary);
}

p,
ul,
ol {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice-beta {
  border-left-color: var(--accent);
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 36rem) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--primary-muted);
  text-decoration: none;
  transform: translateY(-1px);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0.25rem 0;
  color: var(--text-muted);
}

.placeholder {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.875rem;
  background: rgba(124, 108, 246, 0.12);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--primary);
  word-break: break-all;
}
