/* ============================================================================
   summit.css  —  ⛰️ The Summit engine styling (.smt-*)
   A sunrise mountain; a climber walks a switchback trail to the peak and raises
   the chosen goal on a banner. Self-contained.
   ============================================================================ */
.smt-stage { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 55px -20px rgba(40, 30, 80, .5); line-height: 0; }
.smt-scene { display: block; width: 100%; height: auto; }

.smt-climber { transition: transform .05s linear; }
/* banner text lives in an SVG <foreignObject> so it centres vertically and wraps long goals */
.smt-fo { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4px 16px; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
.smt-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: #6d5ae0; opacity: 0; transition: opacity .3s ease; margin-bottom: 6px; }
.smt-goalrow { display: flex; align-items: center; justify-content: center; gap: 9px; }
.smt-badge { font-size: 24px; line-height: 1; flex: none; }
.smt-name { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 700; line-height: 1.14; color: #2a2745; }
.smt-name.smt-name-idle { color: #9a94b8; font-style: italic; }
/* the goal banner settles when the climb finishes (translate/opacity only — origin-safe on an SVG group) */
.smt-stage.smt-done .smt-banner { animation: smtPlant .5s cubic-bezier(.2, .8, .3, 1.1) both; }
@keyframes smtPlant { 0% { transform: translateY(-9px); opacity: .55; } 100% { transform: translateY(0); opacity: 1; } }

/* set-goal button + when knob + effects */
.smt-pickbtn-wrap { text-align: center; }
.smt-pickbtn-main {
    display: inline-flex; align-items: center; gap: 8px; margin: 16px auto 0; font-size: 15px; font-weight: 800; color: #fff;
    padding: 12px 32px; border-radius: 24px; border: 0; cursor: pointer; letter-spacing: .4px;
    background: linear-gradient(135deg, var(--smt-grad-a, #8b7ef0), var(--smt-grad-b, #6d5ae0)); box-shadow: 0 8px 22px -6px rgba(109, 90, 224, .55);
}
.smt-when-row { margin-top: 16px; }
.smt-when-row label { font-size: 13px; font-weight: 600; color: var(--theme-text, #1a1a2e); display: flex; align-items: center; gap: 8px; }
.smt-when-row .smt-when-val { color: var(--smt-accent, #6d5ae0); font-weight: 800; }
.smt-when-row input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--smt-accent, #6d5ae0); }
.smt-effects { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--theme-text, #1a1a2e); }
.smt-effects label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.smt-items-ta { width: 100%; min-height: 240px; font-family: monospace; font-size: .9rem; line-height: 1.5; border-radius: 10px; border: 1px solid var(--theme-border, #d7dbe0); background: var(--theme-bg, #fff); color: var(--theme-text, #1a1a2e); padding: 10px 12px; resize: vertical; }
.smt-items-ta:focus { outline: 2px solid var(--smt-accent, #6d5ae0); outline-offset: 1px; border-color: transparent; }

.page-smt-scope {
    --wsp-result-accent: #6d5ae0;
    --wsp-result-grad: linear-gradient(135deg, #8b7ef0, #6d5ae0);
    --wsp-result-plate: rgba(109, 90, 224, .12);
}

/* ── SEO content (.smt-content) — type scale from .content-guide; colour only ── */
.smt-content { color: var(--theme-text, #1a1a2e); background: var(--theme-bg, #fff); padding: 3.25rem 0 3.5rem; margin-top: 1rem; border-top: 1px solid var(--theme-border, #e9ecef); }
.smt-inner { max-width: 860px; margin: 0 auto; padding: 0 1rem; }
.smt-content h2, .smt-content h3 { color: var(--theme-text, #1a1a2e); }
.smt-content p, .smt-content li { color: var(--theme-muted, #5b6470); }
.smt-content strong { color: var(--theme-text, #1a1a2e); }
.smt-content a { color: #6d5ae0; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.smt-kicker-chip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #8b7ef0, #6d5ae0); border-radius: 999px; padding: .3rem .85rem; margin-bottom: .95rem; }
.smt-content .smt-lead { font-size: 1.2rem; line-height: 1.7; color: var(--theme-text, #1a1a2e); margin-bottom: 1.25rem; }
.smt-section { margin-top: 2.9rem; }
.smt-content .table { font-size: 1rem; }
.smt-content .table thead th { text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; font-weight: 800; color: #fff; background: #6d5ae0; padding: .7rem 1rem; }
.smt-content .table tbody td { padding: .6rem 1rem; border-bottom: 1px solid var(--theme-border, #e9ecef); vertical-align: top; }
.smt-content .table tbody td:first-child { font-weight: 700; color: var(--theme-text, #1a1a2e); white-space: nowrap; }
.smt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.smt-pair-card { background: var(--theme-surface, #f8f9fa); border: 1px solid var(--theme-border, #e9ecef); border-radius: 12px; padding: 1rem 1.1rem; border-top: 3px solid #8b7ef0; }
.smt-pair-card h3 { margin-top: 0 !important; font-size: 1.02rem !important; } .smt-pair-card p:last-child { margin-bottom: 0; font-size: .92rem; }
.smt-faq { margin-top: 1.4rem; }
.smt-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--theme-border, #e9ecef); }
.smt-faq .accordion-button { background: transparent; color: var(--theme-text, #1a1a2e); font-weight: 600; padding-left: 0; padding-right: 2.5rem; box-shadow: none; }
.smt-faq .accordion-button:not(.collapsed) { color: #6d5ae0; background: transparent; }
.smt-faq .accordion-button:focus { box-shadow: none; }
.smt-faq .accordion-body { padding-left: 0; color: var(--theme-muted, #5b6470); }
@media (max-width: 767.98px) { .smt-pair { grid-template-columns: 1fr; } }
body[data-theme="high-contrast"] .smt-content p, body[data-theme="high-contrast"] .smt-content li, body[data-theme="high-contrast"] .smt-content .smt-lead { color: rgba(255,255,255,.84); }
body[data-theme="high-contrast"] .smt-content h2, body[data-theme="high-contrast"] .smt-content h3 { color: #fff; }
