/* createahead v1 — Privacy page styles */

/* Decorative orbital background uses the shared orbital component. */
.privacy .orbital {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: 900px;
  z-index: -1;
}

/* Privacy content */
.privacy {
  position: relative;
  padding-top: 132px;
  padding-bottom: 120px;
  padding-inline: var(--page-x-mobile);
}

@media (min-width: 768px) {
  .privacy {
    padding-inline: var(--page-x-tablet);
  }
}

@media (min-width: 1024px) {
  .privacy {
    padding-inline: var(--page-x-desktop);
  }
}

.privacy__header {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 64px;
  text-align: center;
}

.privacy__heading {
  margin: 0 0 20px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.privacy__updated {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.privacy__date {
  color: var(--accent);
}

.privacy__intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.privacy__body {
  max-width: 700px;
  margin-inline: auto;
}

.privacy__section {
  border-bottom: 1px solid var(--line);
}

.privacy__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  list-style: none;
  cursor: default;
}

.privacy__summary::-webkit-details-marker {
  display: none;
}

.privacy__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
}

.privacy__title {
  flex: 1;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.privacy__chevron {
  display: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 200ms var(--ease);
}

.privacy__section[open] .privacy__chevron {
  transform: rotate(180deg);
}

.privacy__content {
  padding-bottom: 32px;
  padding-left: 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.privacy__content > *:first-child {
  margin-top: 0;
}

.privacy__content > *:last-child {
  margin-bottom: 0;
}

.privacy__content p {
  margin: 0 0 16px;
}

.privacy__content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.privacy__content li {
  margin-bottom: 8px;
}

.privacy__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 180ms var(--ease);
}

.privacy__content a:hover {
  color: var(--text);
}

/* Mobile accordion */
@media (max-width: 767px) {
  .privacy {
    padding-top: 108px;
    padding-bottom: 80px;
  }

  .privacy__heading {
    font-size: 2.25rem;
  }

  .privacy__header {
    margin-bottom: 40px;
  }

  .privacy__intro {
    font-size: 1rem;
  }

  .privacy__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .privacy__section {
    border-bottom: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.45);
    overflow: hidden;
  }

  .privacy__summary {
    padding: 20px;
    cursor: pointer;
  }

  .privacy__chevron {
    display: block;
  }

  .privacy__content {
    padding: 0 20px 20px 46px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .privacy__chevron {
    transition: none;
  }
}
