/* ============================================================
   Methodology page - the PropFirmMap Score, explained (2026-06).
   Premium light: white cards on the brand background, indigo accents.
   ============================================================ */

.mth-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    font-family: var(--font-family-base, 'Inter', system-ui, sans-serif);
}

/* hero (on the brand background) */
.mth-hero { text-align: center; margin-bottom: 26px; }
.mth-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: #ffffff;
    background: rgba(255, 255, 255, 0.18); /* bleed-ok: chip on the brand gradient */
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 5px 13px; border-radius: 20px; margin-bottom: 14px;
}
.mth-title { font-size: 38px; font-weight: 800; color: #ffffff; margin: 0 0 12px; line-height: 1.1; }
.mth-sub { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); max-width: 720px; margin: 0 auto; }
.mth-sub strong { color: #ffffff; }

/* independence callout */
.mth-independence {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--color-surface-card, #ffffff);
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-left: 4px solid #10b981;
    border-radius: 14px; padding: 18px 20px; margin-bottom: 22px;
    box-shadow: 0 8px 28px rgba(91, 76, 178, 0.08);
}
.mth-independence .bx { font-size: 26px; color: #10b981; flex: 0 0 auto; margin-top: 2px; }
.mth-independence div { font-size: 14px; line-height: 1.6; color: var(--color-text-mid, #555); }
.mth-independence strong { color: var(--color-text-primary, #1a1a2e); }
.mth-independence a { color: #6366f1; font-weight: 600; }

/* cards */
.mth-card {
    background: var(--color-surface-card, #ffffff);
    border: 1px solid var(--color-border-light, #e5e7eb);
    border-radius: 16px; padding: 24px 26px; margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(91, 76, 178, 0.07);
}
.mth-h2 { font-size: 20px; font-weight: 800; color: var(--color-text-primary, #1a1a2e); margin: 0 0 8px; }
.mth-lead { font-size: 14.5px; line-height: 1.65; color: var(--color-text-mid, #555); margin: 0 0 18px; }
.mth-lead strong { color: var(--color-text-primary, #1a1a2e); }

/* weights bar */
.mth-weightbar { display: flex; height: 30px; border-radius: 9px; overflow: hidden; margin-bottom: 12px; box-shadow: inset 0 0 0 1px rgba(17,24,39,0.05); }
.mth-weightseg { height: 100%; transition: filter 0.15s ease; }
.mth-weightseg:hover { filter: brightness(1.08); }
.mth-weightlegend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 22px; }
.mth-legitem { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--color-text-gray, #666); }
.mth-legitem strong { color: var(--color-text-primary, #1a1a2e); }
.mth-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* pillar cards */
.mth-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mth-pillar { background: #faf9ff; border: 1px solid #efeafb; border-radius: 12px; padding: 16px 17px; }
.mth-pillar-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mth-pillar-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.mth-pillar-name { font-size: 15px; font-weight: 700; color: var(--color-text-primary, #1a1a2e); flex: 1; }
.mth-pillar-weight { font-size: 16px; font-weight: 800; }
.mth-pillar-blurb { font-size: 13px; line-height: 1.55; color: var(--color-text-mid, #555); margin: 0; }

/* worked example */
.mth-example { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.mth-example-score {
    flex: 0 0 auto; width: 130px; height: 130px; border-radius: 50%;
    border: 5px solid #6366f1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative; background: #fff;
}
.mth-example-num { font-size: 42px; font-weight: 800; color: var(--color-text-primary, #1a1a2e); line-height: 1; }
.mth-example-of { font-size: 13px; color: #9a93b8; }
.mth-example-grade { position: absolute; bottom: -10px; color: #fff; font-size: 13px; font-weight: 800; padding: 2px 12px; border-radius: 20px; }
.mth-example-bars { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 9px; }
.mth-bar-row { display: flex; align-items: center; gap: 10px; }
.mth-bar-label { flex: 0 0 130px; font-size: 12.5px; color: var(--color-text-gray, #666); }
.mth-bar-track { flex: 1; height: 9px; background: #f0eef8; border-radius: 5px; overflow: hidden; }
.mth-bar-fill { display: block; height: 100%; border-radius: 5px; }
.mth-bar-val { flex: 0 0 30px; text-align: right; font-size: 13px; font-weight: 700; color: var(--color-text-primary, #1a1a2e); }

/* cta */
.mth-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.mth-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; padding: 13px 24px; border-radius: 12px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mth-btn--primary { background: linear-gradient(135deg, #6d5ef0, #5a49bf); color: #fff; box-shadow: 0 6px 18px rgba(90, 73, 191, 0.34); }
.mth-btn--primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 8px 24px rgba(90, 73, 191, 0.42); }
.mth-btn--ghost { background: rgba(255, 255, 255, 0.92); color: #46406b; border: 1px solid #e5e7eb; }
.mth-btn--ghost:hover { background: #fff; color: #46406b; }

@media (max-width: 720px) {
    .mth-title { font-size: 30px; }
    .mth-pillars { grid-template-columns: 1fr; }
    .mth-example { justify-content: center; }
}

/* embed badge */
.mth-embed { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mth-embed img { border-radius: 12px; }
.mth-embed-code { display: block; width: 100%; box-sizing: border-box; background: #1a1a2e; color: #c8c4e0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; line-height: 1.5; padding: 14px 16px; border-radius: 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
