.privacy-page {
  color: #17243b;
  background: #f3f6fb;
}

.privacy-page .site-header {
  background: rgba(3, 16, 37, 0.92);
}

.policy-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
}

.policy-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2d8fff, #7a5cff);
  transition: width 0.08s linear;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 88px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(122, 76, 255, 0.22), transparent 27%),
    radial-gradient(circle at 18% 78%, rgba(41, 132, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #041026, #0a1f42);
}

.policy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.policy-orb {
  position: absolute;
  border: 1px solid rgba(111, 170, 255, 0.14);
  border-radius: 50%;
}

.policy-orb-one {
  width: 430px;
  height: 430px;
  right: -120px;
  top: -190px;
}

.policy-orb-two {
  width: 250px;
  height: 250px;
  right: 9%;
  bottom: -170px;
  border-style: dashed;
}

.policy-hero-inner {
  position: relative;
  z-index: 2;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 44px;
  color: rgba(224, 235, 251, 0.62);
  font-size: 12px;
  font-weight: 680;
  transition: color 0.2s ease, transform 0.2s ease;
}

.policy-back:hover,
.policy-back:focus-visible {
  color: #fff;
  transform: translateX(-3px);
}

.policy-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #8db9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.policy-label span {
  width: 7px;
  height: 7px;
  background: #63dfb7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(99, 223, 183, 0.1);
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.policy-hero h1 + p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(224, 235, 251, 0.68);
  font-size: 17px;
}

.policy-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.policy-meta-row > span {
  min-width: 188px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.policy-meta-row small,
.policy-meta-row b {
  display: block;
}

.policy-meta-row small {
  color: rgba(222, 234, 252, 0.48);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-meta-row b {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
}

.policy-workspace {
  padding: 72px 0 100px;
  background:
    radial-gradient(circle at 90% 10%, rgba(91, 129, 214, 0.06), transparent 24%),
    #f3f6fb;
}

.policy-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
}

.policy-sidebar {
  position: sticky;
  top: 104px;
}

.policy-sidebar-inner {
  max-height: calc(100vh - 126px);
  padding: 22px 0;
  overflow: auto;
  scrollbar-width: thin;
}

.sidebar-title {
  margin: 0 0 16px;
  color: #8794a8;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#policy-toc {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 14px;
}

#policy-toc::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #d4ddea;
}

#policy-toc a {
  position: relative;
  display: block;
  padding: 7px 9px;
  color: #6b788b;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 640;
  line-height: 1.35;
  transition: color 0.18s ease, background 0.18s ease;
}

#policy-toc a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 2px;
  height: 0;
  background: #3779f6;
  transform: translateY(-50%);
  transition: height 0.18s ease;
}

#policy-toc a:hover,
#policy-toc a:focus-visible,
#policy-toc a.is-active {
  color: #245fc9;
  background: rgba(43, 110, 241, 0.06);
}

#policy-toc a.is-active::before {
  height: 70%;
}

.sidebar-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 11px;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(31, 58, 105, 0.05);
}

.sidebar-contact > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  color: #fff;
  background: linear-gradient(135deg, #3d8eff, #6e5ae9);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-contact small,
.sidebar-contact b {
  display: block;
}

.sidebar-contact small {
  color: #8c99aa;
  font-size: 7px;
  font-weight: 770;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sidebar-contact b {
  margin-top: 2px;
  font-size: 9px;
}

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

.policy-tools {
  position: sticky;
  top: 84px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(27, 56, 105, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.policy-search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: #f3f6fb;
  border: 1px solid #e0e7f1;
  border-radius: 12px;
}

.policy-search svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #7d8ba1;
}

.policy-search input {
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 0;
  color: #1c2d48;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.policy-search:focus-within {
  background: #fff;
  border-color: #91b5ef;
  box-shadow: 0 0 0 3px rgba(50, 116, 244, 0.08);
}

.search-status {
  flex: 0 0 auto;
  min-width: 52px;
  color: #7e8b9d;
  font-size: 9px;
  text-align: center;
}

.policy-tool-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 12px;
  color: #506179;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.policy-tool-button svg {
  width: 16px;
  height: 16px;
}

.policy-tool-button:hover,
.policy-tool-button:focus-visible {
  color: #245fc9;
  background: #f7faff;
  border-color: #abc5ec;
}

.policy-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(27, 54, 99, 0.08);
}

.policy-body {
  padding: clamp(32px, 6vw, 74px);
  color: #2e3b4f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.82;
}

.policy-body > p:first-child {
  margin: 0 0 8px;
  color: #6e7b8e;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-body > p:nth-child(2) {
  margin: 0 0 26px;
  color: #14243f;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.policy-body > p:nth-child(3) {
  padding: 20px 22px;
  margin: 0 0 34px;
  color: #54647b;
  background: #f4f7fc;
  border: 1px solid #e0e7f1;
  border-radius: 16px;
  line-height: 1.7;
}

.policy-body p {
  margin: 0 0 18px;
}

.policy-body strong {
  color: #172640;
  font-weight: 760;
}

.policy-body a {
  color: #245fc9;
  text-decoration: underline;
  text-decoration-color: rgba(36, 95, 201, 0.25);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.policy-body a:hover,
.policy-body a:focus-visible {
  text-decoration-color: currentColor;
}

.policy-body ol,
.policy-body ul {
  margin: 0 0 20px;
  padding-left: 25px;
}

.policy-body li {
  padding-left: 7px;
  margin: 7px 0;
}

.policy-body code {
  padding: 2px 5px;
  overflow-wrap: anywhere;
  color: #203968;
  background: #eef3fa;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.policy-section-heading,
.policy-subheading {
  scroll-margin-top: 150px;
}

.policy-section-heading {
  padding-top: 35px;
  margin-top: 42px !important;
  margin-bottom: 15px !important;
  color: #10213e;
  border-top: 1px solid #e0e7f1;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.policy-subheading {
  margin-top: 30px !important;
  margin-bottom: 12px !important;
  color: #192b49;
  font-size: 20px;
  font-weight: 780;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.policy-body > p:nth-child(-n+3).policy-section-heading,
.policy-body > p:nth-child(-n+3).policy-subheading {
  all: unset;
}

.policy-body mark {
  padding: 1px 2px;
  color: inherit;
  background: #fff0a9;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(214, 159, 0, 0.12);
}

.policy-return {
  display: block;
  width: fit-content;
  margin: 24px 8px 0 auto;
  color: #59708f;
  font-size: 11px;
  font-weight: 720;
}

.policy-return:hover,
.policy-return:focus-visible {
  color: #245fc9;
}

.policy-footer {
  padding-top: 0;
}

.policy-footer-bottom {
  margin-top: 0;
}

.policy-footer a:hover,
.policy-footer a:focus-visible {
  color: #83b4ff;
}

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

  .policy-sidebar {
    position: static;
    display: none;
  }
}

@media (max-width: 700px) {
  .policy-hero {
    padding: 122px 0 66px;
  }

  .policy-back {
    margin-bottom: 36px;
  }

  .policy-hero h1 {
    font-size: 52px;
  }

  .policy-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .policy-meta-row > span {
    min-width: 0;
  }

  .policy-meta-row > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .policy-workspace {
    padding-top: 28px;
  }

  .policy-tools {
    top: 74px;
    flex-wrap: wrap;
  }

  .policy-search {
    flex-basis: calc(100% - 62px);
  }

  .search-status {
    min-width: 42px;
  }

  .policy-tool-button {
    flex: 1 1 calc(50% - 5px);
  }

  .policy-card {
    border-radius: 19px;
  }

  .policy-body {
    padding: 30px 22px 40px;
    font-size: 14px;
    line-height: 1.78;
  }

  .policy-body > p:nth-child(2) {
    font-size: 34px;
  }

  .policy-body > p:nth-child(3) {
    padding: 16px;
    font-size: 12px;
  }

  .policy-section-heading {
    font-size: 24px;
  }

  .policy-subheading {
    font-size: 18px;
  }
}

@media print {
  .site-header,
  .policy-progress,
  .policy-hero,
  .policy-sidebar,
  .policy-tools,
  .policy-return,
  .policy-footer {
    display: none !important;
  }

  .privacy-page,
  .policy-workspace {
    background: #fff;
  }

  .policy-workspace {
    padding: 0;
  }

  .policy-layout,
  .content-width {
    display: block;
    width: 100%;
    max-width: none;
  }

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

  .policy-body {
    padding: 0;
    color: #000;
    font-size: 10.5pt;
  }

  .policy-section-heading,
  .policy-subheading {
    break-after: avoid;
  }

  .policy-body a {
    color: #000;
    text-decoration: none;
  }
}
