:root {
  --navy: #101b5a;
  --navy-deep: #080f39;
  --navy-soft: #1d2a78;
  --yellow: #fff21a;
  --text: #34383f;
  --muted: #6b7280;
  --line: #e6e8ec;
  --page: #f5f6f8;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-soft);
}

a:hover,
a:focus {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

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

.content-width {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-top: 5px solid var(--navy);
  box-shadow: 0 1px 7px rgba(8, 15, 57, 0.10);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding: 22px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(430px, 82vw);
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.main-nav a {
  padding: 15px 13px 14px;
  color: #3d4149;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--navy);
  border-bottom-color: var(--yellow);
}

.page-hero {
  padding: 58px 0 48px;
  background:
    linear-gradient(110deg, rgba(16, 27, 90, 0.98), rgba(29, 42, 120, 0.94));
  color: var(--white);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 700;
}

.title-rule {
  width: 76px;
  height: 5px;
  margin: 20px 0 24px;
  background: var(--yellow);
}

.hero-copy {
  max-width: 830px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.65;
}

.last-updated {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.policy-layout {
  padding-top: 48px;
  padding-bottom: 64px;
}

.policy-card {
  padding: 50px 58px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 8px 28px rgba(8, 15, 57, 0.07);
}

.policy-card section + section {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.policy-card h2 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.3;
}

.policy-card p {
  margin: 0 0 16px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul {
  margin: 12px 0 0;
  padding-left: 23px;
}

.policy-card li + li {
  margin-top: 9px;
}

.policy-card strong {
  color: #252b35;
}

.contact-block {
  margin-top: 18px;
  padding: 22px 24px;
  background: #f7f8fb;
  border-left: 5px solid var(--yellow);
  font-style: normal;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  padding-top: 46px;
  padding-bottom: 42px;
}

.footer-grid section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid h2 {
  margin: 0 0 15px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-grid h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 9px;
  background: var(--yellow);
}

.footer-grid a,
.footer-grid span {
  margin: 3px 0;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding: 17px 0;
  background: #050a28;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

@media (max-width: 900px) {
  .main-nav {
    padding: 8px 0;
  }

  .main-nav a {
    flex: 1 1 25%;
    padding: 10px 8px;
    text-align: center;
  }

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

@media (max-width: 640px) {
  .content-width,
  .header-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    padding-top: 18px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: min(390px, 100%);
  }

  .main-nav {
    margin-top: 17px;
  }

  .main-nav a {
    flex: 1 1 50%;
    font-size: 12px;
  }

  .page-hero {
    padding: 42px 0 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .policy-layout {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .policy-card {
    padding: 34px 22px 44px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .policy-card section + section {
    margin-top: 32px;
    padding-top: 28px;
  }

  .policy-card h2 {
    font-size: 21px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-top: 38px;
    padding-bottom: 38px;
  }
}
