/* ============================================================
   VOLUM TECHNOLOGIES — Policy Pages (Privacy Policy, Terms…)
   ============================================================ */

/* ── Page header ── */
.policy-header {
  padding: clamp(7rem, 14vw, 11rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,152,253,0.08) 0%, transparent 65%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.policy-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 1.25rem;
}
.policy-eyebrow::before,
.policy-eyebrow::after {
  content: ''; display: block;
  width: 28px; height: 1px;
  background: var(--primary); opacity: 0.4;
}

.policy-header h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 1rem;
}

.policy-meta {
  font-size: 0.8rem; font-weight: 300;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* ── Content layout ── */
.policy-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}

.policy-layout {
  display: flex; align-items: flex-start; gap: 4rem;
}

/* ── Sticky sidebar ── */
.policy-sidebar {
  flex: 0 0 210px;
  position: sticky; top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  /* hide scrollbar but keep scrolling */
  scrollbar-width: none;
}
.policy-sidebar::-webkit-scrollbar { display: none; }

.policy-toc-title {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1.1rem;
}

.policy-toc-nav {
  position: relative;
  display: flex; flex-direction: column;
  padding-left: 1rem;
}

/* vertical track line */
.policy-toc-nav::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.toc-link {
  position: relative;
  font-size: 0.78rem; font-weight: 300;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 0.38rem 0 0.38rem 0.75rem;
  transition: color 0.2s;
  line-height: 1.4;
}
.toc-link::before {
  content: '';
  position: absolute; left: -1px; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px; height: 70%;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0,152,253,0.7);
  transition: transform 0.25s ease, opacity 0.25s;
  opacity: 0;
}
.toc-link:hover { color: rgba(255,255,255,0.7); }
.toc-link.active {
  color: var(--white);
  font-weight: 400;
}
.toc-link.active::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

/* ── Main content column ── */
.policy-content { flex: 1; min-width: 0; }

/* ── Sections ── */
.policy-section {
  margin: 0;
  padding: 0 0 1.25rem;  /* override base.css section padding */
  scroll-margin-top: 100px;
}

/* fade-up reveal animation */
.policy-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.policy-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-section h2 {
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.25;
  margin: 0 0 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}

.policy-section h2::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(0,152,253,0.2), transparent);
}

.policy-section h3 {
  font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin: 1.1rem 0 0.4rem;
}

.policy-section p {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.52);
  line-height: 1.75; margin-bottom: 0.6rem;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.policy-section li {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
}

.policy-section strong {
  font-weight: 500; color: rgba(255,255,255,0.75);
}

.policy-section a {
  color: var(--primary); opacity: 0.85;
  text-decoration: none; transition: opacity 0.2s;
}
.policy-section a:hover { opacity: 1; }

/* ── Highlight box ── */
.policy-box {
  background: rgba(255,72,143,0.05);
  border: 1px solid rgba(255,72,143,0.12);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
}

.policy-box p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.6);
}

/* ── Rights grid ── */
.policy-rights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.policy-right-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
}

.policy-right-item strong {
  display: block; margin-bottom: 0.3rem;
  font-size: 0.82rem;
}

.policy-right-item span {
  font-size: 0.77rem; font-weight: 300;
  color: rgba(255,255,255,0.35); line-height: 1.5;
}

/* ── Contact card ── */
.policy-contact-card {
  background: rgba(0,152,253,0.05);
  border: 1px solid rgba(0,152,253,0.12);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-top: 1rem;
}

.policy-contact-card p { margin-bottom: 0; }

