:root {
  color-scheme: light dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #202124;
  background: #f5f6fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 32px 16px;
  background: #f5f6fa;
  color: #202124;
}

a {
  color: #3448b8;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.policy {
  width: min(880px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e4ec;
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(32, 33, 36, 0.08);
}

.policy-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #333b8f, #176f72);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.84;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 2px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.subtitle {
  margin: 0;
  font-size: 1.25rem;
  opacity: 0.9;
}

.contact-card {
  display: grid;
  gap: 4px;
  font-style: normal;
  text-align: right;
}

.contact-card a {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

article {
  padding: 32px 40px 10px;
}

.updated {
  margin-bottom: 26px;
  color: #5f6368;
}

section {
  padding: 24px 0;
  border-top: 1px solid #e8eaf0;
}

section:first-of-type {
  margin-top: 28px;
}

h2 {
  margin-bottom: 12px;
  color: #252d78;
  font-size: 1.3rem;
  line-height: 1.25;
}

p,
li {
  color: #3f4248;
}

p {
  margin-bottom: 14px;
}

ul {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 8px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

footer {
  padding: 20px 40px 24px;
  color: #6c7078;
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid #e8eaf0;
}

@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .policy {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .policy-header {
    display: grid;
    padding: 28px 22px;
  }

  .contact-card {
    text-align: left;
  }

  article {
    padding: 26px 22px 8px;
  }

  footer {
    padding: 18px 22px 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root,
  body {
    background: #111318;
    color: #eef0f5;
  }

  .policy {
    background: #191c22;
    border-color: #2d313a;
    box-shadow: none;
  }

  .updated,
  footer {
    color: #aeb4bf;
  }

  h2 {
    color: #bcc4ff;
  }

  p,
  li {
    color: #d7d9df;
  }

  section,
  footer {
    border-color: #30343d;
  }

  a {
    color: #bcc4ff;
  }
}

@media print {
  body {
    padding: 0;
    background: #ffffff;
  }

  .policy {
    border: 0;
    box-shadow: none;
  }
}
