:root {
  --bg: #0a0d10;
  --bg-panel: #12171b;
  --border: #1f2830;
  --text: #f2f4f5;
  --text-muted: #93a1ab;
  --teal: #2dd4bf;
  --blue: #3b82f6;
  --gradient: linear-gradient(135deg, var(--teal), var(--blue));
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 13, 16, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  background: #fff;
}

.brand-name { color: var(--text); }

nav.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--text);
}

/* Main content */

main { flex: 1; }

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

.hero-logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 38rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: #04120f;
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover { border-color: var(--teal); }

section { padding: 3rem 0; }

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

section p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 42rem;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}

.badge {
  display: inline-block;
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 1.6rem;
  position: relative;
  max-width: 42rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gradient);
}

.teaser-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.teaser-card .btn { margin-top: 0.5rem; }

.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.center .btn-row-wrap { display: flex; justify-content: center; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.site-footer a:hover { color: var(--text); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Legal/policy body copy */

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.prose h2:first-child { margin-top: 0; }

.prose ul {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 42rem;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose a { color: var(--teal); }

/* 404 */

.notfound {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
