/* ==========================================================================
   StarzMeet — Legal / info pages (child theme template-legal.php)
   Lightweight, readable article styling shared by Terms, Disclaimer,
   Accessibility, and Privacy. Tokens shared with the other StarzMeet sheets.
   ========================================================================== */

.sm-legal {
	--sm-teal: #7c3aed;
	--sm-teal-dark: #6d28d9;
	--sm-ink: #0f172a;
	--sm-muted: #64748b;
	--sm-line: #e5e7eb;
	--sm-soft: #f8fafc;
	--sm-mint: #e8f5f0;
	--sm-mint-line: #b7e3d4;
	background: #fff;
	padding: 48px 20px 64px;
}
.sm-legal__inner {
	max-width: 760px;
	margin: 0 auto;
}

/* ---- Header ------------------------------------------------------------ */
.sm-legal__head {
	padding-bottom: 22px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--sm-line);
}
.sm-legal__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sm-teal);
	margin-bottom: 10px;
}
.sm-legal__title {
	font-size: 34px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 0 0 12px;
}
.sm-legal__meta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 6px 13px;
	background: var(--sm-soft);
	border: 1px solid var(--sm-line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--sm-muted);
}
.sm-legal__meta i { color: var(--sm-teal); }

/* ---- Article ----------------------------------------------------------- */
.sm-legal__article {
	color: #334155;
	font-size: 16px;
	line-height: 1.75;
}
.sm-legal__article > p:first-child {
	font-size: 17px;
	color: #1e293b;
}
.sm-legal__article h2 {
	font-size: 21px;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 34px 0 12px;
	scroll-margin-top: 90px;
}
.sm-legal__article h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 24px 0 8px;
}
.sm-legal__article p { margin: 0 0 16px; }
.sm-legal__article ul,
.sm-legal__article ol {
	margin: 0 0 18px;
	padding-left: 0;
	list-style: none;
}
.sm-legal__article ul li,
.sm-legal__article ol li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 9px;
	line-height: 1.65;
}
.sm-legal__article ul li::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sm-teal);
}
/* Numbered lists keep their numbers, in brand colour. */
.sm-legal__article ol { counter-reset: sm-ol; }
.sm-legal__article ol li { counter-increment: sm-ol; }
.sm-legal__article ol li::before {
	content: counter(sm-ol);
	position: absolute;
	left: 0;
	top: 1px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--sm-teal-dark);
	background: var(--sm-mint);
	border-radius: 6px;
	min-width: 19px;
	height: 19px;
	line-height: 19px;
	text-align: center;
}
.sm-legal__article a {
	color: var(--sm-teal-dark);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--sm-mint-line);
}
.sm-legal__article a:hover { border-bottom-color: var(--sm-teal-dark); }
.sm-legal__article strong { color: var(--sm-ink); }
.sm-legal__article table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
	font-size: 14.5px;
}
.sm-legal__article th,
.sm-legal__article td {
	border: 1px solid var(--sm-line);
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}
.sm-legal__article th { background: var(--sm-soft); color: var(--sm-ink); font-weight: 600; }

/* ---- Related policies nav --------------------------------------------- */
.sm-legal__related {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--sm-line);
}
.sm-legal__related-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--sm-muted);
	margin-bottom: 12px;
}
.sm-legal__related ul {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sm-legal__related li { margin: 0; }
.sm-legal__chip {
	display: inline-block;
	padding: 8px 15px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--sm-line);
	color: var(--sm-ink);
	transition: border-color .15s, color .15s, background .15s;
}
a.sm-legal__chip:hover {
	color: var(--sm-teal-dark);
	border-color: var(--sm-mint-line);
	background: var(--sm-mint);
}
.sm-legal__chip.is-current {
	background: var(--sm-mint);
	border-color: var(--sm-mint-line);
	color: var(--sm-teal-dark);
	font-weight: 600;
}
.sm-legal__chip--contact {
	background: var(--sm-teal);
	border-color: var(--sm-teal);
	color: #fff;
}
a.sm-legal__chip--contact:hover {
	background: var(--sm-teal-dark);
	border-color: var(--sm-teal-dark);
	color: #fff;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 560px) {
	.sm-legal { padding: 32px 16px 48px; }
	.sm-legal__title { font-size: 27px; }
	.sm-legal__article { font-size: 15.5px; }
}
