/* ============================================================
   SFA Privacy Policy - hero + two-way scrollspy layout
   Brand: matches assets/css/policy.css (UnityText, HCCB gradient)
   ============================================================ */

.sfa-pp {
  --hccb-red: #e71c2a;
  --hccb-orange: #f9a31b;
  --ink: #231f20;
  --muted: #5b6472;
  --line: #e0e2e6;
  --accent: #e62c38;
  font-family: "UnityText", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

/* ---------- HERO (banner image) ---------- */
.sfa-pp__header {
  padding: 90px 140px 60px 140px;
}

.sfa-pp__hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- LAYOUT ---------- */
.sfa-pp__wrap {
  padding: 0 140px 80px 140px;
}

.sfa-pp__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- LEFT TOC ---------- */
.sfa-pp__toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 6px;
}
.sfa-pp__toc::-webkit-scrollbar { width: 6px; }
.sfa-pp__toc::-webkit-scrollbar-thumb { background: #d9dce1; border-radius: 6px; }

.sfa-pp__toc ul { list-style: none; margin: 0; padding: 0; }

.sfa-pp__toc a {
  display: block;
  padding: 11px 16px;
  color: var(--muted);
  text-decoration: none;
  font-family: "UnityText";
  font-size: 15px;
  line-height: 1.45;
  border-left: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.sfa-pp__toc a:hover { color: var(--ink); }

.sfa-pp__toc a.active {
  color: var(--accent);
  font-weight: 700;
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(231, 28, 42, .06), transparent);
}

/* ---------- RIGHT CONTENT ---------- */
.sfa-pp__doc-title {
  font-family: "UnityText";
  font-weight: 700;
  font-size: 34px;
  line-height: 46px;
  margin: 0 0 8px;
  color: var(--ink);
}

.sfa-pp__doc-subtitle {
  font-size: 15px;
  line-height: 26px;
  color: var(--muted);
  margin: 0 0 28px;
}
.sfa-pp__doc-subtitle p { margin: 0 0 12px; }

.sfa-pp__section {
  scroll-margin-top: 100px;
  padding-bottom: 34px;
}

.sfa-pp__section > h2 {
  font-family: "UnityText";
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  margin: 0 0 14px;
  color: var(--ink);
}

.sfa-pp__section-body {
  font-size: 15px;
  line-height: 26px;
  color: #3a414d;
}
.sfa-pp__section-body p { margin: 0 0 14px; }
.sfa-pp__section-body ol { padding-left: 22px; margin: 0 0 14px; }
.sfa-pp__section-body ul { padding-left: 22px; margin: 0 0 14px; }
.sfa-pp__section-body li { margin-bottom: 10px; }
.sfa-pp__section-body a { color: var(--accent); word-break: break-word; }
.sfa-pp__section-body strong,
.sfa-pp__section-body b { color: var(--ink); }

/* ---------- RESPONSIVE ---------- */
@media only screen and (max-width: 991px) {
  .sfa-pp__header { padding: 90px 23px 40px 23px; }
  .sfa-pp__wrap { padding: 0 23px 50px 23px; }
  .sfa-pp__layout { grid-template-columns: 1fr; gap: 24px; }
  .sfa-pp__toc {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
}

@media only screen and (max-width: 480px) {
  .sfa-pp__header { padding: 80px 16px 32px 16px; }
}
