:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --max-width: 1100px;
  color-scheme: light;
}

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

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

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

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

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav a {
  margin-left: 18px;
  font-weight: 500;
  color: var(--muted);
}
.nav a:first-of-type {
  margin-left: 0;
}
.nav a:hover,
.nav a:focus {
  color: var(--text);
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 10px 0 14px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero-card,
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.metric {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
}
.metric-value {
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 60px 0;
}
.section.alt {
  background: #eef2f7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.card p {
  margin-top: 0;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-email a {
  font-size: 18px;
  font-weight: 700;
}

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--text);
}
.footer-links span {
  margin: 0 8px;
  color: var(--border);
}

/* Legal pages */
.legal-page .site-header {
  position: static;
}
.legal-content {
  padding: 40px 0 60px;
}
.legal-content h1 {
  margin-bottom: 6px;
}
.legal-content h2 {
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  margin: 8px 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav a {
    margin-left: 0;
    margin-right: 12px;
  }
}


