:root {
  --navy: #0b1e33;
  --navy-light: #132a45;
  --gold: #c9a227;
  --teal: #2a7a8a;
  --text: #e8eef4;
  --muted: #9fb0c3;
  --surface: #ffffff;
  --surface-muted: #f4f7fa;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--surface-muted);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--navy);
  color: var(--text);
  padding: 1rem 1.5rem;
}

.site-header-inner,
.site-footer-inner,
.container {
  max-width: 960px;
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #1a3d5c 100%);
  color: var(--text);
  padding: 4rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-logo {
  width: min(280px, 100%);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.hero p.lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.features {
  padding: 3.5rem 1.5rem;
}

.features h2,
.contact h2 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.06);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: #4a5f73;
  font-size: 0.95rem;
}

.contact {
  padding: 0 1.5rem 4rem;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.06);
}

.contact-card p {
  margin: 0 0 0.75rem;
  color: #4a5f73;
}

.site-footer {
  background: var(--navy);
  color: var(--muted);
  padding: 1.5rem;
  font-size: 0.875rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer a {
  color: var(--muted);
}

.legal-page {
  padding: 2.5rem 1.5rem 4rem;
}

.legal-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(11, 30, 51, 0.06);
}

.legal-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.legal-meta {
  color: #4a5f73;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

.legal-body h2 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-body p {
  margin: 0 0 0.75rem;
  color: #334155;
}

.legal-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: #334155;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo {
    margin: 0 auto;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
