/* ==========================================================================
   Premier Lifestyle Management — Legal pages (privacy policy, terms of use)
   Section styles unique to the legal templates. Loaded AFTER site.css.
   (Hero / header / footer reuse shared classes from site.css.)
   ========================================================================== */

.legal {
  padding: clamp(56px, 9vh, 104px) clamp(22px, 5vw, 32px) clamp(72px, 11vh, 128px);
}
.legal__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

/* ---------- side contents ---------- */
.legal__contents {
  position: sticky;
  top: 122px;
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}
.legal__contents-title {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}
.legal__contents-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.legal__contents-list a {
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  transition: color .3s;
}
.legal__contents-list a:hover { color: var(--gold-text); }

/* ---------- prose body ---------- */
.legal__body { max-width: 68ch; }
.legal__body[data-reveal] { transition-delay: .1s; }

.legal__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 30px;
}

.legal__section { margin-top: 44px; }
/* offset anchor jumps so headings clear the fixed header */
.legal__section { scroll-margin-top: 118px; }

.legal__section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.legal__section h2 + p,
.legal__section h2 + ul { margin-top: 15px; }

.legal__section p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}
.legal__section p + p { margin-top: 17px; }

.legal__section p strong {
  color: var(--ink);
  font-weight: 600;
}

.legal__section ul {
  list-style: none;
  margin-top: 15px;
}
.legal__section li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}
.legal__section li + li { margin-top: 11px; }
.legal__section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--gold-light);
}

.legal__section a {
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 168, 113, .55);
  transition: border-color .3s, color .3s;
}
.legal__section a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- numbered sections (terms of use) ---------- */
.legal__section--numbered h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(17px, 1.7vw, 19.5px);
  letter-spacing: .05em;
  line-height: 1.35;
}
.legal__num {
  flex: none;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-text);
  transform: translateY(-2px);
}

.legal__contents-list--numbered a {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.legal__toc-num {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-text);
  min-width: 14px;
}

/* indented sub-clause block (Preferred Method of Payment / Credit Card Authorization) */
.legal__aside {
  margin-top: 18px;
  padding-left: 22px;
  border-left: 1px solid var(--line-2);
}
.legal__aside p + p { margin-top: 15px; }
.legal__aside strong {
  display: inline-block;
  margin-bottom: 3px;
}

.legal__closing {
  margin-top: 44px;
  border-top: 1px solid var(--line-2);
  padding-top: 26px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- contact block ---------- */
.legal__contact {
  margin-top: 22px;
  border-top: 1px solid var(--line-2);
  padding-top: 26px;
}
.legal__contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  color: var(--ink);
}
.legal__contact-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: 15px;
}
.legal__contact-label {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  min-width: 74px;
}
.legal__contact-value {
  font-size: 16.5px;
  color: var(--muted);
}
a.legal__contact-value {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
a.legal__contact-value:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .legal__inner { grid-template-columns: 1fr; gap: 38px; }
  .legal__contents { position: static; }
  .legal__contents-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
  }
  .legal__contents-list--numbered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 11px 22px;
  }
  .legal__body { max-width: none; }
}

@media (max-width: 420px) {
  .legal__contents-list--numbered { grid-template-columns: 1fr; }
}
