/* ==========================================================================
   SeekEdgar — policy pages (privacy / service / cookies)

   ADD-ON stylesheet. Load AFTER seekedgar.css, background.css, header.css
   and footer.css. Reuses their variables (--ink, --muted, --maxw,
   --radius-lg, --shadow, --ring) and follows the site's blue/red system:
     #0b2a6f  page + section titles (Fraunces)
     #0021AD  sub-headings
     #e80004  numbers, markers, accents
     #1e47a8 -> #e23d3d  signature gradient rule
   ========================================================================== */

:root {
  --pol-blue:       blue;      /* titles */
  --pol-blue-mid:   blue;      /* sub-headings */
  --pol-link:       blue;      /* links */
  --pol-red:        red;       /* accents */
  --pol-panel:      #f5f8ff;   /* index / callout tint */
  --pol-border:     rgba(30, 71, 168, .14);
  --pol-hair:       rgba(16, 17, 20, .10);
  --pol-gradient:   linear-gradient(90deg, #1e47a8, #e23d3d);
}

/* --- page frame ----------------------------------------------------------- */

.policy-main { padding: 56px 0 80px; }

.policy-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- document header ------------------------------------------------------ */

.policy-hero {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

/* eyebrow pill — same shape as .purpose-label, blue/red text like the footer */
.policy-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(16, 17, 20, .14);
  box-shadow: 0 0 0 6px rgba(16, 17, 20, .06);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.policy-eyebrow .pe-label { color: var(--pol-blue-mid); }
.policy-eyebrow .pe-sep   { color: rgba(16, 17, 20, .35); margin: 0 6px; }
.policy-eyebrow .pe-name  { color: var(--pol-red); }

.policy-hero h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.05;
  font-size: clamp(38px, 6vw, 64px);
  color: var(--pol-blue);
}

.policy-lead {
  margin: 14px auto 0;
  max-width: 64ch;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.45;
  color: var(--muted);
}

.policy-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.policy-dates div { display: flex; gap: 8px; }
.policy-dates dt { margin: 0; }
.policy-dates dd { margin: 0; color: var(--pol-blue); font-weight: 800; }
.policy-dates .pd-sep { color: rgba(16, 17, 20, .3); font-weight: 900; }

/* --- white card over the gradient backdrop -------------------------------- */

.policy-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--pol-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3.4vw, 48px);
  overflow: hidden;
}
.policy-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--pol-gradient);
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* --- contents index ------------------------------------------------------- */

.policy-toc {
  position: sticky;
  top: 108px;                       /* clears the floating nav pill */
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: var(--pol-panel);
  border: 1px solid var(--pol-border);
  border-radius: 18px;
  padding: 18px 14px;
}
.policy-toc-title {
  margin: 0 0 12px;
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--pol-border);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pol-blue-mid);
}
.policy-toc ol { list-style: none; margin: 0; padding: 0; }
.policy-toc li + li { margin-top: 1px; }
.policy-toc a {
  display: flex;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.policy-toc a:hover { background: #fff; color: var(--pol-link); }
.policy-toc .tnum {
  flex: 0 0 18px;
  text-align: right;
  color: var(--pol-red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
/* scroll-spy state */
.policy-toc a.is-current {
  background: #fff;
  color: var(--pol-blue);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--pol-red), 0 0 0 1px var(--pol-border);
}

/* --- document body -------------------------------------------------------- */

.policy-doc {
  max-width: 70ch;
  font-size: 16.5px;
  line-height: 1.45;
  color: #3a4249;
}
.policy-doc > *:first-child { margin-top: 0; }

.policy-doc h2 {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin: 1.25em 0 .45em;
  padding-bottom: .25em;
  border-bottom: 1px solid var(--pol-hair);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--pol-blue);
  scroll-margin-top: 110px;         /* sticky nav offset */
}
.policy-doc h2 .num {
  flex: 0 0 auto;
  width: 32px;
  margin-left: -48px;
  text-align: right;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--pol-red);
  font-variant-numeric: tabular-nums;
}

.policy-doc h3 {
  margin: 1em 0 .3em;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1px;
  color: var(--pol-blue-mid);
}

.policy-doc h2 + p, .policy-doc h2 + ul, .policy-doc h2 + ol,
.policy-doc h3 + p, .policy-doc h3 + ul, .policy-doc h3 + ol { margin-top: 0; }

.policy-doc p { margin: 0 0 .55em; }
.policy-doc strong { color: var(--pol-red); font-weight: 700; }
.policy-doc u { text-decoration: none; }

.policy-doc a {
  color: var(--pol-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.policy-doc a:hover { color: var(--pol-blue); }

.policy-doc ul, .policy-doc ol { margin: 0 0 .7em; padding-left: 1.3em; }
.policy-doc li { margin-bottom: .08em; }
.policy-doc li > p { margin: 0 0 .08em; }
.policy-doc li > p:last-child { margin-bottom: 0; }
.policy-doc li::marker { color: var(--pol-red); font-weight: 700; }

/* callout for contact / document-control blocks */
.contact-block {
  position: relative;
  margin: 1.5em 0;
  padding: 20px 24px;
  border: 1px solid var(--pol-border);
  border-radius: 14px;
  background: var(--pol-panel);
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
}
.contact-block::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e47a8, #e23d3d);
}
.contact-block p { margin: 0; }
.contact-block p + p { margin-top: .7em; }
.contact-block strong { color: var(--pol-blue-mid); }

.copyline {
  margin-top: 1.6em;
  padding-top: 1.1em;
  border-top: 1px solid var(--pol-hair);
  font-size: 13px;
  color: var(--muted);
}

/* --- back to top ---------------------------------------------------------- */

.policy-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--pol-gradient) border-box;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 17, 20, .10);
}

/* --- responsive ----------------------------------------------------------- */

@media (max-width: 980px) {
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-toc { position: static; max-height: none; }
  .policy-doc { max-width: none; }
  .policy-doc h2 { display: block; }
  .policy-doc h2 .num { display: inline; width: auto; margin: 0 .45em 0 0; }
}

@media (max-width: 640px) {
  .policy-main { padding-top: 36px; }
  .policy-card { border-radius: 20px; }
  .policy-eyebrow { font-size: .8rem; letter-spacing: 1.2px; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-sphere, .glow { animation: none !important; }
  .back-to-top, .policy-toc a { transition: none; }
}

/* --- print ---------------------------------------------------------------- */

@media print {
  header, .policy-toc, .policy-foot,
  .footer-pro, .gradient-background { display: none !important; }
  .policy-main { padding: 0; }
  .policy-card { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .policy-card::before { display: none; }
  .policy-layout { display: block; }
  .policy-doc { max-width: none; font-size: 11pt; color: #000; }
  .policy-hero h1, .policy-doc h2 { color: #000; }
  .policy-doc h2, .policy-doc h3 { page-break-after: avoid; }
  .policy-doc p, .policy-doc li { page-break-inside: avoid; }
  .policy-doc a { color: #000; }
}