:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --text: #14161a;
  --text-muted: #5b5f6b;
  --border: #e7e9ee;
  --navy: #14213d;
  --navy-hover: #1d2f57;
  --accent: #3457d5;
  --card-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f;
    --bg-alt: #131418;
    --text: #eceef2;
    --text-muted: #9a9ea8;
    --border: #23252b;
    --navy: #2a3a66;
    --navy-hover: #34477d;
    --accent: #7d9bff;
    --card-bg: #17181d;
  }
}

* {
  box-sizing: border-box;
}

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

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

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

/* Nav */
.site-nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.nav-brand:hover {
  text-decoration: none;
}
.nav-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}
.nav-cta {
  padding: 8px 16px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover {
  background: var(--navy-hover);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.3rem;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--navy);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--navy-hover);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  text-decoration: none;
}

/* Sections */
section {
  padding: 64px 0;
}
section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-head .eyebrow {
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}
.section-head p {
  color: var(--text-muted);
  margin: 0;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* Product spotlight */
.spotlight {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.spotlight-text {
  flex: 1;
}
.spotlight-text h3 {
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.spotlight-text .tagline {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.spotlight-text p.desc {
  color: var(--text-muted);
  margin: 0 0 20px;
}
.spotlight-badge {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  flex-shrink: 0;
  display: block;
  border: 1px solid var(--border);
}

/* Fact list (About page) */
.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.fact-list li:last-child {
  border-bottom: none;
}
.fact-label {
  color: var(--text-muted);
}
.fact-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.site-footer a {
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .spotlight {
    flex-direction: column;
    text-align: center;
    padding: 28px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
