:root {
  --bg: #0b1120;
  --bg-elevated: #111a2e;
  --surface: #182338;
  --surface-hover: #1f2d47;
  --border: #2a3954;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.14), transparent 45%), var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

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

.btn-secondary:hover {
  background: var(--surface-hover);
}

/* Hero Section */
.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1.04rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.hero-card img {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.hero-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.hero-card p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Sections & Cards */
.section {
  padding: 36px 0;
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.info-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 22px;
}

.info-box h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #6ee7b7;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.info-box li {
  margin-bottom: 6px;
}

/* Legal / Policy Pages */
.doc-wrapper {
  padding: 44px 0 60px;
}

.doc-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.doc-card h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.doc-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.doc-card h2 {
  margin: 26px 0 10px;
  font-size: 1.18rem;
  color: #93c5fd;
}

.doc-card p,
.doc-card li {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.doc-card ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.highlight-quote {
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid var(--primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  margin: 14px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-secondary);
}

@media (max-width: 820px) {
  .hero-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 28px;
  }

  .doc-card {
    padding: 22px;
  }
}
