/* Asmara Bella — legal pages (privacy.html, terms.html): readable long-form typography
   with a sticky "On this page" contents list. Shared type tokens come from experience.css. */

body { background-image: none !important; background-color: var(--ab-cream) !important; }

/* ---------- Hero ---------- */

.lg-hero {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
  background: linear-gradient(180deg, #f6ecdd, var(--ab-cream));
  border-bottom: 1px solid #efe2d0;
}
.lg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  background: var(--ab-tilet) repeat-x 0 50% / 56px 18px;
  opacity: 0.85;
}
.lg-hero .xp-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.lg-hero .xp-display { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 18px; }
.lg-lede { max-width: 620px; margin: 0 auto 14px; font: italic 400 clamp(19px, 1.9vw, 22px)/1.55 "Playfair Display", serif; color: var(--ab-brown); }
.lg-updated { display: inline-block; margin: 6px 0 0; padding: 7px 14px; border-radius: 999px; background: #fffdf9; border: 1px solid #e8dccb; font-size: 13.5px; font-weight: 600; color: #6b5f4d; }

/* ---------- Layout ---------- */

.lg-main { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.lg-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1100px; }

.lg-toc { position: sticky; top: 100px; padding: 22px 22px 18px; border-radius: 20px; background: #fffdf9; border: 1px solid #ecdfcc; }
.lg-toc-h { margin: 0 0 12px; font: 700 12px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ab-gold); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: lg; }
.lg-toc li { counter-increment: lg; }
.lg-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  color: #5c5142;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.lg-toc a::before { content: counter(lg, decimal-leading-zero); flex-shrink: 0; font: italic 500 13px/1.6 "Playfair Display", serif; color: var(--ab-gold); }
.lg-toc a:hover { background: #f6ecdd; color: var(--ab-ink); }
.lg-toc a[aria-current] { background: #f3e6d0; color: var(--ab-ink); font-weight: 600; }

/* ---------- Article ---------- */

.lg-article { max-width: 68ch; font-size: 18px; line-height: 1.8; color: #3d3226; }
.lg-article > :first-child { margin-top: 0 !important; }
.lg-article h2 {
  scroll-margin-top: 110px;
  margin: 2.6em 0 0.6em !important;
  padding-top: 1.1em;
  border-top: 1px solid #ecdfcc;
  font: 600 clamp(25px, 2.4vw, 31px)/1.2 "Playfair Display", serif !important;
  letter-spacing: -0.015em;
  color: var(--ab-ink) !important;
}
.lg-article h2:first-child { border-top: 0; padding-top: 0; }
.lg-article p { font-size: 18px; line-height: 1.8; color: #3d3226; margin: 0 0 1.1em; }
.lg-article ul { margin: 0 0 1.2em; }
.lg-article li { font-size: 18px; line-height: 1.75; margin-bottom: 0.6em; padding-left: 1.7rem; }
.lg-article li::before { content: "" !important; top: 0.72em !important; left: 0.2rem; width: 7px; height: 7px; border-radius: 50%; background: var(--ab-gold); }
.lg-article strong { color: var(--ab-ink); }
.lg-article a { color: var(--ab-brown); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(117, 90, 26, 0.35); text-underline-offset: 4px; overflow-wrap: anywhere; transition: text-decoration-color 0.3s; }
.lg-article a:hover { text-decoration-color: var(--ab-brown); }

@media (max-width: 899px) {
  .lg-layout { grid-template-columns: 1fr; }
  .lg-toc { position: static; }
  .lg-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .lg-article { font-size: 17px; }
  .lg-article p, .lg-article li { font-size: 17px; }
}
@media (max-width: 560px) {
  .lg-toc ol { grid-template-columns: 1fr; }
  .lg-main { padding-bottom: 110px; }
}
