:root {
  --bg: #14161e;
  --bg-elevated: #1d232d;
  --surface: #f5f7fa;
  --surface-strong: #ffffff;
  --text: #e9edf5;
  --text-muted: #aeb8c8;
  --brand: #dce6ff;
  --primary: #7a8cff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.25);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}

.site-header {
  background: rgba(20, 22, 30, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(122, 140, 255, 0.14);
  color: var(--text);
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}

.cta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero-card,
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 30px var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.hero-card li + li {
  margin-top: 0.5rem;
}

.content-section {
  padding: 1rem 0 3rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.panel {
  padding: 1.5rem;
}

.panel h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.page-content {
  padding: 3rem 0 4rem;
}

.legal-page {
  padding: 2rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.legal-page p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

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

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 760px) {
  .nav-wrap,
  .hero-grid,
  .two-col,
  .footer-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    padding: 0.9rem 0;
  }

  .main-nav {
    width: 100%;
  }

  .brand {
    width: 100%;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .panel,
  .hero-card,
  .legal-page {
    padding: 1.2rem;
  }
}
