/* ============================================================
   CONNECTWHOLESALE — PRIVACY POLICY PAGE STYLING
   ============================================================ */

:root {
  --navy: #141b2d;
  --pink: #ff5805;
  --gold: #ff7d3b;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #141b2d;
  --muted: #6977a6;
  --border: rgba(12, 4, 7, 0.08);
  --border-strong: rgba(12, 4, 7, 0.14);
  --grid-size: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
}

.privacy-page-main {
  --page-grid-mouse-x: -9999px;
  --page-grid-mouse-y: -9999px;
  --page-grid-hover-active: 0;
  --page-grid-size: 36px;
  --page-grid-opacity: 0.02;
  --page-grid-hover-opacity: 0.12;
  --page-grid-hover-radius: 240px;
  position: relative;
  isolation: isolate;
  background-color: #ffffff;
  min-height: 100vh;
  color: #141b2d;
  background-image:
    linear-gradient(to right, rgba(12, 4, 7, var(--page-grid-opacity, 0.02)) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 4, 7, var(--page-grid-opacity, 0.02)) 1px, transparent 1px);
  background-size: var(--page-grid-size, 36px) var(--page-grid-size, 36px);
  background-position: center top;
  background-repeat: repeat;
  background-attachment: scroll;
}

.privacy-page-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(12, 4, 7, var(--page-grid-hover-opacity, 0.12)) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 4, 7, var(--page-grid-hover-opacity, 0.12)) 1px, transparent 1px);
  background-size: var(--page-grid-size, 36px) var(--page-grid-size, 36px);
  background-position: center top;
  background-repeat: repeat;
  opacity: var(--page-grid-hover-active, 0);
  mask-image: radial-gradient(circle var(--page-grid-hover-radius, 240px) at var(--page-grid-mouse-x, -9999px) var(--page-grid-mouse-y, -9999px), #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle var(--page-grid-hover-radius, 240px) at var(--page-grid-mouse-x, -9999px) var(--page-grid-mouse-y, -9999px), #000 0%, transparent 100%);
  transition: opacity 0.2s ease;
}

.privacy-page-main > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   01 CENTERED MINIMALIST HERO (NO IMAGES, NO ANGLED CARDS)
   ============================================================ */
.policy-hero {
  margin-top: -98px;
  padding: 136px 0 54px;
  position: relative;
  text-align: center;
  background-color: rgba(250, 249, 246, 0.6);
  border-bottom: 1px solid var(--border);
}

.policy-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.policy-hero .eyebrow {
  margin: 0 auto 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.policy-hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 700;
}
.policy-hero h1 .accent {
  color: var(--pink);
}

.policy-hero__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #4b556b;
  margin: 0 auto;
  max-width: 640px;
}

/* ============================================================
   02 EDITORIAL POLICY CONTENT (NO CARDS)
   ============================================================ */
.policy-body-section {
  padding: 60px 0 100px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* Quick Navigation Index Sticky List */
.policy-index-sidebar {
  position: sticky;
  top: 90px;
  padding: 24px;
  border-radius: 16px;
  background: #faf9f6;
  border: 1px solid rgba(12, 4, 7, 0.08);
}
.policy-index-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #141b2d;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(12, 4, 7, 0.08);
}
.policy-index-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.policy-index-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4b556b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.policy-index-nav a:hover {
  background: rgba(255, 88, 5, 0.08);
  color: #ff5805;
  padding-left: 14px;
}
.policy-index-nav a span {
  font-size: 11px;
  font-weight: 700;
  color: #8f97aa;
}

/* Linear Clean Document Flow (No Cards) */
.policy-document {
  max-width: 900px;
}

.policy-section {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(12, 4, 7, 0.08);
  scroll-margin-top: 100px;
}
.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-section__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.policy-section__num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ff5805;
  letter-spacing: -0.02em;
}
.policy-section__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #141b2d;
  margin: 0;
}

.policy-document p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #3e4759;
  margin: 0 0 16px;
}
.policy-document p:last-child {
  margin-bottom: 0;
}

.policy-document h3 {
  font-size: 17px;
  font-weight: 700;
  color: #141b2d;
  margin: 24px 0 12px;
}

.policy-list {
  padding-left: 20px;
  margin: 0 0 20px;
}
.policy-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #3e4759;
  margin-bottom: 10px;
}
.policy-list li strong {
  color: #141b2d;
}

/* Clean Document Tables */
.policy-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid rgba(12, 4, 7, 0.1);
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}
.policy-table th {
  background: #141b2d;
  color: #ffffff;
  padding: 13px 18px;
  font-weight: 600;
}
.policy-table td {
  padding: 14px 18px;
  border-top: 1px solid rgba(12, 4, 7, 0.08);
  color: #3e4759;
  line-height: 1.6;
}
.policy-table tr:nth-child(even) td {
  background: #fbfaf8;
}

/* Callouts with highlighted orange border and warm background */
.policy-callout {
  background: #fdf9f6;
  border: 1px solid rgba(12, 4, 7, 0.05);
  border-left: 4px solid #ff5805;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.policy-callout h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ff5805;
  margin: 0 0 6px;
}
.policy-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: #3e4759;
  margin: 0;
}

/* Rights Grid (highlighted orange left-border cards) */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.rights-item {
  background: #fdf9f6;
  border: 1px solid rgba(12, 4, 7, 0.05);
  border-left: 4px solid #ff5805;
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
}
.rights-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ff5805;
  margin: 0 0 6px;
}
.rights-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #3e4759;
  margin: 0;
}

/* Contact box matching highlight card design */
.policy-contact-banner {
  background: #fdf9f6;
  border: 1px solid rgba(12, 4, 7, 0.05);
  border-left: 4px solid #ff5805;
  border-radius: 0 14px 14px 0;
  padding: 26px 30px;
  color: #141b2d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.policy-contact-banner h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ff5805;
}
.policy-contact-banner p {
  font-size: 14.5px;
  color: #3e4759;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .policy-meta-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .policy-index-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .policy-hero {
    padding-top: 110px;
  }
  .policy-meta-row {
    grid-template-columns: 1fr;
  }
  .rights-grid {
    grid-template-columns: 1fr;
  }
  .policy-contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   SHARED BUTTON STYLING & LABEL-SWAP ANIMATION
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-pink,
.btn-hero-pink {
  background: #ff5805;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(255, 88, 5, .28);
}
.btn-pink:hover,
.btn-hero-pink:hover {
  background: #ff5805;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(255, 88, 5, .38);
}
.btn-label-swap {
  display: grid;
  overflow: hidden;
  white-space: nowrap;
  perspective: 240px;
  transform-style: preserve-3d;
}
.btn-label-swap > span,
.btn-label-swap::after {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.btn-label-swap > span {
  transform: translateY(0) rotateX(0deg);
  transform-origin: center bottom;
}
.btn-label-swap::after {
  content: attr(data-label);
  opacity: 0;
  transform: translateY(110%) rotateX(-90deg);
  transform-origin: center top;
}
.btn:hover .btn-label-swap > span,
.btn:focus-visible .btn-label-swap > span {
  opacity: 0;
  transform: translateY(-110%) rotateX(90deg);
}
.btn:hover .btn-label-swap::after,
.btn:focus-visible .btn-label-swap::after {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}
.btn-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(5px);
}
