/* =====================================================================
   Proof&Trust — shared legal-page styling
   Used by: Terms of Service.html, Privacy Policy.html, Cookie Policy.html
   ===================================================================== */
:root {
  --pt-ink: #06090D;
  --pt-hero: #081019;
  --pt-navy: #001D32;
  --pt-card: #0E1A26;
  --pt-teal: #3FA8C4;
  --pt-teal-light: #6FD0E0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--pt-ink);
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.82);
  -webkit-font-smoothing: antialiased;
}
em { font-style: italic; }
a { color: var(--pt-teal-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
::selection { background: var(--pt-teal); color: #04212B; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(6,9,13,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.back-link {
  font-size: 13px; color: rgba(255,255,255,0.62);
  display: inline-flex; align-items: center; gap: 7px;
}
.back-link:hover { color: #fff; text-decoration: none; }

/* ---- masthead ---- */
.masthead {
  max-width: 1080px; margin: 0 auto;
  padding: 80px 32px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pt-teal-light); margin: 0 0 18px;
}
.masthead h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(40px, 6vw, 60px); line-height: 1.04;
  color: #fff; margin: 0 0 20px; letter-spacing: -0.01em;
}
.masthead p.lede {
  font-size: 17px; line-height: 27px; color: rgba(255,255,255,0.6);
  max-width: 640px; margin: 0;
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.meta-chip {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
  padding: 6px 14px; background: rgba(255,255,255,0.02);
}

/* ---- layout ---- */
.layout {
  max-width: 1080px; margin: 0 auto;
  padding: 48px 32px 0;
  display: grid; grid-template-columns: 248px 1fr; gap: 56px;
  align-items: start;
}
/* TOC */
.toc {
  position: sticky; top: 92px;
  font-size: 13.5px; line-height: 1.5;
}
.toc-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin: 0 0 14px;
}
.toc ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
  counter-reset: toc;
}
.toc a {
  color: rgba(255,255,255,0.62); display: block;
  padding: 6px 10px; border-radius: 7px; border-left: 2px solid transparent;
  counter-increment: toc;
}
.toc a::before {
  content: counter(toc) ". ";
  color: rgba(255,255,255,0.3); font-variant-numeric: tabular-nums;
}
.toc a:hover { color: #fff; background: rgba(255,255,255,0.04); text-decoration: none; }
.toc a.active {
  color: var(--pt-teal-light); border-left-color: var(--pt-teal);
  background: rgba(63,168,196,0.08);
}

/* prose */
.prose { min-width: 0; padding-bottom: 96px; max-width: 680px; }
.prose section { scroll-margin-top: 96px; padding-top: 8px; }
.prose section + section { margin-top: 44px; }
.prose h2 {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 23px; line-height: 1.3; color: #fff;
  margin: 0 0 18px; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2 .num {
  font-size: 14px; color: var(--pt-teal); font-variant-numeric: tabular-nums;
  flex: none; padding-top: 2px; font-weight: 500;
}
.prose h3 {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 16px; color: #fff; margin: 22px 0 12px; letter-spacing: -0.01em;
}
.prose p { font-size: 15.5px; line-height: 26px; margin: 0 0 16px; color: rgba(255,255,255,0.78); }
.prose p:last-child { margin-bottom: 0; }
.prose .defn { color: #fff; font-weight: 500; }
.prose strong { color: #fff; font-weight: 500; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.prose ul li {
  position: relative; padding-left: 24px;
  font-size: 15.5px; line-height: 25px; color: rgba(255,255,255,0.78);
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--pt-teal);
}
.callout {
  border: 1px solid rgba(63,168,196,0.28);
  background: linear-gradient(180deg, rgba(63,168,196,0.10), rgba(63,168,196,0.03));
  border-radius: 14px; padding: 22px 24px; margin: 0 0 18px;
}
.callout .callout-tag {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pt-teal-light); margin: 0 0 10px; font-weight: 500;
}
.placeholder { color: var(--pt-teal-light); font-style: italic; }

/* tables (legal-basis grid, cookie list) */
.legal-table {
  width: 100%; border-collapse: collapse; margin: 0 0 18px;
  font-size: 14px; line-height: 21px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  overflow: hidden;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 12px 16px; vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-table thead th {
  background: rgba(255,255,255,0.03); color: #fff; font-weight: 500;
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table td:first-child { color: rgba(255,255,255,0.92); }
.legal-table code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12.5px; color: var(--pt-teal-light);
  background: rgba(63,168,196,0.1); padding: 2px 6px; border-radius: 5px;
}

.contact-card {
  margin-top: 8px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 24px; background: var(--pt-card);
  font-size: 15px; line-height: 24px; color: rgba(255,255,255,0.8);
}
.contact-card strong { color: #fff; font-weight: 500; }

/* footer */
footer.page-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  background: var(--pt-ink);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 28px 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer-inner .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-inner .links a { color: rgba(255,255,255,0.62); }

@media (max-width: 880px) {
  .layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .legal-table { display: block; overflow-x: auto; }
}
