/* privacy-policy page styles */
@font-face {
  font-family: 'Gotham';
  src: local('Gotham'), local('Gotham-Book'), local('Gotham Book');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham-Medium'), local('Gotham Medium');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham-Bold'), local('Gotham Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: local('Gotham-Black'), local('Gotham Black');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-secondary);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s, color .3s;
  position: relative;
}

/* ── Custom Cursor ── */
#cur {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cr);
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s;
}

#cur-r {
  position: fixed;
  z-index: 99998;
  pointer-events: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--cr);
  opacity: .4;
  transform: translate(-50%, -50%);
  transition: width .28s var(--sm), height .28s var(--sm), opacity .3s, background .3s;
}

body.hov #cur-r {
  width: 56px;
  height: 56px;
  opacity: .85;
  background: var(--cr-lo);
}

/* ── Top Bar Navigation ── */
.legal-nav-header {
  width: 100%;
  padding: clamp(16px, 2.5vh, 28px) clamp(24px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

[data-theme="light"] .legal-nav-header {
  background: rgba(255, 255, 255, 0.92);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: clamp(32px, 3.5vw, 42px);
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.brand-link:hover .nav-logo-img {
  opacity: 0.85;
  transform: translateY(-1px);
}

[data-theme="dark"] .nav-logo-img,
body.dark .nav-logo-img {
  filter: brightness(1.28) contrast(1.08);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.25s ease;
}

.back-btn:hover {
  color: var(--ink);
  border-color: var(--cr);
  transform: translateY(-1px);
  background: var(--card-alt);
}

/* ── Legal Content Stage ── */
.legal-stage {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 88px) clamp(24px, 4vw, 40px) clamp(64px, 9vh, 120px);
  box-sizing: border-box;
}

.legal-tag-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cr);
  margin-bottom: 20px;
}

.legal-h1 {
  font-family: var(--font-primary);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}

.legal-intro-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.legal-block-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 32px;
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.legal-item:hover {
  border-color: var(--rule-m);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-item-title {
  font-family: var(--font-primary);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.legal-item-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
}

.legal-item-desc strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-sub-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 2px;
}

.legal-sub-item {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-sub-item strong {
  color: var(--ink);
  font-weight: 700;
  min-width: 145px;
  flex-shrink: 0;
}

/* Phones: the label sits above its text so the text is not squeezed off the screen */
@media (max-width: 600px) {
  .legal-sub-item {
    flex-direction: column;
    gap: 2px;
  }
}

/* ── Floating Theme FAB ── */
#theme-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1.5px solid var(--rule-m);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .3s var(--sp), border-color .3s, box-shadow .3s, background .3s;
}

#theme-fab:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--cr);
  box-shadow: 0 14px 40px var(--cr-glow);
}

#theme-fab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--sp);
}

#theme-fab:hover svg {
  transform: rotate(25deg);
}

[data-theme="dark"] #theme-fab .icon-moon,
[data-theme="light"] #theme-fab .icon-sun {
  display: none;
}

[data-theme="dark"] #theme-fab .icon-sun,
[data-theme="light"] #theme-fab .icon-moon {
  display: block;
}
  
