/* /privacy-policy/ — iubenda policy rendered in the CoreFi design system.
   Every rule is scoped under .cf-pp-page so iubenda's class names can't leak. */

.cf-pp-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* .corefi-modern sets overflow:hidden, which turns <main> into a scroll
   container and stops the sticky table of contents; clip keeps the bleed
   protection without that side effect. */
.corefi-modern.cf-pp-page { overflow: clip; }
/* Same for the theme's #page wrapper (overflow:hidden site-wide), scoped to
   this page only; as a side effect the header's designed position:sticky
   also works here. */
#page:has(> main.cf-pp-page) { overflow: clip; }

/* ---- Hero ---- */
.cf-pp-page .cf-pp-hero { min-height: 0; padding: 88px 0 72px; }
.cf-pp-page .cf-pp-hero:after { display: none; }
.cf-pp-page .cf-pp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); font-weight: 600; max-width: 860px; margin-bottom: 20px; }
.cf-pp-page .cf-pp-hero h1 strong { color: var(--cf-leaf); font-weight: inherit; }
.cf-pp-page .cf-pp-hero .cf-hero-copy { margin-bottom: 22px; }
.cf-pp-page .cf-pp-hero a { color: var(--cf-leaf); text-decoration: underline; }
.cf-pp-updated { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.86); font-size: 13px; font-weight: 600; }
.cf-pp-updated:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cf-leaf); }

/* ---- Layout: sticky table of contents + document ---- */
.cf-pp-body { padding: 64px 0 96px; }
.cf-pp-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.cf-pp-toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; padding: 22px 22px 18px; background: var(--cf-cloud); border: 1px solid var(--cf-border); border-radius: 20px; }
.cf-pp-toc h2 { margin: 0 0 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--cf-leaf-deep); }
.cf-pp-toc ul { list-style: none; margin: 0; padding: 0; }
.cf-pp-toc li { margin: 0; }
.cf-pp-toc a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--cf-ink-soft); text-decoration: none; transition: background .15s ease, color .15s ease; }
.cf-pp-toc a:hover { background: #fff; color: var(--cf-ink); }

/* ---- Document typography ---- */
.cf-pp-doc { max-width: 820px; color: var(--cf-ink-soft); font-size: 16px; line-height: 1.7; }
.cf-pp-doc [id] { scroll-margin-top: 110px; }
.cf-pp-doc p, .cf-pp-doc ul, .cf-pp-doc ol { margin: 0 0 1em; color: var(--cf-ink-soft); }
.cf-pp-doc ul { padding-left: 1.25em; list-style: disc; }
.cf-pp-doc ul ul { list-style: circle; }
.cf-pp-doc li::marker { color: var(--cf-leaf-deep); }
.cf-pp-doc li { margin-bottom: .35em; }
.cf-pp-doc strong, .cf-pp-doc b { color: var(--cf-ink); font-weight: 600; }
.cf-pp-doc a { color: var(--cf-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(33,36,77,.3); text-underline-offset: 3px; overflow-wrap: anywhere; }
.cf-pp-doc a:hover { color: var(--cf-leaf-deep); text-decoration-color: currentColor; }
.cf-pp-doc h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--cf-ink); margin: 0 0 .7em; }
.cf-pp-doc h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; color: var(--cf-ink); margin: 1.8em 0 .5em; }
.cf-pp-doc h4 { font-size: 1.02rem; line-height: 1.4; font-weight: 600; color: var(--cf-ink); margin: 1.4em 0 .4em; }
.cf-pp-doc h5 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--cf-leaf-deep); margin: 1.2em 0 .45em; }
.cf-pp-doc hr { border: 0; border-top: 1px solid var(--cf-border); margin: 2.4em 0; }
.cf-pp-doc table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92em; display: block; overflow-x: auto; }
.cf-pp-doc th, .cf-pp-doc td { padding: 10px 14px; border: 1px solid var(--cf-border); text-align: left; vertical-align: top; }
.cf-pp-doc th { background: var(--cf-cloud); color: var(--cf-ink); }
.cf-pp-doc .main__section { padding: 48px 0 0; margin: 48px 0 0; border-top: 1px solid var(--cf-border); }
.cf-pp-doc .main__section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.cf-pp-doc .main__section > h2:first-child { margin-top: 0; }

/* ---- Pills (data categories) ---- */
.cf-pp-doc ul.pills-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-pp-doc .pill { margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--cf-leaf-tint); color: var(--cf-ink); font-size: 13px; line-height: 1.4; font-weight: 500; }
.cf-pp-doc .pill--additional { background: var(--cf-ink); }
.cf-pp-doc .pill--additional a { color: #fff; text-decoration: none; }

/* ---- Summary + "How can we help?" cards ---- */
.cf-pp-doc .summary__cards-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.cf-pp-doc .summary__card { padding: 26px 26px 22px; background: #fff; border: 1px solid var(--cf-border); border-radius: 22px; box-shadow: 0 14px 40px rgba(20, 22, 58, .06); }
.cf-pp-doc .summary__card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.cf-pp-doc .summary__card .cf-pp-cardhead p { font-size: 14px; margin-bottom: 14px; }
.cf-pp-doc .summary__card-section { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--cf-border); }
.cf-pp-doc .summary__card-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.cf-pp-doc .summary__card h4 { margin: 0 0 10px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--cf-leaf-deep); }
.cf-pp-doc .summary__card .pills-list { margin-bottom: 0; }
.cf-pp-doc ul.unstyled-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cf-pp-doc .third-parties-item { margin: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--cf-cloud); border: 1px solid var(--cf-border); }
.cf-pp-doc .third-parties-item img { width: 22px; height: 22px; border-radius: 4px; }
.cf-pp-doc .third-parties-item--plus a { font-size: 13px; text-decoration: none; }
.cf-pp-doc ul.check-style-list, .cf-pp-doc ul.arrow-style-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.cf-pp-doc ul.check-style-list li, .cf-pp-doc ul.arrow-style-list li { position: relative; padding-left: 26px; margin-bottom: 6px; line-height: 1.5; }
.cf-pp-doc ul.check-style-list li:before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: var(--cf-leaf-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232F7D3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.cf-pp-doc ul.arrow-style-list li:before { content: "\2192"; position: absolute; left: 2px; top: 0; color: var(--cf-leaf-deep); font-weight: 700; }
.cf-pp-doc .cta-section .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--cf-leaf); color: var(--cf-ink); font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(97,182,108,.25); }
.cf-pp-doc .cta-section .btn:hover { background: var(--cf-leaf-hover); color: var(--cf-ink); }
.cf-pp-doc .pre-footer { margin-top: 64px; padding: 40px; background: var(--cf-cloud); border-radius: 28px; }
.cf-pp-doc .pre-footer .summary__card { box-shadow: none; }

/* ---- Third-party services (iubenda accordions, always expanded) ---- */
.cf-pp-doc .cf-pp-service { margin: 14px 0; border: 1px solid var(--cf-border); border-radius: 18px; background: #fff; overflow: hidden; }
.cf-pp-doc .cf-pp-service__head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--cf-cloud); border-bottom: 1px solid var(--cf-border); }
.cf-pp-doc .cf-pp-service__head figure { flex: 0 0 auto; margin: 2px 0 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--cf-border); }
.cf-pp-doc .cf-pp-service__head figure img { width: 22px; height: 22px; border-radius: 4px; }
.cf-pp-doc .cf-pp-service__head h4 { margin: 0 0 4px; font-size: 1rem; }
.cf-pp-doc .accordion__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.cf-pp-doc .accordion__meta p { margin: 0; color: var(--cf-ink-soft); }
.cf-pp-doc .accordion__meta p + p:before { content: "\00B7"; margin-right: 16px; margin-left: -10px; color: rgba(33,36,77,.35); }
.cf-pp-doc .accordion__body { padding: 18px 20px 6px; font-size: 15px; }
.cf-pp-doc .body__details-box { margin: 6px 0 12px; padding: 4px 18px 6px; border-left: 3px solid var(--cf-leaf); background: var(--cf-leaf-tint); border-radius: 0 12px 12px 0; }
.cf-pp-doc .body__details-box ul { margin-bottom: .6em; }

/* ---- iubenda document footer (owner + hosting notice) ---- */
.cf-pp-doc .cf-pp-docfooter { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--cf-border); font-size: 14px; }
.cf-pp-doc .cf-pp-docfooter h3 { margin-top: 0; }
.cf-pp-doc .footer__credits p { font-size: 13px; color: var(--cf-ink-soft); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .cf-pp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cf-pp-toc { position: static; max-height: none; }
  .cf-pp-toc ul { columns: 2; column-gap: 24px; }
  .cf-pp-toc li { break-inside: avoid; }
}
@media (max-width: 680px) {
  .cf-pp-page .cf-pp-hero { padding: 56px 0 48px; }
  .cf-pp-body { padding: 40px 0 64px; }
  .cf-pp-toc ul { columns: 1; }
  .cf-pp-doc .summary__cards-wrapper { grid-template-columns: minmax(0, 1fr); }
  .cf-pp-doc .pre-footer { padding: 22px; border-radius: 22px; }
  .cf-pp-doc .cf-pp-service__head { padding: 16px; }
  .cf-pp-doc .accordion__body { padding: 16px 16px 4px; }
}
@media print {
  .cf-site-header, .cf-site-footer, .cf-pp-toc { display: none !important; }
  .cf-pp-layout { display: block; }
  .cf-pp-page .cf-pp-hero { background: #fff; color: var(--cf-ink); padding: 0 0 24px; }
  .cf-pp-page .cf-pp-hero h1, .cf-pp-page .cf-pp-hero .cf-hero-copy, .cf-pp-updated { color: var(--cf-ink); }
}
