/* ========================================
   Privacy Policy Page
   ======================================== */

.privacy-hero {
  padding: 120px 0 40px;
  text-align: center;
  background: var(--ice);
}

.privacy-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 8px;
}

.privacy-hero__subtitle {
  font-size: 14px;
  color: #606060;
}

/* Body layout */
.privacy-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sidebar */
.privacy-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.privacy-nav-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 16px;
}

.privacy-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.privacy-nav-list a {
  display: block;
  font-size: 13px;
  color: #606060;
  padding: 6px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1.4;
}

.privacy-nav-list a:hover {
  color: var(--graphite);
  background: var(--ice);
}

.privacy-nav-list a.active {
  color: var(--brand);
  border-left-color: var(--brand);
  background: rgba(255, 125, 85, .06);
  font-weight: 600;
}

/* Content */
.privacy-content {
  padding-bottom: 80px;
}

.privacy-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.privacy-section h2 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 16px;
}

.privacy-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 12px;
}

.privacy-section ul {
  list-style: disc;
  margin: 8px 0 16px 24px;
}

.privacy-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 4px;
}

.privacy-section a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-section a:hover {
  color: var(--brand-hover);
}

/* Tables */
.privacy-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.privacy-table th {
  background: var(--graphite);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}

.privacy-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ice);
  vertical-align: top;
}

.privacy-table tr:hover td {
  background: var(--ice);
}

.privacy-note {
  font-size: 13px;
  color: #606060;
  font-style: italic;
  margin: 8px 0 16px;
  padding-left: 12px;
  border-left: 2px solid var(--ice-alt);
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .privacy-sidebar {
    position: static;
    max-height: none;
    padding: 24px 0;
    border-bottom: 1px solid var(--ice);
    margin-bottom: 32px;
  }

  .privacy-nav-list a {
    padding: 8px 12px;
  }
}
