/* The privacy guide shares the landing site's typography, navigation and theme. */
.privacy-page main, .privacy-page .site-footer { max-width: 72rem; }
.privacy-page main { padding-top: 0; }
.privacy-intro { padding: clamp(3rem, 7vw, 6rem) 0 0; }
.privacy-intro .eyebrow { color: var(--accent); margin-bottom: 1.3rem; }
.privacy-intro h1 { font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1.03; max-width: 42rem; margin: 0 0 1.5rem; text-wrap: balance; }
.privacy-intro .updated { font-size: .78rem; margin: 0 0 1.2rem; }
.privacy-intro > p:last-of-type { max-width: 43rem; color: var(--lead); font-size: 1.15rem; line-height: 1.65; }
.privacy-intro > ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem; list-style: none; padding: 1.8rem 0; margin: 2.75rem 0 0; border-block: 1px solid var(--border); }
.privacy-intro > ul > li { margin: 0; color: var(--muted); font-size: .9rem; }
.privacy-intro > ul strong { display: block; color: var(--fg); font-weight: 600; font-size: 1rem; margin-bottom: .4rem; }
.privacy-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); margin-top: 3.5rem; align-items: start; }
.privacy-toc { position: sticky; top: 7.5rem; font-size: .82rem; }
.privacy-toc > p { color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .75rem; }
.privacy-toc a { display: flex; gap: .75rem; padding: .65rem 0; color: var(--muted); text-decoration: none; line-height: 1.4; }
.privacy-toc a > span { color: var(--accent); font-size: .7rem; padding-top: .1rem; font-variant-numeric: tabular-nums; }
.privacy-toc a:hover { color: var(--fg); text-decoration: underline; }
.privacy-toc .privacy-policy-link { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.privacy-section { padding: 0 0 3.25rem; margin-bottom: 3.25rem; border-bottom: 1px solid var(--border); }
.privacy-section:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 1rem; }
.privacy-section h2 { font-family: 'OpenContext Outfit', system-ui, sans-serif; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; margin: 0 0 1.15rem; text-wrap: balance; }
.privacy-section > p { color: var(--lead); }
.privacy-section > p strong { color: var(--fg); font-weight: 600; }
.privacy-section:first-child > p:last-of-type { padding: 1rem 1.25rem; background: var(--code-bg); border-left: 2px solid var(--accent); font-size: .9rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0; color: var(--lead); }
.privacy-section:first-child > ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; counter-reset: privacy-step; gap: 1rem; padding: 0; margin: 1.5rem 0; }
.privacy-section:first-child > ol > li { counter-increment: privacy-step; margin: 0; font-size: .82rem; line-height: 1.65; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--border); }
.privacy-section:first-child > ol > li::before { content: counter(privacy-step, decimal-leading-zero); display: block; color: var(--accent); font-size: .75rem; font-weight: 600; margin-bottom: .85rem; }
.privacy-section:first-child > ol strong { display: block; margin-bottom: .35rem; font-size: .93rem; color: var(--fg); font-weight: 600; }
.privacy-section table { font-size: .85rem; line-height: 1.6; }
.privacy-section th { font-weight: 600; color: var(--muted); background: none; font-size: .75rem; }
.privacy-section th, .privacy-section td { padding: .85rem .75rem .85rem 0; border: 0; border-bottom: 1px solid var(--border); }
.privacy-section td:first-child { font-weight: 500; color: var(--fg); width: 26%; }
.privacy-section td { color: var(--lead); }
.privacy-section .table-wrap { margin: 1.5rem 0; }
.privacy-table-mobile { display: none; }
.privacy-detail { border-top: 1px solid var(--border); scroll-margin-top: 8rem; }
.privacy-detail:last-child { border-bottom: 1px solid var(--border); }
.privacy-detail summary { position: relative; padding: 1.05rem 2rem 1.05rem 0; list-style: none; cursor: pointer; font-weight: 500; font-size: .95rem; color: var(--fg); }
.privacy-detail summary::-webkit-details-marker { display: none; }
.privacy-detail summary::after { content: '+'; position: absolute; right: .3rem; top: .9rem; color: var(--muted); font-size: 1.25rem; font-weight: 400; }
.privacy-detail[open] > summary::after { content: '\2212'; }
.privacy-detail summary:hover { color: var(--accent); }
.privacy-detail-body { padding: .1rem 0 1rem; color: var(--lead); font-size: .9rem; line-height: 1.75; }
.privacy-detail-body > :last-child { margin-bottom: 0; }
.privacy-page code { overflow-wrap: anywhere; }
.privacy-section a { overflow-wrap: anywhere; }
@media (max-width: 1120px) {
  .privacy-layout { grid-template-columns: 11.5rem minmax(0, 1fr); gap: 2rem; }
  .privacy-toc { top: 6rem; }
  .privacy-page h2, .privacy-detail { scroll-margin-top: 6rem; }
  .privacy-section:first-child > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .privacy-intro > ul { gap: 1.5rem; }
  .privacy-layout { display: block; margin-top: 2rem; }
  .privacy-toc { position: static; display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding-bottom: 1.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
  .privacy-toc > p { flex-basis: 100%; margin-bottom: .35rem; }
  .privacy-toc .privacy-policy-link { border: 0; margin: 0; padding: .65rem 0; }
  .privacy-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
}
@media (max-width: 520px) {
  .privacy-intro > ul { grid-template-columns: 1fr; gap: 1.35rem; margin-top: 2rem; }
  .privacy-intro > ul strong { margin-bottom: .15rem; }
  .privacy-section h2 { font-size: 1.85rem; }
  .privacy-table-desktop { display: none; }
  .privacy-table-mobile { display: block; margin: 1.5rem 0; }
  .privacy-table-mobile > div { padding: 1.25rem 0; border-top: 1px solid var(--border); }
  .privacy-table-mobile > div:last-child { border-bottom: 1px solid var(--border); }
  .privacy-table-mobile dt { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
  .privacy-table-mobile dd { margin: .65rem 0 0; font-size: .9rem; color: var(--lead); }
  .privacy-field-label { display: block; font-size: .7rem; color: var(--muted); margin-bottom: .2rem; }
}
@media print {
  .privacy-layout { display: block; }
  .privacy-toc { display: none; }
  .privacy-intro { padding-top: 0; }
  .privacy-detail::details-content { display: block; content-visibility: visible; }
}
