/* Privacy policy page: simple, readable, in Only Audit's colours.
   Every rule is scoped so the WordPress theme's global styles stay out. */
#onlyaudit-privacy, #onlyaudit-privacy * { box-sizing: border-box; }
#onlyaudit-privacy { display: block; font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.5; color: #1c2b35; background: #fff; }
#onlyaudit-privacy a::before, #onlyaudit-privacy a::after { content: none !important; display: none !important; }

/* The theme's page wrappers hide overflow, which stops the contents list
   following the page as it scrolls. Clip sideways only. Loads on this page only. */
#canvas, #box_wrapper { overflow: visible !important; overflow-x: clip !important; }

#onlyaudit-privacy .oa-pp-intro { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 20px clamp(32px, 4vw, 48px); box-shadow: 0 0 0 100vmax #f6f3ef; clip-path: inset(0 -100vmax); background: #f6f3ef; }
#onlyaudit-privacy h1 { margin: 0; font-family: inherit; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; text-transform: none; color: #1c2b35; }
#onlyaudit-privacy .oa-pp-lede { margin: 16px 0 0; font-size: 18px; line-height: 1.65; color: #4a5b66; max-width: 60ch; }
#onlyaudit-privacy .oa-pp-lede a { color: #e57a1f; font-weight: 600; text-decoration: none; }

#onlyaudit-privacy .oa-pp-body { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 20px clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* Contents list */
#onlyaudit-privacy .oa-pp-toc { position: sticky; top: 100px; padding: 22px; border-radius: 18px; background: #f6f3ef; }
#onlyaudit-privacy .oa-pp-toc-title { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e57a1f; }
#onlyaudit-privacy .oa-pp-toc ol { list-style: none; margin: 0; padding: 0; }
#onlyaudit-privacy .oa-pp-toc li { margin: 0; padding: 0; }
#onlyaudit-privacy .oa-pp-toc a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #33434d !important; text-decoration: none !important; }
#onlyaudit-privacy .oa-pp-toc a:hover { color: #e57a1f !important; }

/* Policy text */
#onlyaudit-privacy .oa-pp-text { max-width: 70ch; font-size: 16px; line-height: 1.75; color: #33434d; }
#onlyaudit-privacy .oa-pp-text * { font-family: inherit !important; }
#onlyaudit-privacy .oa-pp-text span { font-weight: inherit !important; }
#onlyaudit-privacy .oa-pp-text h2 { scroll-margin-top: 100px; margin: 44px 0 12px; padding: 0 0 10px; border-bottom: 1px solid #ece6df; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; text-transform: none; color: #1c2b35; }
#onlyaudit-privacy .oa-pp-text h2:first-child { margin-top: 0; }
#onlyaudit-privacy .oa-pp-text h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.35; text-transform: none; letter-spacing: 0; color: #1c2b35; }
#onlyaudit-privacy .oa-pp-text p { margin: 0 0 14px; }
#onlyaudit-privacy .oa-pp-text ul { margin: 0 0 16px; padding-left: 22px; }
#onlyaudit-privacy .oa-pp-text li { margin: 0 0 6px; }
#onlyaudit-privacy .oa-pp-text li::marker { color: #f78b30; }
#onlyaudit-privacy .oa-pp-text a { color: #e57a1f; font-weight: 600; }
#onlyaudit-privacy .oa-pp-note { margin: 0 0 14px !important; font-weight: 600; color: #1c2b35; }
#onlyaudit-privacy a:focus-visible { outline: 2px solid #f78b30; outline-offset: 2px; }

@media (max-width: 899px) {
  #onlyaudit-privacy .oa-pp-body { grid-template-columns: minmax(0, 1fr); }
  #onlyaudit-privacy .oa-pp-toc { position: static; }
}
