:root {
  --bg: #ffffff;
  --fg: #1a1f2e;
  --muted: #5a6478;
  --accent: #1e4ed8;
  --accent-dark: #1638a8;
  --hero-from: #eef3ff;
  --hero-to: #dde7ff;
  --card: #ffffff;
  --border: #e3e7ee;
  --alt-bg: #f6f8fc;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 1.25rem 1.5rem 6rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 5rem;
}

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

.brand-main {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--accent); }

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: calc(0.9rem - 2px) calc(2rem - 2px);
}

.cta-secondary:hover { background: var(--accent); color: #fff; }

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section.alt {
  background: var(--alt-bg);
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section .lead {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--muted);
}

.section p {
  font-size: 1.05rem;
  color: var(--muted);
}

.section > .container > p {
  max-width: 760px;
  margin: 0 auto 1rem;
  text-align: center;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 78, 216, 0.08);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-weight: 700;
}

.card p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact */
.contact-info {
  text-align: center;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p { margin: 0.5rem 0; }

/* Footer */
.footer {
  background: #0f1424;
  color: #c2c7d5;
  padding: 2.5rem 1.5rem;
  font-size: 0.92rem;
}

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

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.footer p { color: #c2c7d5; }

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  .nav-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .section { padding: 3.5rem 1.25rem; }
  .section h2 { font-size: 1.8rem; }
  .footer-grid { flex-direction: column; text-align: center; }
}
