/* AnotherV · legal pages (terms / privacy / refunds), on top of room.css.
   Long reading, so the panel is more opaque than the glass elsewhere (design rule: payment and
   long-reading surfaces stay legible). Same shape rules: panel 24, inner 14–16, pills to press. */

.legal-head { padding-bottom: 14px; }
.legal-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 6px 0 0 -22px; padding: 4px 0 6px 22px; scrollbar-width: none; }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tabs a { text-decoration: none; }
.legal-tabs a[aria-current="page"] { background: var(--cream); box-shadow: 0 2px 4.7px rgb(0 0 0 / 0.18); -webkit-backdrop-filter: none; backdrop-filter: none; }

.doc { max-width: 720px; padding: 26px 22px 30px; }
.doc::before {   /* frost turned up for reading */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: rgb(250 247 241 / 0.62);
}
.doc { isolation: isolate; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.doc-meta li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: var(--r-pill);
               font-size: 12px; color: var(--ink-2); box-shadow: inset 0 0 0 0.5px rgb(42 33 27 / 0.25); }
.doc-meta i { font-size: 15px; color: var(--ink); }

.doc .lede { margin: 0 0 8px; font-family: var(--f-hand); font-size: 17px; line-height: 1.4; }
.doc h2 { display: flex; align-items: center; gap: 10px; margin: 30px 0 8px; font-family: var(--f-display); font-weight: 300; font-size: 22px; line-height: 1.2; }
.doc h2 i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-size: 17px; border-radius: var(--r-pill);
            background: var(--glass-inner); box-shadow: var(--glass-inner-shadow), inset 0 0 0 0.5px rgb(42 33 27 / 0.18); }
.doc p, .doc li { font-size: 15px; line-height: 1.65; max-width: 64ch; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 1.1em; }
.doc li { margin: 0 0 6px; }
.doc li::marker { color: var(--ink-3); }
.doc a { text-decoration: underline; text-decoration-thickness: 0.5px; text-underline-offset: 0.25em; }
.doc strong { font-weight: 400; }

/* a short "in one breath" box at the top of each page */
.gist { margin: 4px 0 6px; padding: 14px 16px; border-radius: var(--r-inner); background: var(--glass-inner); box-shadow: var(--glass-inner-shadow), inset 0 0 0 0.5px rgb(42 33 27 / 0.12); }
.gist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.5; }
.gist li i { font-size: 18px; line-height: 1.3; }

.doc .small { font-size: 13px; color: var(--ink-2); }

@media (min-width: 768px) {
  .doc { padding: 36px 44px 40px; }
}
