/* Start custom CSS *//* ============================================================
   PEPTYNE — LEGAL / TERMS PAGE  (static, premium, readable)
   ============================================================ */

.pm-legal-page {
    max-width: 820px;
    margin: 50px auto;
    padding: 56px 60px;
    background: #0F1626;
    border: 1px solid #1E293B;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    color: #C9D3E0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
}

/* Teal top accent bar on the document */
.pm-legal-page::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00C9B7, #33D4C5, #00C9B7);
    border-radius: 16px 16px 0 0;
}

/* Title */
.pm-legal-page h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    line-height: 1.1;
}

/* "Last updated" meta */
.pm-legal-page .pm-legal-updated {
    color: #6B7C93;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 4px;
}

/* Section headings — teal, numbered feel */
.pm-legal-page h2 {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #00C9B7;
    margin: 44px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1E293B;
}

.pm-legal-page h3 {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 600;
    margin: 26px 0 10px;
}

/* First paragraph — slightly larger intro */
.pm-legal-page > p:first-of-type,
.pm-legal-page h1 + p {
    font-size: 18px;
    color: #E2E8F0;
}

/* Body text */
.pm-legal-page p { margin: 0 0 16px; }

/* Lists — teal markers, comfortable spacing */
.pm-legal-page ul,
.pm-legal-page ol {
    margin: 0 0 20px;
    padding-left: 26px;
}
.pm-legal-page li {
    margin: 9px 0;
    padding-left: 6px;
}
.pm-legal-page ul li::marker { color: #00C9B7; }
.pm-legal-page ol li::marker { color: #00C9B7; font-weight: 600; }

/* Strong / emphasis */
.pm-legal-page strong { color: #FFFFFF; font-weight: 600; }

/* Links */
.pm-legal-page a {
    color: #00C9B7;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,201,183,.35);
    transition: border-color .2s ease;
}
.pm-legal-page a:hover { border-bottom-color: #00C9B7; }

/* The all-caps RUO / disclaimer paragraphs → highlighted "callout" block */
.pm-legal-page p strong:only-child,
.pm-legal-page h2 + p strong {
    display: block;
}
.pm-legal-page p:has(strong:only-child) {
    background: rgba(0,201,183,.07);
    border-left: 3px solid #00C9B7;
    border-radius: 8px;
    padding: 16px 20px;
    color: #00C9B7;
    font-weight: 500;
    letter-spacing: .02em;
}

/* Accent divider line */
.pm-legal-page .pm-usa-accent-line,
.pm-legal-page .pm-accent-line {
    height: 2px;
    background: linear-gradient(90deg, #00C9B7, transparent);
    border: none;
    margin: 18px 0 30px;
}

/* Contact / signature block at the bottom */
.pm-legal-page h2:last-of-type ~ p:last-of-type {
    background: #0A0F1A;
    border: 1px solid #1E293B;
    border-radius: 10px;
    padding: 20px 24px;
    color: #C9D3E0;
}

/* Mobile */
@media (max-width: 768px) {
    .pm-legal-page { padding: 32px 22px; margin: 20px; }
    .pm-legal-page h1 { font-size: 32px; }
}/* End custom CSS */