/* Legal document styles (lists, tables) + Bingey theme */
.legal-list {
	list-style: none;
	counter-reset: item;
	padding-left: 0;
}

.legal-list li {
	counter-increment: item;
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1rem;
	scroll-margin-top: 70px;
}

.legal-list li::before {
	content: counter(item) ".";
	font-weight: bold;
	position: absolute;
	left: 0;
}

.legal-list li > ol {
	counter-reset: subitem;
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.legal-list li > ol > li {
	counter-increment: subitem;
	padding-left: 2.5rem;
}

.legal-list li > ol > li::before {
	content: counter(item) "." counter(subitem) ".";
	left: 0;
}

.legal-list li > ol > li > ol {
	counter-reset: subsubitem;
	padding-left: 0;
	margin: 0;
}

.legal-list li > ol > li > ol > li {
	counter-increment: subsubitem;
	padding-left: 3rem;
}

.legal-list li > ol > li > ol > li::before {
	content: counter(item) "." counter(subitem) "." counter(subsubitem) ".";
	left: 0;
}

.legal-list li > p {
	margin-bottom: 1rem;
}

.legal-bullet-list {
	list-style-type: disc;
	padding-left: 2rem;
	margin: 0.5rem 0;
}

.legal-bullet-list li {
	padding-left: 0;
	counter-increment: none;
	position: static;
	margin-bottom: 0.5rem;
}

.legal-bullet-list li::before {
	content: none !important;
	display: none;
}

.legal-bullet-list,
.legal-bullet-list li {
	list-style-type: disc;
	counter-reset: none;
}

.legal-alpha-list {
	list-style: none;
	counter-reset: alphaItem;
	padding-left: 0;
	margin: 0;
	counter-reset: alphaItem !important;
}

.legal-alpha-list li {
	counter-increment: alphaItem !important;
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	counter-reset: none !important;
}

.legal-alpha-list li::before {
	content: "(" counter(alphaItem, lower-alpha) ")" !important;
	position: absolute;
	left: 0;
	font-weight: normal;
}

.legal-alpha-list.legal-alpha-list li::before {
	content: "(" counter(alphaItem, lower-alpha) ")" !important;
	font-weight: normal;
}

.legal-doc {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.legal-doc h1 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.legal-doc h2 {
	font-size: 16px;
	font-weight: 800;
	margin: 0;
}

.legal-doc a {
	color: #0000ee;
	text-decoration: underline;
	cursor: pointer;
}

.legal-doc a:visited,
.legal-doc a:hover {
	color: #551a8b;
}

.legal-doc [id] {
	scroll-margin-top: 70px;
}

.legal-doc .legal-center {
	text-align: center;
}

.legal-doc .legal-numbered {
	list-style: decimal;
	padding-left: 1.5rem;
	margin: 0;
}

.legal-doc .legal-numbered > li {
	margin-bottom: 0.5rem;
}

.legal-doc .legal-numbered > li > p {
	margin: 0;
}

.legal-doc p {
	margin: 0;
}

.legal-doc .legal-inline-button {
	border: none;
	background: transparent;
	padding: 0;
	font: inherit;
	color: #0000ee;
	text-decoration: underline;
	cursor: pointer;
}

.legal-doc .legal-doc-disclaimer {
	border: 1px solid #ccc;
	background: #f7f7f7;
	padding: 12px;
	font-style: italic;
}

.legal-doc .legal-indented {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0 0 1rem 1.5rem;
}

.legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-size: 12px;
	table-layout: fixed;
	border: none;
}

.legal-table ul {
	padding: 5px;
}

.legal-table th {
	border: none;
	border-right: 1px solid #000;
	border-bottom: 2px solid #000;
	padding: 12px;
	text-align: left;
	font-weight: bold;
	vertical-align: top;
	background-color: white;
}

.legal-table th:last-child {
	border-right: none;
}

.legal-table td {
	border: none;
	border-right: 1px solid #000;
	padding: 12px;
	text-align: left;
	vertical-align: top;
	background-color: white;
}

.legal-table td:last-child {
	border-right: none;
}

.legal-table td > p {
	margin-bottom: 0.5rem;
	margin-top: 0;
}

.legal-table td > p:last-child {
	margin-bottom: 0;
}

.legal-table tr:not(:last-child) {
	border-bottom: 1px solid #000;
}

/* ── Bingey theme for legal pages ── */
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #040405; color: #dadde3;
  font-family: "Albert Sans", Arial, Helvetica, sans-serif;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.legal-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  background: rgba(4,4,5,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.legal-brand { display: flex; align-items: center; gap: 8px; color: #F3F4F5; text-decoration: none;
  font-family: Outfit, "Albert Sans", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.015em; }
.legal-header nav { display: flex; gap: 20px; font-size: 14px; font-weight: 600; }
.legal-header nav a { color: #aaaeb6; text-decoration: none; }
.legal-header nav a:hover, .legal-header nav a[aria-current="page"] { color: #fff; }
.legal-header a:focus-visible, .legal-doc a:focus-visible, .legal-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.legal-doc { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; overflow-wrap: anywhere; }
.legal-doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 8px; }
.legal-doc b { color: #fff; }
.legal-doc a, .legal-doc .legal-inline-button { color: #2EE6B0; }
.legal-doc a:visited, .legal-doc a:hover { color: #7ff5d2; }
.legal-doc .legal-doc-disclaimer { background: #1c1c21; border-color: rgba(255,255,255,.1); }

.legal-table { font-size: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; table-layout: auto; }
.legal-table th, .legal-table td { background-color: transparent; color: #dadde3; border-color: rgba(255,255,255,.12); min-width: 140px; }
.legal-table th { background-color: #1c1c21; color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.legal-table tr:not(:last-child) { border-bottom-color: rgba(255,255,255,.12); }

.legal-footer { max-width: 820px; margin: 0 auto; padding: 28px 24px 48px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #aaaeb6; }
.legal-footer a { color: #dadde3; }

/* ── Docx-generated structure (2026-11-27) ── */
.legal-doc h2 { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin: 1.25rem 0 0; scroll-margin-top: 80px; }
.legal-doc h2 .num { margin-right: .35em; }
.legal-doc strong { color: #fff; }
.legal-doc .item { display: flex; gap: .6em; }
.legal-doc .item .num { flex: none; min-width: 1.6em; font-weight: 700; color: #fff; }
.legal-doc .item.lv1 { padding-left: 1.25rem; }
.legal-doc .item.lv1 .num { min-width: 2.4em; }
.legal-doc .item.lv2 { padding-left: 2.5rem; }
.legal-doc .item.lv2 .num { min-width: 3.2em; }
.legal-doc .item.toc { margin: -.6rem 0 0; }
.legal-doc .item.toc a { text-decoration: none; }
.legal-doc .item.toc a:hover { text-decoration: underline; }
.legal-doc ul { margin: 0; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.legal-doc ul.lv1 { padding-left: 3rem; list-style-type: circle; }
.legal-doc ul.lv2 { padding-left: 4.5rem; list-style-type: square; }
.legal-doc details.see-more { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 16px; background: #0d0d10; }
.legal-doc details.see-more > summary { cursor: pointer; font-weight: 700; color: #2EE6B0; }
.legal-doc details.see-more > * + * { margin-top: 1rem; }
.legal-doc .table-wrap { overflow-x: auto; }
.legal-doc .table-wrap .legal-table { display: table; margin: 0; }
.legal-table td p, .legal-table th p { margin: 0 0 .4rem; }
