/* ── Legal pages – shared styles ─────────────── */

.legal-nav {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 23, 17, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.legal-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(219, 255, 225, 0.18);
  border-radius: 999px;
  background: rgba(0, 43, 32, 0.52);
  color: var(--cream);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease;
}

.legal-nav__back:hover {
  background: rgba(0, 43, 32, 0.72);
}

.legal-nav__back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.legal-nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.legal-nav__link {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--mist);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.legal-nav__link:hover {
  background: rgba(0, 43, 32, 0.52);
  color: var(--cream);
}

.legal-nav__link.is-current {
  background: rgba(110, 226, 139, 0.14);
  color: var(--leaf);
}

/* ── Legal content area ─────────────────────────── */

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-title {
  margin: 0 0 6px;
  color: var(--cream);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.legal-updated {
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
}

.legal-intro {
  margin-bottom: 32px;
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

/* ── Sections ───────────────────────────────────── */

.legal-section {
  margin-bottom: 28px;
}

.legal-section__number {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-section__title {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-section address {
  color: var(--mist);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 450;
  line-height: 1.75;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section .label {
  margin-top: 10px;
  color: rgba(249, 244, 214, 0.85);
  font-weight: 600;
}

.legal-section ul {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 18px;
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.7;
}

.legal-section ul li::before {
  position: absolute;
  left: 0;
  color: var(--leaf);
  content: "–";
  opacity: 0.7;
}

.legal-section a {
  color: var(--leaf);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 226, 139, 0.3);
  transition: border-color 180ms ease;
}

.legal-section a:hover {
  border-bottom-color: var(--leaf);
}

/* ── Legal footer ───────────────────────────────── */

.legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.7;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 520px) {
  .legal-nav__links {
    display: none;
  }

  .legal-shell {
    padding: 32px 16px 60px;
  }
}
