/* Pulse Moments — legal document layout (dark luxury) */
/* hide the theme's duplicate cream page-hero title (card has its own header) */
.pm-legal-page .entry-hero,
.pm-legal-page .page-hero-section,
.pm-legal-page header.entry-header { display: none !important; }
.pm-legal-page .content-container { padding-top: 40px !important; }

.pm-legal{
	max-width: 1140px; margin: 0 auto; padding: 6px 0 50px;
	display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start;
	font-family: 'Inter', sans-serif;
}
.pm-legal *{ box-sizing: border-box; }

/* ---- Table of contents ---- */
.pm-legal__toc{ position: sticky; top: 96px; }
.pm-legal__toc-card{
	background: linear-gradient(165deg,#1c2333,#141a27);
	border: 1px solid rgba(201,162,75,.2); border-radius: 16px; padding: 20px 18px;
}
.pm-legal__toc-title{
	font: 700 11px 'Inter',sans-serif; letter-spacing: 1.6px; text-transform: uppercase;
	color: #c9a24b; margin-bottom: 12px;
}
.pm-legal__toc ul{ list-style: none; margin: 0; padding: 0; }
.pm-legal__toc li{ margin: 0; }
.pm-legal__toc a{
	display: block; color: #9aa3b2; text-decoration: none; font-size: 13.5px; line-height: 1.4;
	padding: 8px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; transition: .15s;
}
.pm-legal__toc a:hover{ color: #f5efe0; background: rgba(201,162,75,.07); border-left-color: #c9a24b; }

/* ---- Document card (the box) ---- */
.pm-legal__doc{
	background: linear-gradient(180deg,#1c2333,#151b28);
	border: 1px solid rgba(255,255,255,.08); border-radius: 22px;
	padding: 38px 44px 34px; box-shadow: 0 40px 90px -50px rgba(0,0,0,.9);
}
.pm-legal__doc-head{
	display: flex; align-items: center; gap: 18px;
	padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid rgba(201,162,75,.22);
}
.pm-legal__icon{
	width: 58px; height: 58px; flex: none; border-radius: 15px; font-size: 26px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(201,162,75,.12); border: 1px solid rgba(201,162,75,.3);
}
.pm-legal__title{ font: 700 30px/1.2 'Fraunces',serif; color: #f5efe0; margin: 0 0 8px; }
.pm-legal__badge{
	display: inline-block; font: 600 12px 'Inter',sans-serif; color: #11161f;
	background: linear-gradient(135deg,#c9a24b,#e2c074); padding: 5px 13px; border-radius: 999px;
}

/* ---- Content typography ---- */
.pm-legal__content{ color: #c4ccd9; font-size: 15.5px; line-height: 1.85; }
.pm-legal__content p{ margin: 0 0 18px; }
.pm-legal__content a{ color: #e2c074; text-decoration: underline; text-underline-offset: 2px; }
.pm-legal__content a:hover{ color: #c9a24b; }
.pm-legal__content strong{ color: #f5efe0; }
.pm-legal__h{
	font: 600 19px 'Fraunces',serif !important; color: #f5efe0 !important;
	margin: 34px 0 14px !important; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06);
	scroll-margin-top: 96px;
}
.pm-legal__h:first-of-type, .pm-legal__content > .pm-legal__h:first-child{ border-top: 0; padding-top: 0; }
.pm-legal__content ul{ list-style: none; margin: 0 0 20px; padding: 0; }
.pm-legal__content ul li{
	position: relative; padding: 4px 0 4px 26px; color: #aeb6c4; margin-bottom: 6px;
}
.pm-legal__content ul li::before{
	content: ''; position: absolute; left: 4px; top: 13px;
	width: 7px; height: 7px; border-radius: 50%; background: #c9a24b;
}

/* ---- Help box ---- */
.pm-legal__help{
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	margin-top: 36px; padding: 22px 24px; border-radius: 16px;
	background: rgba(201,162,75,.07); border: 1px solid rgba(201,162,75,.25);
}
.pm-legal__help-ic{ font-size: 26px; }
.pm-legal__help h4{ margin: 0 0 3px; color: #f5efe0; font: 700 16px 'Fraunces',serif; }
.pm-legal__help p{ margin: 0; color: #9aa3b2; font-size: 13.5px; }
.pm-legal__help-btn{
	margin-left: auto; white-space: nowrap; text-decoration: none;
	background: linear-gradient(135deg,#c9a24b,#e2c074); color: #11161f !important;
	font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 11px; transition: transform .15s;
}
.pm-legal__help-btn:hover{ transform: translateY(-2px); }
.pm-legal__entity{ text-align: center; color: #6b7280; font-size: 12px; margin: 24px 0 0; }

@media (max-width: 880px){
	.pm-legal{ grid-template-columns: 1fr; }
	.pm-legal__toc{ position: static; }
	.pm-legal__doc{ padding: 28px 22px; }
	.pm-legal__help-btn{ margin-left: 0; }
}
