* {
  box-sizing: border-box;
}

:root {
  --policy-bg: #03050b;
  --policy-panel: rgba(7, 10, 20, 0.7);
  --policy-border: rgba(255, 255, 255, 0.14);
  --policy-border-soft: rgba(255, 255, 255, 0.09);
  --policy-text: #ffffff;
  --policy-muted: rgba(255, 255, 255, 0.74);
  --policy-blue: #43a3ff;
  --policy-pink: #ff149d;
}

@font-face {
  font-family: kamerik-3d;
  src: url(../fonts/kamerik205-heavy.woff2);
  font-weight: 900;
}

html {
  min-height: 100%;
  background: var(--policy-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--policy-text);
  background: var(--policy-bg);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.58) 0%, rgba(2, 4, 10, 0.72) 48%, rgba(2, 4, 10, 0.96) 100%),
    rgba(8, 12, 24, 0.18);
  backdrop-filter: blur(4px) saturate(118%);
}

.policy-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 112px 24px 56px;
}

.policy-hero,
.policy-document,
.policy-actions {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.policy-hero {
  margin-bottom: 24px;
}

.policy-hero-glass {
  padding: 44px;
  border: 1px solid var(--policy-border);
  border-radius: 18px;
  background: rgba(8, 12, 24, 0.58);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
}

.policy-kicker {
  margin: 0 0 10px;
  color: var(--policy-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--policy-blue);
  font-family: kamerik-3d, Arial, sans-serif;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.58);
}

.policy-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.55;
}

.policy-document {
  display: grid;
  gap: 16px;
}

.policy-section {
  padding: 26px;
  border: 1px solid var(--policy-border);
  border-radius: 16px;
  background: var(--policy-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px) saturate(135%);
}

.policy-section h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.policy-section p {
  margin: 0 0 12px;
  color: var(--policy-muted);
  font-size: 1rem;
  line-height: 1.72;
}

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

.policy-page a {
  color: var(--policy-blue);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.policy-page a:hover {
  color: var(--policy-pink);
}

.policy-note {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid rgba(67, 163, 255, 0.22);
  border-radius: 12px;
  background: rgba(67, 163, 255, 0.1);
}

.policy-note ol {
  margin: 10px 0 12px;
  padding-left: 22px;
  color: var(--policy-muted);
}

.policy-note li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.policy-appendix {
  border-color: rgba(67, 163, 255, 0.24);
  background: rgba(67, 163, 255, 0.1);
}

.policy-actions {
  display: flex;
  margin-top: 24px;
}

.policy-page .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(67, 163, 255, 0.28);
  border-radius: 12px;
  color: #fff;
  background: rgba(7, 10, 20, 0.68);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(130%);
  font-weight: 800;
  line-height: 1;
}

.policy-page .back-link:hover {
  color: #fff;
  border-color: rgba(67, 163, 255, 0.62);
  background: rgba(10, 16, 30, 0.78);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(67, 163, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .policy-page {
    padding: 92px 14px 38px;
  }

  .policy-hero-glass,
  .policy-section {
    padding: 22px;
    border-radius: 14px;
  }

  .policy-hero p:last-child {
    font-size: 1rem;
  }

  .policy-actions,
  .policy-page .back-link {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .policy-hero h1 {
    font-size: 2.5rem;
  }

  .policy-section h2 {
    font-size: 1.18rem;
  }
}
