/* Privacy Policy page styles */

#privacy-policy-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.privacy-policy {
  width: 100%;
}

/* Shared section container */
.privacy-section {
  padding-block: var(--space-large-section);
}

.privacy-section--cream {
  background-color: var(--color-cream);
}

.privacy-section--sage {
  background-color: var(--color-sage);
}

.privacy-section__container {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Introduction hero */
.privacy-intro {
  padding-block: var(--space-hero);
  background-color: var(--color-cream);
}

.privacy-intro__container {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.privacy-intro__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-tight);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-graphite);
  background-color: var(--color-peach);
  padding: var(--space-micro) var(--space-base);
  border-radius: var(--radius-small);
}

.privacy-intro__heading {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-bottom: var(--space-comfortable);
  position: relative;
  padding-bottom: var(--space-base);
}

.privacy-intro__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background-color: var(--color-peach);
  border-radius: 999px;
}

.privacy-intro__lead {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-bottom: var(--space-base);
  max-width: 65ch;
}

.privacy-intro__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-bottom: 0;
  max-width: 65ch;
}

/* Section headings */
.privacy-section__heading {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin-bottom: var(--space-comfortable);
  position: relative;
  padding-bottom: var(--space-tight);
}

.privacy-section__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background-color: var(--color-peach);
  border-radius: 999px;
}

/* Cards */
.privacy-card {
  background-color: var(--color-sage);
  border-radius: var(--radius-extra-large);
  box-shadow: var(--shadow-soft);
  padding: var(--space-roomy);
}

.privacy-card--sage {
  background-color: var(--color-sage);
}

.privacy-card__title,
.privacy-callout__title,
.privacy-text-block__title,
.privacy-contact-card__title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  margin-bottom: var(--space-base);
}

.privacy-card__text,
.privacy-callout__text,
.privacy-text-block__text,
.privacy-contact-card__text {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-bottom: var(--space-base);
  max-width: 65ch;
}

.privacy-card__list,
.privacy-callout__list,
.privacy-text-block__list,
.privacy-contact-card__list {
  margin-bottom: var(--space-base);
  padding-left: var(--space-comfortable);
  list-style-type: disc;
}

.privacy-card__list li,
.privacy-callout__list li,
.privacy-text-block__list li,
.privacy-contact-card__list li {
  margin-bottom: var(--space-tight);
  line-height: var(--leading-body);
  max-width: 65ch;
}

.privacy-card__note {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-graphite);
  opacity: 0.85;
  margin-bottom: 0;
  max-width: 65ch;
}

/* Callout */
.privacy-callout {
  background-color: var(--color-mist);
  border-radius: var(--radius-extra-large);
  box-shadow: var(--shadow-soft);
  padding: var(--space-roomy);
}

/* Text block */
.privacy-text-block {
  max-width: 65ch;
}

.privacy-highlight {
  text-decoration: underline;
  text-decoration-color: var(--color-peach);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  font-weight: var(--weight-medium);
}

/* Numbered list with peach numbers */
.privacy-numbered-list {
  list-style: none;
  counter-reset: privacy-counter;
  padding-left: 0;
  margin-bottom: 0;
}

.privacy-numbered-list li {
  counter-increment: privacy-counter;
  position: relative;
  padding-left: var(--space-roomy);
  margin-bottom: var(--space-base);
  line-height: var(--leading-body);
  max-width: 65ch;
}

.privacy-numbered-list li::before {
  content: counter(privacy-counter);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-peach);
  color: var(--color-graphite);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-caption);
  line-height: 1;
  border-radius: 50%;
}

.privacy-numbered-list li:last-child {
  margin-bottom: 0;
}

/* Link */
.privacy-link {
  color: var(--color-graphite);
  text-decoration: underline;
  text-decoration-color: var(--color-peach);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.privacy-link:hover {
  color: var(--color-graphite);
  text-decoration-color: var(--color-peach-deep);
}

/* Date highlight */
.privacy-date-highlight {
  background-color: var(--color-peach);
  padding: var(--space-micro) var(--space-tight);
  border-radius: var(--radius-small);
  font-weight: var(--weight-bold);
}

/* Contact card */
.privacy-contact-card {
  background-color: var(--color-mist);
  border-radius: var(--radius-extra-large);
  box-shadow: var(--shadow-soft);
  padding: var(--space-roomy);
}

.privacy-contact-card__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.privacy-contact-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-tight);
  margin-bottom: var(--space-base);
  line-height: var(--leading-body);
  max-width: 65ch;
}

.privacy-contact-card__list li:last-child {
  margin-bottom: 0;
}

.privacy-contact-card__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.privacy-contact-card__list a {
  color: var(--color-graphite);
  text-decoration: underline;
  text-decoration-color: var(--color-peach);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.privacy-contact-card__list a:hover {
  color: var(--color-graphite);
  text-decoration-color: var(--color-peach-deep);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .privacy-section {
    padding-block: var(--space-section);
  }

  .privacy-intro {
    padding-block: var(--space-section);
  }

  .privacy-intro__heading {
    font-size: var(--text-h1);
  }

  .privacy-card,
  .privacy-callout,
  .privacy-contact-card {
    padding: var(--space-comfortable);
  }

  .privacy-numbered-list li {
    padding-left: var(--space-roomy);
  }
}

@media (max-width: 480px) {
  .privacy-intro__heading {
    font-size: 1.75rem;
  }

  .privacy-section__heading {
    font-size: 1.4rem;
  }

  .privacy-card,
  .privacy-callout,
  .privacy-contact-card {
    padding: var(--space-base);
  }
}
