:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #596579;
  --line: #d9e2ec;
  --soft: #f4f8fb;
  --brand: #176b87;
  --brand-dark: #0f4f63;
  --accent: #e0a82e;
  --accent-dark: #b57f16;
  --ok: #2f855a;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--brand);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.brand-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--brand);
}

.section {
  padding: 72px 20px;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  background:
    linear-gradient(90deg, rgba(15, 79, 99, 0.92), rgba(23, 107, 135, 0.76)),
    url("https://images.unsplash.com/photo-1529156069898-49953eb1b5b6?q=70&w=1600&auto=format&fit=crop") center/cover;
  color: var(--white);
  min-height: 680px;
  display: grid;
  align-items: center;
}

.hero .wrap {
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 8vw, 78px);
}

h2 {
  font-size: clamp(30px, 5vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 20px;
}

.hero .lead {
  color: #edf7fb;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  border: 2px solid transparent;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background: var(--brand-dark);
}

.button.accent {
  background: var(--accent);
  color: #1f1704;
}

.button.accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--brand-dark);
}

.button.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.button.outline-dark {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(31, 41, 51, 0.06);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.fact {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.fact strong {
  display: block;
  font-size: 24px;
}

.list {
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin-bottom: 10px;
}

.notice {
  border-left: 5px solid var(--accent);
  background: #fff8e8;
  padding: 18px;
  border-radius: 6px;
}

.contact-box {
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box a {
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  background: #10212b;
  color: #d9e2ec;
  padding: 42px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 26px;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 54px);
}

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

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.top-band {
  background: var(--soft);
  padding: 54px 20px;
  border-bottom: 1px solid var(--line);
}

.blog-post {
  display: grid;
  gap: 10px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
  }

  .grid.two,
  .grid.three,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 52px 18px;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 10px 14px;
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
