:root {
  --editorial-ivory: #f7f4ef;
  --editorial-paper: #fffdfa;
  --editorial-stone: #e9e4de;
  --editorial-mauve: #e8dfe5;
  --editorial-plum: #65465c;
  --editorial-aubergine: #3f2e3b;
  --editorial-charcoal: #342f31;
  --editorial-muted: #756d70;
  --editorial-line: rgba(63, 46, 59, .17);
  --editorial-font: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

body {
  max-width: 100%;
  overflow-x: clip;
  color: var(--editorial-charcoal);
  background: var(--editorial-ivory);
  font-family: var(--editorial-font);
}

.content-page *,
.legal-page *,
.site-header.privacy-header * {
  min-width: 0;
}

.content-page p,
.content-page li,
.content-page h1,
.content-page h2,
.content-page h3,
.content-page a,
.legal-page p,
.legal-page li,
.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page a,
.legal-page td,
.legal-page th {
  overflow-wrap: anywhere;
}

.site-header.privacy-header {
  min-height: 5.5rem;
  padding: .25rem max(5vw, calc((100vw - 86rem) / 2));
  background: rgba(247, 244, 239, .96);
  border-bottom: 1px solid var(--editorial-line);
  backdrop-filter: blur(14px);
}

.pine-wordmark {
  width: 13rem;
  height: 4.8rem;
  background: url("assets/images/aida-bd-open-circle-wordmark.svg") left center / contain no-repeat;
}

.pine-wordmark .brand-logo-image {
  opacity: 0;
}

.privacy-home-link {
  color: var(--editorial-plum);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}

.content-page,
.legal-page {
  width: min(100%, 86rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 5vw;
}

.content-hero,
.legal-intro {
  max-width: 58rem;
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  padding: 0;
  background: transparent;
}

.content-hero h1,
.legal-intro h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--editorial-aubergine);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 420;
  letter-spacing: -.05em;
  line-height: 1;
  text-wrap: balance;
}

.eyebrow {
  color: var(--editorial-plum);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.content-lead,
.legal-intro > p:not(.eyebrow):not(.legal-status) {
  max-width: 45rem;
  color: var(--editorial-muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .32fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.content-body,
.legal-content,
.full-testimonials {
  color: var(--editorial-charcoal);
}

.content-body h2,
.legal-content h2,
.content-cta h2,
.content-sidebar h2 {
  color: var(--editorial-aubergine);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.content-body h2,
.legal-content h2 {
  margin-top: 2.8rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--editorial-line);
}

.content-body a,
.legal-content a,
.related-links a {
  color: var(--editorial-plum);
  text-underline-offset: .25em;
}

.content-sidebar,
.content-cta,
.legal-status {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--editorial-charcoal);
  background: var(--editorial-mauve);
  border: 0;
}

.content-sidebar {
  position: sticky;
  top: 7rem;
}

.button,
.question-form button {
  color: white;
  background: var(--editorial-plum);
  border-color: var(--editorial-plum);
  border-radius: .2rem;
}

.full-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.full-testimonials figure {
  margin: 0;
  padding: 2rem;
  background: transparent;
  border: 0;
}

.full-testimonials figure + figure {
  border-left: 1px solid var(--editorial-line);
}

.full-testimonials blockquote {
  color: var(--editorial-aubergine);
}

.question-form,
.legal-content section {
  background: var(--editorial-paper);
  border-color: var(--editorial-line);
}

.question-form input,
.question-form textarea,
.question-form select {
  border-color: rgba(63, 46, 59, .3);
  border-radius: .15rem;
}

.site-footer.legal-footer {
  color: var(--editorial-charcoal);
  background: var(--editorial-paper);
  border-top: 1px solid var(--editorial-line);
}

.site-footer.legal-footer a {
  color: var(--editorial-plum);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(101, 70, 92, .35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-header.privacy-header { min-height: 4.8rem; padding-inline: 1rem; }
  .pine-wordmark { width: min(10rem, 52vw); height: 4rem; }
  .privacy-home-link { font-size: .78rem; text-align: right; }
  .content-page, .legal-page { padding-inline: 1.2rem; }
  .content-layout, .full-testimonials { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .full-testimonials figure { padding: 2rem 0; }
  .full-testimonials figure + figure { border-top: 1px solid var(--editorial-line); border-left: 0; }
  .legal-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .question-form input, .question-form textarea, .question-form select { max-width: 100%; }
}

@media (max-width: 420px) {
  .site-header.privacy-header { gap: .6rem; }
  .pine-wordmark { width: min(8.8rem, 48vw); }
  .privacy-home-link { max-width: 42vw; }
  .content-page, .legal-page { padding-inline: 1rem; }
  .content-hero h1, .legal-intro h1 { max-width: none; font-size: clamp(2.2rem, 11vw, 2.8rem); letter-spacing: -.035em; }
  .content-sidebar, .content-cta, .legal-status { padding: 1.2rem; }
  .content-cta .button, .content-sidebar .button, .question-form button { width: 100%; text-align: center; }
  .legal-content th, .legal-content td { min-width: 8.5rem; padding: .65rem; }
}

@media (max-width: 340px) {
  .pine-wordmark { width: 7.8rem; }
  .privacy-home-link { font-size: .72rem; }
  .content-hero h1, .legal-intro h1 { font-size: 2.05rem; }
}
