/* ────────────────────────────────────────────────────────
   LEGAL DOCUMENT
   Same editorial system as the rest of the site: left-aligned
   heading at weight 600, an amber eyebrow, and a rule instead
   of a decorative dash.
   ──────────────────────────────────────────────────────── */

.mbx-legal {
    background: #ffffff;
    padding: 148px 0 96px;
}

@media (max-width: 760px) {
    .mbx-legal {
        padding: 118px 0 64px;
    }
}

.mbx-legal__shell {
    margin: 0 auto;
    /* Deliberately narrow: this is a reading measure, not a page container,
       so it does not line up with the logo. The gutter still follows the
       shared token so it matches the header on a phone. */
    max-width: 760px;
    padding-left: var(--mbx-shell-pad);
    padding-right: var(--mbx-shell-pad);
}

.mbx-legal__head {
    border-bottom: 1px solid var(--mbx-line);
    padding-bottom: 32px;
}

.mbx-legal__eyebrow {
    color: #a36309;
    font-size: var(--mbx-type-micro);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.mbx-legal__title {
    color: var(--mbx-ink);
    font-size: var(--mbx-type-display-sm);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin: 0;
}

.mbx-legal__meta {
    color: var(--mbx-muted);
    font-size: var(--mbx-type-meta);
    margin: 18px 0 0;
}

.mbx-legal__body {
    padding-top: 40px;
}

/* ── DOCUMENT BODY ───────────────────────────────────────
   These rules lived in assets/css/single-post.css, which was
   never enqueued anywhere, so every legal document rendered
   with browser defaults: no heading scale, no paragraph
   rhythm, no list markers. They now sit with the only
   template that uses them. */
.medibyx-prose {
    color: var(--mbx-muted);
    font-size: var(--mbx-type-body);
    line-height: 1.8;
}

.medibyx-prose > :first-child { margin-top: 0; }

.medibyx-prose p { margin: 0 0 1.25rem; }

.medibyx-prose h2 {
    color: var(--mbx-ink);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 2.5rem 0 0.75rem;
}

.medibyx-prose h3 {
    color: var(--mbx-ink);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 2rem 0 0.5rem;
}

.medibyx-prose ul,
.medibyx-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.medibyx-prose li { margin-bottom: 0.5rem; }

.medibyx-prose strong { color: var(--mbx-ink); font-weight: 600; }

.medibyx-prose blockquote {
    border-left: 2px solid var(--mbx-line);
    color: var(--mbx-ink);
    margin: 1.75rem 0;
    padding: 0.25rem 0 0.25rem 1.25rem;
}

.medibyx-prose img {
    border-radius: 12px;
    display: block;
    height: auto;
    margin: 1.75rem 0;
    max-width: 100%;
}

.medibyx-prose pre {
    background: var(--mbx-sand);
    border-radius: 10px;
    font-size: var(--mbx-type-meta);
    margin: 1.5rem 0;
    overflow-x: auto;
    padding: 1rem 1.25rem;
}

/* Body-size links take the small-text tier of the accent scale, about
   5.43:1 on white. #F09005 is roughly 2.41:1 and belongs on headings
   and filled buttons, not on a paragraph link. */
.medibyx-prose a {
    color: #9A5B00;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(154, 91, 0, 0.35);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.medibyx-prose a:hover {
    color: #7A4800;
    text-decoration-color: #9A5B00;
}

.medibyx-prose a:focus-visible {
    outline: 2px solid var(--mbx-orange);
    outline-offset: 3px;
}
