/* =============================================
   PRIVACY POLICY PAGE
   Standalone styles — used only on /privacy.html.
   Bundle main.css gives us global-nav, footer, fonts.
   ============================================= */

/* Override global dark body background — the bundle assumes every section
   paints its own bg, which isn't true on this static page. */
html, body {
  background: var(--lt-bg);
  color: var(--lt-text);
}

/* Make the nav fully opaque white on this page (the lending uses a
   translucent variant that picks up the section underneath; on a static
   light page that translucency makes the bar look greyed-out). */
.global-nav.is-light,
.global-nav.is-light.scrolled {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Site footer keeps its dark theme even on a light page. */
.site-footer { background: #000; }
.site-footer,
.site-footer a,
.site-footer h4,
.site-footer span { color: var(--color-text); }
.site-footer a:hover { color: var(--color-white); }

.privacy {
  max-width: 880px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 80px) 24px 80px;
  color: var(--lt-text);
  line-height: 1.65;
}

/* Hero */
.privacy__hero {
  border-bottom: 1px solid var(--lt-border);
  padding-bottom: 32px;
  margin-bottom: 48px;
}

.privacy__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 16px;
}

.privacy__title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--lt-text);
  margin: 0 0 18px;
}

.privacy__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--lt-muted);
  margin: 0 0 16px;
  max-width: 720px;
}

.privacy__meta {
  font-size: 13px;
  color: var(--lt-muted);
  letter-spacing: 0.04em;
}
.privacy__meta strong {
  color: var(--lt-text);
  font-weight: 600;
}

/* Table of contents */
.privacy__toc {
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 56px;
}

.privacy__toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lt-muted);
  margin: 0 0 14px;
}

.privacy__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  counter-reset: privacy-toc;
}
.privacy__toc li {
  counter-increment: privacy-toc;
  position: relative;
  padding-left: 32px;
  font-size: 14px;
}
.privacy__toc li::before {
  content: counter(privacy-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.privacy__toc a {
  color: var(--lt-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.privacy__toc a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Content sections */
.privacy__section {
  margin: 0 0 48px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.privacy__h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--lt-text);
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.privacy__h2-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 32px;
}

.privacy__section p {
  margin: 0 0 14px;
  font-size: 15px;
}

.privacy__section p:last-child { margin-bottom: 0; }

.privacy__section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 111, 219, 0.3);
  transition: border-color .2s;
}
.privacy__section a:hover {
  border-bottom-color: var(--color-accent);
}

.privacy__section ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.privacy__section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
}
.privacy__section ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.privacy__section strong {
  font-weight: 600;
  color: var(--lt-text);
}

/* Highlight callout block */
.privacy__callout {
  background: rgba(29, 111, 219, 0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--lt-text);
}

/* Contact card at the bottom */
.privacy__contact {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.privacy__contact-text {
  flex: 1;
  min-width: 220px;
}
.privacy__contact-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--lt-text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.privacy__contact-desc {
  font-size: 14px;
  color: var(--lt-muted);
  margin: 0;
}
.privacy__contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.privacy__contact .btn {
  font-size: 14px;
  padding: 10px 18px;
}

/* Back-to-home link */
.privacy__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--lt-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.privacy__back:hover { color: var(--color-accent); }
.privacy__back::before { content: '←'; font-size: 16px; }

/* Responsive */
@media (max-width: 700px) {
  .privacy { padding-top: calc(var(--nav-height) + 56px); }
  .privacy__toc ol { grid-template-columns: 1fr; }
  .privacy__h2 { flex-wrap: wrap; gap: 8px; }
  .privacy__contact { flex-direction: column; align-items: flex-start; padding: 22px; }
}