:root {
  --navy: #1c2a4a;
  --navy-deep: #10213d;
  --yellow: #c4c400;
  --yellow-dark: #a8a800;
  --paper: #f4f6fa;
  --text: #34415b;
  --muted: #66718a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.policy-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(28, 42, 74, 0.08);
}

.policy-header-inner {
  width: min(1200px, 90%);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.policy-logo img {
  display: block;
  width: auto;
  height: 62px;
}

.policy-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.policy-header nav a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.policy-header nav a:hover,
.policy-header nav a:focus-visible {
  color: var(--yellow-dark);
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 5%;
  background:
    radial-gradient(circle at 90% 15%, rgba(196, 196, 0, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.policy-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(196, 196, 0, 0.2);
  border-radius: 50%;
}

.policy-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.policy-hero h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.policy-hero h1::after {
  content: '';
  display: block;
  width: min(360px, 70%);
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), rgba(196, 196, 0, 0.12));
}

.policy-hero p {
  max-width: 820px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.policy-content {
  width: min(1040px, 90%);
  margin: 64px auto;
  display: grid;
  gap: 28px;
}

.policy-section {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(28, 42, 74, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(28, 42, 74, 0.07);
}

.policy-section h2 {
  position: relative;
  margin: 0 0 30px;
  padding-left: 18px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.policy-section h2::before {
  content: '';
  position: absolute;
  top: 0.12em;
  bottom: 0.12em;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: var(--yellow);
}

.policy-section h3 {
  margin: 28px 0 12px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.4;
}

.policy-section h2 + h3,
.policy-section h2 + p {
  margin-top: 0;
}

.policy-section p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

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

.policy-section ul {
  margin: 0 0 20px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}

.policy-section li {
  padding-left: 4px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.policy-section li::marker {
  color: var(--yellow-dark);
}

.policy-section a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: var(--yellow-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.policy-section a:hover,
.policy-section a:focus-visible {
  color: var(--yellow-dark);
}

.policy-subsection {
  padding-top: 20px;
  border-top: 1px solid rgba(28, 42, 74, 0.1);
  font-size: 1.25rem !important;
}

.policy-figure {
  margin: 38px auto 4px;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid rgba(28, 42, 74, 0.1);
  border-radius: 16px;
  background: #fbfaf6;
}

.policy-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.policy-figure--cookies {
  max-width: 650px;
  background: var(--navy-deep);
}

.policy-footer {
  padding: 30px 5%;
  border-top: 1px solid rgba(196, 196, 0, 0.2);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.policy-footer p {
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .policy-header-inner {
    min-height: 78px;
  }

  .policy-logo img {
    height: 52px;
  }

  .policy-header nav {
    gap: 14px;
  }

  .policy-header nav a {
    font-size: 0.82rem;
  }

  .policy-hero {
    padding: 62px 5%;
  }

  .policy-content {
    width: min(94%, 1040px);
    margin: 36px auto;
    gap: 20px;
  }

  .policy-section {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .policy-header-inner {
    min-height: 72px;
    gap: 14px;
  }

  .policy-logo img {
    height: 44px;
  }

  .policy-header nav {
    gap: 9px;
  }

  .policy-header nav a {
    font-size: 0.72rem;
  }

  .policy-section {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
