/* Method page: numbered chapters. Number, title, a one-line answer, then the explanation */
.method-sec { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-hair); }
.page-body .method-num { font-family: var(--font-heading); font-size: 40px; line-height: 0.86; color: var(--red); }
.page-body .method-sec h2 { margin: 14px 0 0; }
.page-body .method-answer { margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--chocolate); }
.method-body { margin-top: 16px; }
.method-body > * + * { margin-top: 14px; }
.method-body i { font-style: italic; }
.method-steps { max-width: 640px; padding-left: 22px; list-style: decimal; }
.method-steps > li + li { margin-top: 10px; }
.method-steps > li::marker { color: var(--red); font-weight: 600; }

/* A box that opens on tap, like an FAQ answer */
.method-box { max-width: 640px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-hair); transition: background-color var(--ease-normal); }
.method-box[open] { background: var(--emmental); box-shadow: none; }
.method-box summary { position: relative; padding: 14px 48px 14px 16px; font-size: 15px; font-weight: 600; color: var(--chocolate); list-style: none; cursor: pointer; }
.method-box summary::-webkit-details-marker { display: none; }
.method-box summary::before,
.method-box summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 12px; height: 2px; background: var(--red); transition: transform var(--ease-normal); }
.method-box summary::after { transform: rotate(90deg); }
.method-box[open] summary::after { transform: rotate(0deg); }
.method-box > p,
.method-box > ul { padding: 0 16px 16px; }
.method-box > ul + p { margin-top: 0; }

.method-table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.4; color: var(--chocolate); }
.method-table th { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--ink-line); font-size: 13px; font-weight: 600; text-align: left; color: var(--ink-soft); }
.method-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--ink-hair); vertical-align: top; font-variant-numeric: tabular-nums; }
.method-table td:nth-child(even) { white-space: nowrap; }
.page-body .method-note { margin-top: 8px; font-size: 13px; color: var(--ink-quiet); }
.page-body .method-formula { padding: 20px 24px; border-radius: 4px; background: var(--chocolate); font-weight: 600; line-height: 1.5; color: var(--snow); }

.method-cta { margin-top: 56px; }
.page-body .method-cta h2 { margin: 0; color: var(--snow); }
.method-cta p { margin: 8px 0 24px; }
.method-sources { margin-top: 48px; }
.method-sources ol { max-width: 640px; margin-top: 12px; padding-left: 22px; list-style: decimal; }
.method-sources li::marker { color: var(--ink-quiet); }
.page-body .method-sources li { font-size: 13px; line-height: 1.5; color: var(--ink-quiet); }
.method-sources li + li { margin-top: 6px; }

@media (max-width: 520px) {
  .method-table { font-size: 13px; }
  .method-table th, .method-table td { padding-right: 8px; }
}
.method-eg { font-family: var(--font-plate); font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
