/* Privacy Policy (/privacy): contents rail beside a readable policy column.
   Page-scoped so the shared Tailwind build is untouched. */

.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) {
  .pp-layout { grid-template-columns: 260px minmax(0, 720px); gap: 72px; align-items: start; }
}

/* Contents */
.pp-toc { border: 1px solid var(--color-border); border-radius: 16px; padding: 20px; background: var(--color-background); }
.pp-toc-title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted-foreground); }
.pp-toc ol { margin: 0; padding: 0; list-style: none; }
.pp-toc a { display: flex; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--color-muted-foreground); text-decoration: none; transition: background-color .15s, color .15s; }
.pp-toc a span { flex: 0 0 14px; font-variant-numeric: tabular-nums; color: #a49cb8; }
.pp-toc a:hover { color: var(--color-foreground); background: var(--color-muted); }
.pp-toc a.is-active { color: #6a30e0; background: #f5f0ff; font-weight: 500; }
.pp-toc a.is-active span { color: #9969ff; }
.pp-toc a:focus-visible { outline: 2px solid #9969ff; outline-offset: 2px; }
@media (min-width: 1024px) {
  .pp-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; border: 0; border-radius: 0; padding: 0; background: none; }
}

/* Policy text */
.pp-body { font-size: 16px; line-height: 1.7; color: var(--color-muted-foreground); }
.pp-body > section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--color-border); scroll-margin-top: 88px; }
.pp-body h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--color-foreground); text-wrap: balance; }
.pp-num { flex: 0 0 auto; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f5f0ff; color: #6a30e0; font-size: 14px; font-weight: 600; transform: translateY(-2px); }
.pp-body h3 { margin: 32px 0 0; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--color-foreground); scroll-margin-top: 88px; }
.pp-body p { margin: 14px 0 0; }
.pp-body ul { margin: 14px 0 0; padding-left: 20px; list-style: disc; }
.pp-body li { margin-top: 8px; padding-left: 4px; }
.pp-body li::marker { color: #aa80ff; }
.pp-body strong { font-weight: 600; color: var(--color-foreground); }
.pp-body a:not(.pp-card-link) { font-weight: 500; color: #7c4dff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pp-body a:not(.pp-card-link):hover { color: #5a20b8; }

.pp-updated { display: inline-flex; margin: 0 !important; padding: 4px 12px; border-radius: 999px; background: var(--color-muted); font-size: 13.5px; font-weight: 500; color: var(--color-foreground); }
.pp-intro { margin-top: 18px !important; font-size: 18px; line-height: 1.6; color: var(--color-foreground); }

/* Company details */
.pp-entity { display: grid; margin: 18px 0 0; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.pp-entity div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 18px; }
.pp-entity div + div { border-top: 1px solid var(--color-border); }
.pp-entity dt { font-size: 14px; color: var(--color-muted-foreground); }
.pp-entity dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--color-foreground); }
@media (max-width: 640px) {
  .pp-entity div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Inline cookie-preferences control: reads as a link inside the sentence */
.pp-inline-btn { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: #7c4dff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.pp-inline-btn:hover { color: #5a20b8; }

/* Connected platforms */
.pp-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; padding: 0 !important; list-style: none !important; }
.pp-platforms li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 8px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-background); font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--color-foreground); }
.pp-platforms img { width: 18px; height: 18px; object-fit: contain; }

/* What we never do with connected data */
.pp-never { padding-left: 0 !important; list-style: none !important; }
.pp-never li { position: relative; padding-left: 30px; }
.pp-never li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fdecee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4314b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Link to the Data Deletion page */
.pp-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 16px 20px; border: 1px solid #dccfff; border-radius: 16px; background: #f5f0ff; color: var(--color-muted-foreground); font-size: 14.5px; line-height: 1.5; text-decoration: none; transition: border-color .15s, background-color .15s; }
.pp-card-link strong { display: block; font-size: 16px; color: var(--color-foreground); }
.pp-card-link:hover { border-color: #aa80ff; background: #ede5ff; }
.pp-card-link:focus-visible { outline: 2px solid #9969ff; outline-offset: 2px; }
.pp-card-arrow { flex: 0 0 auto; width: 20px; height: 20px; color: #7c4dff; transition: transform .15s; }
.pp-card-link:hover .pp-card-arrow { transform: translateX(3px); }

.pp-legal { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--color-border); font-size: 13.5px; color: var(--color-muted-foreground); }

@media (max-width: 640px) {
  .pp-body h2 { font-size: 20px; }
  .pp-intro { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-toc a, .pp-card-link, .pp-card-arrow { transition: none; }
}
