:root {
  --primary: #1e3a8a;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #10b981;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.brand svg {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 24px;
}

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

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

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--primary-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

/* Features Grid */
.features {
  padding: 60px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Entity Callout */
.entity-banner {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin: 40px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entity-banner h3 {
  font-size: 1.25rem;
  color: #0f172a;
}

.entity-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legal & Doc Pages */
.legal-page {
  max-width: 800px;
  margin: 40px auto 80px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #0f172a;
}

.legal-page p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 1rem;
}

.legal-page ul, .legal-page ol {
  margin: 0 0 20px 24px;
  color: #334155;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong {
  color: #0f172a;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 48px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

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

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

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

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
  .legal-page {
    padding: 24px;
    margin: 20px auto;
  }
  .nav-wrapper {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }
}
