/* 法律頁（隱私權政策、服務條款）的版型。條文用兩欄：左邊小標、右邊內文。
   法律頁最怕的是「看起來像範本」——所以內容逐項寫這個站真的在做的事，
   每一條都對得上 schema-accounts.sql 與 functions/_api.js。 */
.doc { padding-block: clamp(2.5rem, 7vh, 4.5rem); }
.doc > .label { margin-bottom: 0.6rem; }
.doc h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.4; margin: 0 0 0.9rem;
}
.doc .lede { color: var(--ink-dim); max-width: 40em; margin: 0 0 0.4rem; }
.doc .stamp {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-faint); text-transform: uppercase;
}
.sec {
  padding-block: clamp(1.8rem, 4vh, 2.6rem);
  border-top: 1px solid var(--line, rgba(255,255,255,0.08));
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3.5rem); align-items: start;
}
.sec > h2 {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.sec p, .sec li { color: var(--ink-dim); font-size: 0.88rem; max-width: 44em; }
.sec p { margin: 0 0 1rem; }
.sec p:last-child, .sec ul:last-child { margin-bottom: 0; }
.sec ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.sec li { margin-bottom: 0.5rem; }
.sec b { color: var(--ink); font-weight: 600; }
.sec code {
  font-family: var(--mono); font-size: 0.82em;
  background: rgba(255,255,255,0.06); padding: 0.1em 0.35em; border-radius: 2px;
}
@media (max-width: 46rem) { .sec { grid-template-columns: 1fr; gap: 0.7rem; } }
