:root {
  color-scheme: light;
  --navy: #0a2342;
  --primary: #0b5fa5;
  --secondary: #119ed1;
  --orange: #f47721;
  --ink: #152435;
  --muted: #5b6b7c;
  --line: #dce7f0;
  --surface: #ffffff;
  --soft: #f2f8fc;
  --success: #19734b;
  --shadow: 0 18px 50px rgba(13, 67, 108, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 35%, rgba(25, 174, 217, 0.35), transparent 30%),
    linear-gradient(135deg, #071c36 0%, #0b4f8a 58%, #087eb3 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -250px;
  right: -80px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  background: white;
  border-radius: 14px;
}

.contact-link {
  padding: 9px 16px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  text-decoration: none;
  transition: 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 76px 130px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  color: #d9f5ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 20px 0 12px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 760px;
  margin: 0;
  color: #dcecf6;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  color: #bcd7e7;
  font-size: 0.9rem;
}

.wave {
  position: absolute;
  right: -5%;
  bottom: -70px;
  left: -5%;
  height: 120px;
  background: #f8fbfd;
  border-radius: 50% 50% 0 0 / 65% 65% 0 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-block: 72px 100px;
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(13, 67, 108, 0.06);
}

.toc strong {
  margin-bottom: 5px;
  color: var(--navy);
}

.toc a {
  padding: 5px 8px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.88rem;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--primary);
  background: var(--soft);
}

.policy-content {
  min-width: 0;
}

.policy-content section {
  padding-block: 12px 46px;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.policy-content h3 {
  margin: 12px 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
}

.policy-content p {
  color: var(--muted);
}

.policy-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

.policy-content code {
  padding: 2px 7px;
  color: #0a4c7c;
  background: #eaf4fa;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.section-number {
  margin: 0 0 8px !important;
  color: var(--secondary) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-bottom: 40px;
  padding: 28px !important;
  background: linear-gradient(135deg, #e8f7fd, #f6fbfe);
  border: 1px solid #cbe9f5 !important;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--success);
  border-radius: 13px;
  font-weight: 900;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.data-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.data-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.data-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  font-weight: 850;
}

.permission-list {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.permission-list > div {
  padding: 18px 20px;
  background: var(--surface);
}

.permission-list > div + div {
  border-top: 1px solid var(--line);
}

.permission-list p {
  margin: 4px 0 0;
}

.service-list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 16px 20px;
  background: var(--surface);
}

.service-list li + li {
  border-top: 1px solid var(--line);
}

.service-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-list a {
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-card {
  margin-top: 46px;
  padding: 30px !important;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--primary));
  border: 0 !important;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p,
.contact-card .section-number {
  color: white !important;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.contact-details span {
  font-weight: 750;
}

.contact-details a {
  color: #bfeeff;
  overflow-wrap: anywhere;
}

footer {
  color: #bac9d5;
  background: #071624;
}

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

.footer-brand {
  color: white;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-content p {
  margin: 0;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc strong {
    grid-column: 1 / -1;
  }
}

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

  .nav {
    min-height: 72px;
  }

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

  .contact-link {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .hero-content {
    padding-block: 58px 110px;
  }

  .policy-layout {
    padding-block: 44px 70px;
  }

  .toc,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-template-columns: 1fr;
    padding: 22px !important;
  }

  .service-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contact-card {
    padding: 24px !important;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }
}

@media print {
  .hero {
    color: black;
    background: white;
  }

  .nav,
  .wave,
  .toc,
  footer {
    display: none;
  }

  .hero-content {
    padding: 20px 0;
  }

  .hero-copy,
  .meta-row {
    color: #333;
  }

  .policy-layout {
    display: block;
    padding: 0;
  }

  .summary-card,
  .contact-card {
    color: black;
    background: white;
    box-shadow: none;
  }
}
