* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.55;
  color: #172029;
  background: #f6f8fb;
  overflow: hidden;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: #0f1f33;
  position: sticky;
  top: 0;
  z-index: 10;
}

main {
  min-height: 0;
  overflow-y: auto;
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  color: #d4def0;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #ffffff;
}

.nav a.is-active,
.footer-links a.is-active,
.logo.is-active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  background: linear-gradient(120deg, #0f1f33, #1d3a5b);
  color: #ffffff;
  padding: 86px 0 70px;
}

.eyebrow {
  margin: 0;
  color: #9cc4ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
}

.lead {
  margin: 0;
  max-width: 700px;
  color: #d8e8ff;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

.alt {
  background: #ffffff;
}

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

.card {
  background: #ffffff;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 20px;
}

.card h3 {
  margin-top: 0;
}

.contact-box {
  background: #ffffff;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 20px;
}

.footer {
  background: #0f1f33;
  color: #d4def0;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: #e7efff;
  text-decoration: none;
}

.legal {
  background: #ffffff;
  min-height: 100%;
}

.legal article {
  background: #f8fafe;
  border: 1px solid #dde5f0;
  border-radius: 10px;
  padding: 24px;
}

.legal h1 {
  color: #0f1f33;
  margin-top: 0;
}

.legal h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: #10253e;
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 54px;
  }
}
