/* ============================================================
   Pebbii Journal — Legal pages (privacy.html, terms.html)
   ============================================================ */

.legal-page {
  background: var(--off-white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal-nav {
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(30,47,37,0.07);
}

.legal-main {
  flex: 1;
  padding-block: clamp(48px, 8vw, 80px);
}

.legal-main .container {
  max-width: 720px;
}

/* Header */
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(30,47,37,0.08);
}

.legal-header__back a {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}
.legal-header__back a:hover { opacity: 0.7; }

.legal-header__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 10px;
}

.legal-header__meta {
  font-size: 14px;
  color: #7A9A8A;
}

/* Body */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-body section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-body h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.legal-body p {
  font-size: 15px;
  color: #3A5244;
  line-height: 1.75;
}

.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.legal-body ul li {
  font-size: 15px;
  color: #3A5244;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--terra-2);
  border-radius: 50%;
}

.legal-body a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--dark); }

.legal-body em {
  color: #9AB0A5;
  font-style: normal;
}
