@import url("/fonts/montserrat.css?v=20260724-all1");

/* Human Method page - page-specific styles.
   Shared layout, hero, buttons, facts and sections come from /lab/lab.css. */

/* ---------- proven / not proven split ---------- */

.hm-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hm-split-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-overlay);
}

.hm-split-card h3 {
    margin: 12px 0 0;
    font-family: var(--font-brand);
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--text-main);
}

.hm-split-card p {
    margin: 12px 0 0;
    font-size: 0.95rem;
    line-height: 1.68;
    color: var(--text-muted);
    max-width: none;
}

.hm-split-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-family: var(--font-brand);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hm-split-yes {
    border-color: rgba(77, 228, 255, 0.28);
}

.hm-split-yes .hm-split-tag {
    color: var(--accent-secondary);
    border: 1px solid rgba(77, 228, 255, 0.4);
}

.hm-split-no {
    border-color: rgba(255, 61, 232, 0.28);
}

.hm-split-no .hm-split-tag {
    color: var(--accent-color);
    border: 1px solid rgba(255, 61, 232, 0.4);
}

/* ---------- formula card ---------- */

.hm-formula-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding: 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(77, 228, 255, 0.24);
    background: linear-gradient(140deg, rgba(77, 228, 255, 0.06), rgba(255, 61, 232, 0.04));
}

.hm-formula {
    font-family: var(--font-brand);
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.hm-exact-number {
    font-family: var(--font-brand);
    font-size: clamp(0.78rem, 1.7vw, 1.02rem);
    color: var(--accent-secondary);
    letter-spacing: 0.04em;
    word-break: break-all;
    line-height: 1.5;
}

/* ---------- collapsible proof ---------- */

.hm-proof {
    margin-top: 18px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    overflow: hidden;
}

.hm-proof summary {
    padding: 16px 22px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-brand);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--accent-secondary);
    transition: background 0.15s ease;
}

.hm-proof summary::-webkit-details-marker {
    display: none;
}

.hm-proof summary::before {
    content: '+';
    display: inline-block;
    width: 1.2em;
    margin-right: 8px;
    color: var(--accent-color);
    font-weight: 700;
}

.hm-proof[open] summary::before {
    content: '−';
}

.hm-proof summary:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hm-proof-steps {
    margin: 6px 0 0;
    padding: 0 24px 8px 44px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hm-proof-steps li {
    margin-bottom: 12px;
}

.hm-proof-steps strong {
    color: var(--text-main);
}

.hm-proof-note {
    margin: 0;
    padding: 8px 24px 18px;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: none;
}

.hm-proof-note strong {
    color: var(--text-main);
}

/* ---------- progress list ---------- */

.hm-progress-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    max-width: 760px;
}

.hm-progress-list li {
    position: relative;
    padding: 14px 18px 14px 44px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-overlay);
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.hm-progress-list li::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: var(--accent-color);
    font-weight: 700;
}

/* ---------- misc ---------- */

.hm-mail {
    color: var(--accent-secondary);
    text-decoration: none;
}

.hm-mail:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .hm-split {
        grid-template-columns: 1fr;
    }
}
