/* Global styles */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f8fafc;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Layout */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & navigation */

.site-header {
  background: linear-gradient(135deg, #1D3557, #16324f);
  color: #ffffff;
  padding: 40px 0 30px;
}

.site-header h1 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.site-header p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

nav {
  background: #12263f;
}

nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 0;
}

nav a {
  color: #e9ecef;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover,
nav a:focus {
  color: #f4d35e;
}

/* Hero */

.hero {
  padding: 50px 0 30px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr);
  gap: 40px;
}

.hero h2 {
  font-size: 2.1rem;
  margin-top: 0;
  color: #1D3557;
}

.hero p.lead {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.tagline-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #e0ecff;
  color: #1D3557;
  margin-bottom: 10px;
}

.hero-highlights {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 40px 0;
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

.section:nth-of-type(even) {
  background: #f1f5f9;
}

.section h2 {
  margin-top: 0;
  color: #1D3557;
  font-size: 1.5rem;
}

/* Pillar cards */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #1D3557;
}

/* Lists */

ul {
  padding-left: 20px;
  margin-top: 8px;
}

/* Two-column layout */

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
}

/* Footer */

footer {
  background: #e5e7eb;
  padding: 18px 0;
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-emails {
  opacity: 0.9;
}

/* Buttons / links */

.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #1D3557;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #16324f;
}

/* Responsive tweaks */

@media (max-width: 800px) {
  .hero-layout,
  .columns-2 {
    grid-template-columns: 1fr;
  }

  .site-header {
    text-align: center;
  }

  nav .container {
    justify-content: center;
  }
}
