/* Sovereignty by Design — Landing Page */

:root {
  --navy: #1a2332;
  --charcoal: #2d3748;
  --amber: #d69e2e;
  --amber-hover: #b7791f;
  --light: #f7fafc;
  --text: #2d3748;
  --text-light: #a0aec0;
  --white: #ffffff;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero .subhead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--amber-hover);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.section p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.section .btn {
  margin-top: 0.75rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Responsive */
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3.4rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
