/* A single, one-time contribution with the same surfaces and controls as the rest of TrailTrack. */
.support-page { color: var(--ink, #121922); background: var(--bg, #fff); }
.support-wrap { padding-bottom: clamp(64px, 8vw, 112px); }
.support-crumbs { margin-bottom: clamp(26px, 4vw, 48px); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); grid-template-areas: 'intro card' 'visual card'; align-items: start; column-gap: clamp(40px, 7vw, 108px); max-width: 1160px; margin-inline: auto; }
.support-intro { grid-area: intro; min-width: 0; }
.support-visual { grid-area: visual; min-width: 0; }
.support-eyebrow { color: var(--link, #c4450a); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.support-intro h1 { max-width: 13ch; margin: 16px 0 20px; color: var(--ink, #121922); font: 800 clamp(38px, 4vw, 56px)/1.08 var(--font-display, sans-serif); letter-spacing: -.035em; }
.support-lead { max-width: 57ch; margin: 0; color: var(--copy, #4b5563); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.support-copy { max-width: 57ch; color: var(--copy, #4b5563); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; }
.support-copy p { margin: 0 0 14px; }
.support-copy p:last-child { margin-bottom: 0; }
.support-scene { position: relative; overflow: hidden; height: clamp(230px, 25vw, 340px); margin-top: 32px; border-radius: 22px; background: #405748; }
.support-scene::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9, 24, 18, .72)); pointer-events: none; }
.support-scene > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.support-scene__caption { position: absolute; z-index: 1; inset: auto 24px 24px; display: flex; align-items: center; gap: 12px; color: #fff; }
.support-scene__caption > span { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(0,0,0,.25); color: #fff; font-size: 18px; }
.support-scene__caption p { max-width: 27ch; margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
.support-thanks { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; color: var(--copy, #4b5563); }
.support-thanks > span { color: var(--cta, #c4450a); font-size: 22px; line-height: 1; }
.support-thanks p { margin: 0; font-size: 14px; line-height: 1.55; }
.support-card { grid-area: card; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line, #e6e8e3); border-radius: 24px; background: var(--surface, #fff); box-shadow: 0 12px 38px rgba(18, 25, 34, .06); }
.support-card__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.support-card__icon { display: grid; flex: 0 0 48px; height: 48px; place-items: center; border-radius: 16px; color: var(--cta, #c4450a); background: var(--orange-soft, #fff1e8); font-size: 23px; }
.support-card__heading h2 { margin: 0; color: var(--ink, #121922); font: 750 21px/1.25 var(--font-display, sans-serif); letter-spacing: -.02em; }
.support-card__heading p { margin: 5px 0 0; color: var(--quiet, #6b7280); font-size: 13px; line-height: 1.45; }
.support-amounts { min-width: 0; margin: 0; padding: 0; border: 0; }
.support-amounts legend { width: 100%; margin-bottom: 12px; padding: 0; color: var(--ink, #121922); font-size: 14px; font-weight: 700; }
.support-amounts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.support-amount { display: block; min-width: 0; cursor: pointer; }
.support-amount input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.support-amount span { display: flex; justify-content: center; align-items: center; min-height: 52px; border: 1px solid var(--line-2, #d5d9d5); border-radius: 14px; background: var(--surface, #fff); color: var(--ink, #121922); font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; transition: border-color .16s, color .16s, background-color .16s; }
.support-amount:hover span { border-color: var(--cta, #c4450a); }
.support-amount input:checked + span { border-color: var(--cta, #c4450a); background: var(--orange-soft, #fff1e8); color: var(--link, #c4450a); box-shadow: inset 0 0 0 1px var(--cta, #c4450a); }
.support-amount input:disabled + span { opacity: .45; cursor: not-allowed; }
.support-amount input:focus-visible + span { outline: 2px solid var(--focus, #c4450a); outline-offset: 3px; }
.support-amount--custom { grid-column: span 2; }
.support-custom { margin-top: 14px; }
.support-custom[hidden] { display: none; }
.support-custom label { display: block; margin-bottom: 7px; color: var(--ink, #121922); font-size: 13px; font-weight: 700; }
.support-custom__field { position: relative; }
.support-custom__field input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 42px 12px 14px; border: 1px solid var(--line-2, #d5d9d5); border-radius: 12px; background: var(--surface, #fff); color: var(--ink, #121922); font: inherit; font-variant-numeric: tabular-nums; }
.support-custom__field input:focus-visible { outline: 2px solid var(--focus, #c4450a); outline-offset: 2px; }
.support-custom__field input[aria-invalid='true'] { border-color: #c43c2b; }
.support-custom__field > span { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--quiet, #6b7280); }
.support-custom small { display: block; margin-top: 6px; color: var(--quiet, #6b7280); font-size: 12px; }
.support-one-time { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--quiet, #6b7280); font-size: 13px; line-height: 1.5; }
.support-one-time svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; }
.support-submit { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 12px 18px; border: 1px solid var(--cta, #c4450a); border-radius: 999px; background: var(--cta, #c4450a); color: #fff; font: 700 15px/1.3 var(--font-text, sans-serif); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .16s; }
.support-submit:hover { background: var(--cta-hover, #a73504); color: #fff; }
.support-submit[disabled] { opacity: .55; cursor: not-allowed; }
.support-submit:focus-visible { outline: 2px solid var(--focus, #c4450a); outline-offset: 3px; }
.support-hint { margin: 12px 0 0; color: var(--quiet, #6b7280); font-size: 12px; line-height: 1.5; text-align: center; }
.support-alternative { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 20px; color: var(--link, #c4450a); font-size: 13px; line-height: 1.5; font-weight: 700; text-align: center; text-decoration: none; }
.support-alternative:hover { text-decoration: underline; text-underline-offset: 3px; }
.support-alternative:focus-visible { outline: 2px solid var(--focus, #c4450a); outline-offset: 3px; }
.support-notice { margin: -8px 0 22px; padding: 12px 14px; border: 1px solid var(--line, #e6e8e3); border-radius: 12px; background: var(--bg-soft, #f4f5f2); color: var(--ink, #121922); font-size: 13px; line-height: 1.5; }
.support-notice[hidden] { display: none; }
.support-notice.is-error { border-color: #e2a3a1; background: var(--orange-soft, #fff1e8); }
.support-result { max-width: 620px; margin: clamp(24px, 7vw, 96px) auto; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line, #e6e8e3); border-radius: 24px; background: var(--surface, #fff); box-shadow: 0 12px 38px rgba(18,25,34,.06); text-align: center; }
.support-result__icon { display: grid; width: 60px; height: 60px; margin: 0 auto 20px; place-items: center; border-radius: 20px; color: var(--cta, #c4450a); background: var(--orange-soft, #fff1e8); font-size: 28px; }
.support-result h1 { margin: 0 0 14px; color: var(--ink, #121922); font: 750 clamp(25px, 3vw, 34px)/1.2 var(--font-display, sans-serif); }
.support-result p { color: var(--copy, #4b5563); font-size: 16px; line-height: 1.6; }
.support-result__link { display: inline-flex; width: auto; min-width: 200px; margin-top: 14px; }
.support-result [hidden] { display: none; }
html[data-theme="dark"] .support-amount input:checked + span { border-color: #ff9a5c; background: #45291b; color: #ffd0ad; box-shadow: inset 0 0 0 1px #ff9a5c; }
html[data-theme="dark"] .support-card__icon,
html[data-theme="dark"] .support-result__icon { color: #ffb888; background: #45291b; }
html[data-theme="dark"] .support-eyebrow,
html[data-theme="dark"] .support-alternative,
html[data-theme="dark"] .support-thanks > span { color: #ffb888; }
@media (max-width: 850px) {
    .support-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'card' 'visual'; gap: 24px; max-width: 600px; }
    .support-scene { height: 250px; }
    .support-thanks { margin-top: 18px; }
}
@media (max-width: 480px) {
    .support-intro h1 { margin-block: 12px 14px; font-size: 36px; }
    .support-lead { font-size: 15px; }
    .support-scene { height: 180px; margin-top: 0; border-radius: 18px; }
    .support-scene__caption { inset: auto 16px 16px; }
    .support-scene__caption p { font-size: 14px; }
    .support-card { padding: 22px 18px; border-radius: 20px; }
    .support-card__heading { margin-bottom: 24px; }
    .support-amounts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .support-amount span, .support-submit { transition: none; } }

.support-widget-frame { width: 100%; margin-top: 20px; overflow-x: auto; border-radius: 12px; background: #fff; }
.support-widget-frame iframe { display: block; width: 100%; min-width: 330px; height: 76px; border: 0; }
.support-terms { margin-top: 20px; color: var(--copy, #4b5563); font-size: 13px; line-height: 1.5; }
.support-terms summary { color: var(--ink, #121922); cursor: pointer; font-weight: 700; }
.support-terms p { margin: 10px 0 0; }
