:root {
  --bg: #f6fbfd;
  --surface: #ffffff;
  --brand: #4fa9c4;
  --brand-dark: #1f7894;
  --text: #10232c;
  --muted: #5d7280;
  --border: #d9eef5;
  --shadow: 0 18px 50px rgba(31, 120, 148, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 251, 253, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 310px;
  max-height: 54px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  padding: 86px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  color: var(--muted);
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 0 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--brand-dark);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-dark);
  border-color: var(--border);
}

.hero-card {
  background: linear-gradient(135deg, rgba(79, 169, 196, 0.15), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card img {
  border-radius: 30px;
}

.section {
  padding: 76px 0;
}

.section.muted {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.card p,
.contact-card p,
.narrow p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.site-footer {
  padding: 30px 0;
  background: #10232c;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-links a {
  color: #ffffff;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.updated {
  color: var(--muted);
  margin-top: -6px;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 250px;
  }

  .hero {
    padding-top: 54px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
