.legal-policy-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(214, 186, 135, 0.2), transparent 25%),
    radial-gradient(circle at 88% 10%, rgba(121, 149, 171, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f4eb 0%, #fbf8f2 48%, #f1e9de 100%);
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) 0 clamp(72px, 8vw, 112px);
  position: relative;
}

.legal-policy-page::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.35), transparent 82%);
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
}

.legal-policy-page > * {
  position: relative;
  z-index: 1;
}

.policy-page-orb {
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
}

.policy-page-orb-left {
  background: radial-gradient(circle, rgba(214, 186, 135, 0.3) 0%, rgba(214, 186, 135, 0.06) 56%, transparent 72%);
  height: 24rem;
  left: -10rem;
  top: 4rem;
  width: 24rem;
}

.policy-page-orb-right {
  background: radial-gradient(circle, rgba(131, 158, 181, 0.28) 0%, rgba(131, 158, 181, 0.06) 54%, transparent 72%);
  height: 22rem;
  right: -8rem;
  top: 12rem;
  width: 22rem;
}

.policy-hero-shell {
  background:
    radial-gradient(circle at top right, rgba(214, 186, 135, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(14, 30, 49, 0.98) 0%, rgba(22, 47, 74, 0.96) 52%, rgba(37, 77, 108, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  box-shadow:
    0 22px 46px rgba(11, 22, 36, 0.12),
    0 34px 88px rgba(11, 22, 36, 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  position: relative;
}

.policy-hero-shell::after {
  background: linear-gradient(120deg, transparent 16%, rgba(255, 255, 255, 0.08) 48%, transparent 78%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(24%);
}

.policy-kicker,
.policy-sidebar-kicker,
.policy-card-label {
  color: rgba(240, 227, 205, 0.88);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.policy-sidebar-kicker,
.policy-card-label {
  color: #8d6c3f;
  margin-bottom: 0.9rem;
}

.policy-hero-title {
  color: #f7f0e3;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
  max-width: 12ch;
}

.policy-hero-copy p {
  color: rgba(246, 239, 228, 0.82);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0;
  max-width: 62ch;
}

.policy-meta-row,
.policy-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.policy-meta-row {
  margin: 1.4rem 0 1.25rem;
}

.policy-meta-pill,
.policy-chip-row span {
  border-radius: 999px;
  display: inline-flex;
  line-height: 1;
}

.policy-meta-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(246, 239, 228, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.policy-chip-row {
  margin-top: 1.45rem;
}

.policy-chip-row span {
  background: rgba(250, 242, 229, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 240, 229, 0.86);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.05rem;
}

.policy-hero-aside {
  align-self: stretch;
  display: grid;
  gap: 16px;
}

.policy-hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  min-height: 100%;
  padding: 22px 22px 20px;
}

.policy-card-link {
  color: #f8e7be;
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.policy-card-link:hover,
.policy-card-link:focus {
  color: #fff4d7;
  text-decoration: none;
}

.policy-hero-card p {
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.75;
  margin: 0;
}

.policy-contact-list {
  display: grid;
  gap: 12px;
}

.policy-contact-list a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #f6ecdd;
  display: flex;
  gap: 12px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  transition:
    background 0.24s ease,
    transform 0.24s ease;
}

.policy-contact-list a:hover,
.policy-contact-list a:focus {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transform: translateY(-2px);
}

.policy-content-section {
  margin-top: clamp(28px, 4vw, 48px);
}

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

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

.policy-sidebar-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 26px;
  box-shadow:
    0 18px 42px rgba(11, 22, 36, 0.08),
    0 8px 20px rgba(11, 22, 36, 0.04);
  margin-bottom: 18px;
  padding: 22px;
}

.policy-sidebar-nav {
  display: grid;
  gap: 10px;
}

.policy-sidebar-nav a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 16px;
  color: #16314a;
  display: flex;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.45;
  padding: 0.95rem 1rem;
  text-decoration: none;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.policy-sidebar-nav a::after {
  color: #8d6c3f;
  content: "\2192";
  flex: 0 0 auto;
  margin-left: 12px;
}

.policy-sidebar-nav a:hover,
.policy-sidebar-nav a:focus {
  border-color: rgba(141, 108, 63, 0.28);
  box-shadow: 0 12px 26px rgba(11, 22, 36, 0.08);
  text-decoration: none;
  transform: translateY(-2px);
}

.policy-sidebar-note p {
  color: #52667a;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.policy-sidebar-note .wprt-button {
  display: inline-flex;
}

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

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

.policy-document .tc-title {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  padding: 0.95rem 1.25rem;
}

.policy-document .tc-title h5 {
  color: #17324b;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.policy-document .body_privacy {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 28px;
  box-shadow:
    0 20px 44px rgba(11, 22, 36, 0.08),
    0 8px 24px rgba(11, 22, 36, 0.04);
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
}

.policy-document .body_privacy::before {
  background: linear-gradient(90deg, rgba(214, 186, 135, 0.92) 0%, rgba(122, 151, 180, 0.76) 100%);
  content: "";
  height: 3px;
  inset: 0 auto auto 0;
  position: absolute;
  width: 100%;
}

.policy-document [id] {
  scroll-margin-top: 132px;
}

.policy-document .body_privacy h1,
.policy-document .body_privacy h2,
.policy-document .body_privacy h3 {
  color: #10253b;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.03em;
  margin-top: 0;
}

.policy-document .body_privacy h1 {
  font-size: clamp(1.45rem, 2vw, 1.92rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.policy-document .body_privacy h2 {
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.9rem;
  margin-top: 1.35rem;
}

.policy-document .body_privacy h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  margin-top: 1.2rem;
}

.policy-document .body_privacy p,
.policy-document .body_privacy li,
.policy-document .body_privacy h6 {
  color: #4c6073;
  font-size: 1rem;
  line-height: 1.85;
}

.policy-document .body_privacy p:last-child,
.policy-document .body_privacy h6:last-child {
  margin-bottom: 0;
}

.policy-document .body_privacy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 1rem 0 0;
  padding-left: 0;
}

.policy-document .body_privacy li {
  background: linear-gradient(180deg, rgba(247, 243, 235, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(17, 38, 59, 0.08);
  border-radius: 18px;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 1.05rem;
}

.policy-document .body_privacy a {
  color: #1b5976;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

.policy-document .body_privacy a:hover,
.policy-document .body_privacy a:focus {
  color: #163f58;
}

.policy-document .body_privacy span,
.policy-document .body_privacy strong,
.policy-document .body_privacy b {
  color: #18314a;
}

.policy-document .body_privacy h6 {
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 1199.98px) {
  .policy-layout {
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  }
}

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

  .policy-sidebar {
    position: static;
  }

  .policy-hero-title {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .legal-policy-page {
    padding-bottom: 72px;
  }

  .policy-hero-shell {
    border-radius: 26px;
    padding: 24px 20px;
  }

  .policy-hero-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .policy-sidebar-card,
  .policy-document .body_privacy {
    border-radius: 22px;
    padding: 20px 18px;
  }

  .policy-sidebar-nav a,
  .policy-contact-list a {
    padding: 0.88rem 0.9rem;
  }
}
