/* ---------- the questions board: hero with a card stack, starters, filterable list, live-preview ask form ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }

/* tones for topics: soft fill + deep ink, all from the house range */
.t-pine { --tf: var(--pine-soft); --ti: var(--pine-deep); }
.t-brass { --tf: var(--brass-soft); --ti: var(--brass-ink); }
.t-sky { --tf: #e7eff7; --ti: #24496b; }
.t-rose { --tf: #f6ebea; --ti: #8a3d37; }
.t-sage { --tf: #edf1e4; --ti: #4c5d2a; }

/* hero */
.qhero { position: relative; overflow: hidden; background: var(--pine-wash); border-bottom: 1px solid var(--line); }
.qhero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(18, 107, 80, 0.13) 1px, transparent 0); background-size: 22px 22px; mask-image: linear-gradient(100deg, transparent 35%, #000 75%); pointer-events: none; }
.qhero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(52px, 7.5vw, 104px); }
.qhero-text { display: grid; gap: 20px; animation: st-in 0.7s var(--ease) both; }
.qhero h1 { font: 600 clamp(2.3rem, 4.6vw, 3.7rem)/1.05 var(--serif); letter-spacing: -0.018em; color: var(--ink); max-width: 15ch; }
.qhero h1 em { font-style: italic; color: var(--pine); position: relative; white-space: nowrap; }
.qhero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em; background: var(--brass-soft); z-index: -1; border-radius: 2px; }
.qhero h1 { position: relative; z-index: 0; }

.qstart { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qstart > span { font: 600 0.8rem/1 var(--sans); color: var(--sub); margin-right: 4px; }
.qstart-b { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 0.92rem/1.1 var(--serif-text); font-style: italic; cursor: pointer; box-shadow: 0 1px 2px rgba(20, 40, 59, 0.04); transition: transform 0.15s var(--ease), border-color 0.15s, box-shadow 0.15s; }
.qstart-b:hover { transform: translateY(-2px); border-color: var(--pine-2); box-shadow: var(--sh); color: var(--pine-deep); }

.qnums { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.qnums > div { display: grid; gap: 4px; padding-right: clamp(18px, 3vw, 34px); margin-right: clamp(18px, 3vw, 34px); border-right: 1px solid var(--line); }
.qnums > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.qnums b { font: 600 1.75rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.qnums b.brass { color: var(--brass-ink); }
.qnums b.pine { color: var(--pine); }
.qnums span { font-size: 0.82rem; color: var(--sub); }

/* the card stack on the right */
.qstack { position: relative; min-height: 330px; display: grid; place-items: center; animation: st-in 0.8s 0.12s var(--ease) both; }
.qcard { position: absolute; width: min(100%, 420px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.qcard.back2 { height: 250px; transform: rotate(-7deg) translate(-26px, 18px); background: var(--cream); }
.qcard.back1 { height: 260px; transform: rotate(4deg) translate(22px, 6px); background: var(--mist); }
.qcard.front { position: relative; display: grid; gap: 16px; padding: 28px 28px 24px; color: var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.qcard.front:hover { text-decoration: none; transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 4px 8px rgba(20, 40, 59, 0.06), 0 30px 64px rgba(20, 40, 59, 0.16); }
.qcard.front > b { font: 600 1.55rem/1.22 var(--serif); }
.qcard.front > small { color: var(--sub); }
.qcard-flag { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-ink); background: var(--brass-soft); padding: 6px 9px; border-radius: 999px; }
.qcard-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 0.88rem; color: var(--sub); }
.qcard-foot strong { color: var(--ink); font: 600 1.05rem/1 var(--sans); font-variant-numeric: tabular-nums; }
@media (max-width: 940px) { .qhero-in { grid-template-columns: minmax(0, 1fr); } .qstack { min-height: 300px; } }

/* progress tracker: posted -> in review -> open challenge */
.qtrack { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; font: 600 0.72rem/1 var(--sans); color: var(--faint); }
.qtrack li { display: flex; align-items: center; gap: 6px; }
.qtrack li + li::before { content: ""; width: 18px; height: 1.5px; background: var(--line-strong); margin: 0 7px; }
.qtrack li.done + li::before, .qtrack li.on + li.on::before { background: var(--pine-2); }
.qtrack i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; }
.qtrack li.done i { background: var(--pine-2); border-color: var(--pine-2); }
.qtrack li.on i { background: var(--pine); border-color: var(--pine); animation: beat 2.2s ease-in-out infinite; }
.qtrack li.on { color: var(--pine-deep); }
.qtrack li:not(.on) span { display: none; }

/* board */
.qboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.qaside { position: sticky; top: 92px; }
@media (max-width: 980px) { .qboard { grid-template-columns: minmax(0, 1fr); } .qaside { position: static; } }
.qboard-head { display: grid; gap: 6px; }
.qboard-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.qboard-list { display: grid; gap: 14px; }
.qtools { display: flex; gap: 10px; }
.qsearch { flex: 1; min-width: 0; padding: 12px 14px 12px 42px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6d7b' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 15px center; font: 400 0.98rem/1.3 var(--sans); color: var(--ink); }
.qsort { padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: 500 0.92rem/1.3 var(--sans); color: var(--ink-2); }
.qsearch:focus, .qsort:focus { outline: none; border-color: var(--pine-2); box-shadow: 0 0 0 3px var(--pine-soft); }
.qfilters { display: flex; flex-wrap: wrap; gap: 8px; }
.qf { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); font: 600 0.86rem/1.2 var(--sans); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.qf span { font-weight: 500; color: var(--sub); font-variant-numeric: tabular-nums; }
.qf:hover { border-color: var(--pine-2); }
.qf.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.qf.on span { color: #c9d5df; }

.qlist { display: grid; gap: 12px; margin-top: 4px; }
.qrow { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; animation: st-row 0.45s calc(var(--i) * 45ms) var(--ease) both; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease); }
.qrow:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); transform: translateY(-2px); }
.qrow-mark { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tf); color: var(--ti); font: 600 1.45rem/1 var(--serif); }
.qrow-main { display: grid; gap: 8px; min-width: 0; }
.qrow-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qrow-topic { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tf); color: var(--ti); font: 600 0.76rem/1.2 var(--sans); }
.qrow-src { font-size: 0.78rem; color: var(--faint); }
.qrow h3 { font: 600 1.24rem/1.3 var(--serif); }
.qrow h3 a { color: var(--ink); }
.qrow h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.qrow h3 a:hover { text-decoration: none; }
.qrow:hover h3 a { color: var(--pine-deep); }
.qrow-body { font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qrow-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; }
.qrow-by { font-size: 0.8rem; color: var(--faint); }
.qrow-by b { font-weight: 600; color: var(--ink-2); }
.qrow-side { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; min-width: 104px; padding-left: 20px; border-left: 1px solid var(--line-2); align-self: stretch; align-content: center; }
.qrow-tally { display: grid; justify-items: center; }
.qrow-tally b { font: 600 1.9rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.qrow-tally small { font-size: 0.74rem; color: var(--sub); }
.qrow-money { font: 600 0.95rem/1.2 var(--sans); color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.qrow-money small { font-weight: 400; color: var(--sub); }
.qrow-side .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .qrow { grid-template-columns: minmax(0, 1fr); }
  .qrow-mark { display: none; }
  .qrow-side { display: flex; justify-content: space-between; border-left: 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); }
  .qrow-tally { display: flex; gap: 6px; align-items: baseline; }
}
.qmore { justify-self: center; margin-top: 8px; }
.qnone { display: grid; gap: 6px; padding: 32px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: 16px; color: var(--sub); background: #fff; }
.qnone b { font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }

/* ask form with live preview */
.ask-card { padding: 0 !important; overflow: hidden; border-radius: 18px; border-top: 4px solid var(--pine); box-shadow: var(--sh-2); }
.ask-card > * { margin-inline: 26px; }
.ask-card > :last-child { margin-bottom: 26px; }
.ask-head { margin: 0 !important; padding: 24px 26px 22px; background: var(--pine-wash); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.ask-head h3 { font: 600 1.6rem/1.2 var(--serif); }
.ask-head > p { font-size: 0.92rem; color: var(--sub); }
.ask-preview { margin-top: 12px; display: grid; gap: 7px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); transform: rotate(-0.6deg); }
.ask-preview em { font: 600 0.66rem/1 var(--sans); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.ask-preview span { justify-self: start; padding: 3px 9px; border-radius: 999px; background: var(--pine-soft); color: var(--pine-deep); font: 600 0.72rem/1.3 var(--sans); }
.ask-preview b { font: 600 1.08rem/1.3 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.ask-preview b.ghost { color: var(--faint); font-weight: 400; font-style: italic; }
.ask-preview small { font-size: 0.76rem; color: var(--faint); }
.ask-submit { width: 100%; justify-content: center; min-height: 50px; font-size: 1.02rem; }

.qcount { font-size: 0.78rem; color: var(--brass-ink); text-align: right; margin-top: -2px; font-variant-numeric: tabular-nums; }
.qcount.ok { color: var(--pine); }

/* share */
.qshare { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 0; background: none; color: var(--sub); font: 600 0.8rem/1 var(--sans); cursor: pointer; border-radius: 6px; }
.qshare:hover { color: var(--pine-deep); background: var(--pine-wash); }

/* browse by disease */
.qtiles-wrap { display: grid; gap: 10px; }
.qtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.qtile { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: var(--tf); color: var(--ti); cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s; }
.qtile:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: currentColor; }
.qtile b { font: 600 1.08rem/1.2 var(--serif); }
.qtile span { font-size: 0.8rem; opacity: 0.85; }

/* journey + promises */
.qjourney { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.qjourney::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 2px dashed var(--line-strong); z-index: 0; }
.qjourney li { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 10px; }
.qj-icon { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pine); border: 1.5px solid var(--pine-2); box-shadow: 0 0 0 8px var(--wash), var(--sh); }
.qj-icon span { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: #fff; font: 700 0.75rem/1 var(--sans); }
.qjourney h3 { font: 600 1.25rem/1.25 var(--serif); margin-top: 6px; }
.qjourney p { max-width: 32ch; color: var(--ink-2); font-size: 0.95rem; }
.qpromise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qpromise > div { display: grid; gap: 8px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qp-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass-ink); }
.qpromise h3 { font: 600 1.05rem/1.3 var(--sans); }
.qpromise p { font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 820px) { .qjourney, .qpromise { grid-template-columns: minmax(0, 1fr); } .qjourney::before { display: none; } }

/* closing invitation */
.qclose { background: var(--pine-deep); color: #fff; position: relative; overflow: hidden; }
.qclose::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0); background-size: 22px 22px; pointer-events: none; }
.qclose-in { position: relative; display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: clamp(56px, 8vw, 104px); }
.qclose h2 { font: 600 clamp(1.9rem, 3.6vw, 2.9rem)/1.12 var(--serif); color: #fff; max-width: 20ch; }
.qclose p { color: #cfe2d8; max-width: 52ch; font-size: 1.06rem; }
.qclose .qstart { justify-content: center; margin-top: 10px; }
.qclose .qstart-b { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.qclose .qstart-b:hover { background: #fff; color: var(--pine-deep); border-color: #fff; }

/* ---------- one question's page ---------- */
.qd-hero { position: relative; overflow: hidden; background: var(--pine-wash); border-bottom: 1px solid var(--line); }
.qd-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(18, 107, 80, 0.12) 1px, transparent 0); background-size: 22px 22px; mask-image: linear-gradient(100deg, transparent 40%, #000 85%); pointer-events: none; }
.qd-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.qd-main { display: grid; gap: 22px; animation: st-in 0.6s var(--ease) both; }
.qd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font: 600 0.86rem/1 var(--sans); }
.qd-crumbs > a:first-child { color: var(--sub); }
.qd-crumbs > a:first-child:hover { color: var(--pine-deep); text-decoration: none; }
.qd-crumbs .qrow-topic:hover { text-decoration: none; filter: brightness(0.97); }
.qd-hero h1 { font: 600 clamp(2.1rem, 4.2vw, 3.4rem)/1.08 var(--serif); letter-spacing: -0.015em; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.qd-by { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.35; }
.qd-by small { color: var(--sub); font-size: 0.84rem; }
.qd-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tf); color: var(--ti); font: 600 1.15rem/1 var(--serif); border: 2px solid #fff; box-shadow: var(--sh); }
.qd-avatar.small { width: 36px; height: 36px; font-size: 0.95rem; }
.qd-track { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.qd-track .qtrack { font-size: 0.8rem; }
.qd-track .qtrack li:not(.on) span { display: inline; }
.qd-track .qtrack li + li::before { width: 28px; }

.qd-card { position: relative; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(20, 40, 59, 0.06), 0 14px 34px rgba(20, 40, 59, 0.1), 0 40px 80px -30px rgba(11, 74, 55, 0.35); overflow: hidden; animation: st-in 0.7s 0.1s var(--ease) both; transform: rotate(0.4deg); }
.qd-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(20, 40, 59, 0.07); pointer-events: none; }
.qd-card-top { position: relative; display: grid; gap: 10px; padding: 26px 28px 24px; background: var(--pine-deep); color: #fff; overflow: hidden; }
.qd-card-top::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0); background-size: 16px 16px; pointer-events: none; }
.qd-card-top::after { content: ""; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.03), 0 0 0 52px rgba(255, 255, 255, 0.02); pointer-events: none; }
.qd-card-top > * { position: relative; }
.qd-card-eyebrow { font: 600 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #a9d3bf; }
.qd-count { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.qd-count b { font: 600 4rem/0.9 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.qd-count.bump b { animation: flash 0.6s var(--ease); }
.qd-count span { color: #d7e9e0; font-size: 0.98rem; max-width: 14ch; line-height: 1.3; }
.qd-crowd { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.qd-fig { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e6f2ec; color: var(--pine); border: 2px solid var(--pine-deep); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); animation: st-in 0.4s calc(var(--i, 0) * 60ms + 0.3s) var(--ease) both; }
.qd-fig.more { font: 700 0.72rem/1 var(--sans); background: var(--brass-soft); color: var(--brass-ink); }
.qd-fig.you { background: transparent; color: #cfe5d8; border: 1.5px dashed rgba(255, 255, 255, 0.55); box-shadow: none; font: 600 0.66rem/1 var(--sans); letter-spacing: 0.04em; }

.qd-card-body { display: grid; gap: 14px; padding: 22px 24px 22px; }
.qd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qd-tile { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--wash); border: 1px solid var(--line-2); }
.qd-tile small { font: 600 0.66rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }
.qd-tile b { font: 600 1.3rem/1 var(--serif); color: var(--pine-deep); }
.qd-tile.brass { background: var(--brass-soft); border-color: #efe0bd; }
.qd-tile.brass b { color: var(--brass-ink); }

.qd-card .qd-back { width: 100%; justify-content: center; min-height: 54px; font: 600 1.05rem/1 var(--sans); border-radius: 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 20px -8px rgba(18, 107, 80, 0.7); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s; }
.qd-card .qd-back:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 14px 28px -10px rgba(18, 107, 80, 0.8); }
.qd-card .qd-back:not([disabled])::before { content: "♥"; margin-right: 9px; font-size: 0.95em; }
.qd-card .qd-back[disabled] { opacity: 1; background: var(--pine-soft); border: 1px solid #cfe5d8; color: var(--pine-deep); box-shadow: none; cursor: default; }
.qd-card .qd-back[disabled]::before { content: "✓"; margin-right: 9px; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pine); color: #fff; font-size: 0.75rem; }
/* compact pass: shorter card, tighter type, lighter secondary buttons */
.qd-hero-in { padding-block: clamp(32px, 4.5vw, 56px); grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); }
.qd-main { gap: 18px; }
.qd-card-top { gap: 8px; padding: 20px 22px 18px; }
.qd-count { gap: 10px; align-items: center; }
.qd-count b { font-size: 3rem; }
.qd-count span { font-size: 0.9rem; }
.qd-crowd { margin-top: 2px; gap: 5px; }
.qd-fig { width: 28px; height: 28px; }
.qd-fig svg { width: 15px; height: 15px; }
.qd-fig.you { font-size: 0.6rem; }
.qd-card-body { gap: 12px; padding: 16px 18px 18px; }
.qd-tiles { display: flex; gap: 0; padding: 2px 4px 12px; background: none; border-bottom: 1px solid var(--line-2); }
.qd-tile, .qd-tile.brass { flex: 1; display: flex; align-items: baseline; gap: 8px; padding: 0; background: none; border: 0; }
.qd-tile + .qd-tile { padding-left: 14px; border-left: 1px solid var(--line-2); margin-left: 14px; }
.qd-tile b { font-size: 1.1rem; order: -1; }
.qd-tile small { font: 500 0.8rem/1 var(--sans); letter-spacing: 0; text-transform: none; }
.qd-card .qd-back { min-height: 48px; font-size: 1rem; border-radius: 12px; }
.qd-card-row { display: flex; justify-content: center; gap: 4px; }
.qd-card-row > * { min-height: 34px; padding: 0 14px; border: 0; background: none; border-radius: 999px; font: 600 0.86rem/1 var(--sans); color: var(--sub); }
.qd-card-row > *:hover { background: var(--pine-wash); color: var(--pine-deep); }
.qd-card-row > .qd-follow.on { background: none; color: var(--pine); }
.qd-card-note { font-size: 0.76rem; margin-top: -4px; }

/* category icon beside the title */
.qd-title { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.qd-icon { width: 76px; height: 76px; margin-top: 4px; border-radius: 22px; display: grid; place-items: center; background: var(--tf); color: var(--ti); border: 1px solid rgba(20, 40, 59, 0.06); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.75), 0 10px 24px -10px rgba(20, 40, 59, 0.3); animation: st-in 0.6s 0.05s var(--ease) both; }
.qd-icon svg { width: 38px; height: 38px; stroke-width: 1.5; }
@media (max-width: 640px) { .qd-title { grid-template-columns: minmax(0, 1fr); } .qd-icon { width: 58px; height: 58px; border-radius: 18px; } .qd-icon svg { width: 30px; height: 30px; } }
.qrow-mark svg { stroke-width: 1.6; }

/* the pledge card: brass, warm, the most important money moment on the site */
.qd-pledge-card { border-radius: 20px; overflow: hidden; background: #fffdf8; border: 1px solid #ead9ad; box-shadow: 0 1px 2px rgba(116, 83, 15, 0.08), 0 18px 40px -18px rgba(116, 83, 15, 0.45); }
.qd-pledge-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px 22px; background: var(--brass-soft); border-bottom: 1px solid #ecdcb4; overflow: hidden; }
.qd-pledge-top::after { content: ""; position: absolute; right: -40px; top: -50px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(169, 123, 31, 0.18); box-shadow: 0 0 0 18px rgba(169, 123, 31, 0.05); pointer-events: none; }
.qd-coin { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--brass); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7), 0 8px 18px -8px rgba(116, 83, 15, 0.8); }
.qd-pledge-top h3 { font: 600 1.22rem/1.2 var(--serif); color: var(--ink); }
.qd-pledge-top p { margin-top: 3px; font-size: 0.85rem; color: var(--brass-ink); }
.qd-pledge-top p b { font-weight: 700; }
.qd-pledge-body { display: grid; gap: 12px; padding: 18px 20px 20px; }
.qd-pledge-label { font: 600 0.68rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }
.qd-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.qd-amounts button { min-height: 42px; border-radius: 12px; border: 1px solid #e5d3a6; background: #fff; color: var(--brass-ink); font: 600 0.95rem/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 0.12s var(--ease), background 0.12s, box-shadow 0.12s; }
.qd-amounts button:hover { transform: translateY(-1px); border-color: var(--brass); }
.qd-amounts button.on { background: var(--brass-ink); border-color: var(--brass-ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(116, 83, 15, 0.8); }
.qd-pledge-go { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border-radius: 14px; background: var(--brass); color: #fff; font: 600 1.02rem/1 var(--sans); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 22px -10px rgba(116, 83, 15, 0.9); transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.15s; }
.qd-pledge-go:hover { text-decoration: none; background: var(--brass-ink); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 16px 30px -12px rgba(116, 83, 15, 0.9); }
.qd-pledge-go b { font-weight: 700; font-variant-numeric: tabular-nums; }
.qd-pledge-go .arrow { transition: transform 0.15s var(--ease); }
.qd-pledge-go:hover .arrow { transform: translateX(3px); }
.qd-money-path { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.qd-money-path::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 1.5px dashed #dcc48c; }
.qd-money-path li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 7px 0; }
.qd-money-path .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--brass); color: var(--brass-ink); font: 700 0.72rem/1 var(--sans); }
.qd-money-path b { display: block; font: 600 0.88rem/1.3 var(--sans); color: var(--ink); }
.qd-money-path small { font-size: 0.8rem; color: var(--sub); line-height: 1.4; }
.qd-pledge-foot { font-size: 0.76rem; color: var(--faint); padding-top: 10px; border-top: 1px solid #f1e6c9; }
.qd-card-row > * { justify-content: center; min-height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font: 600 0.9rem/1 var(--sans); color: var(--ink-2); }
.qd-card-row > .qshare:hover { background: var(--pine-wash); border-color: var(--pine-2); }
.qd-follow.on { background: var(--pine-soft); border-color: #cfe5d8; color: var(--pine-deep); }
.qd-card-note { font-size: 0.8rem; line-height: 1.45; color: var(--faint); text-align: center; }
@media (max-width: 900px) { .qd-hero-in { grid-template-columns: minmax(0, 1fr); } }

.qd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .qd-grid { grid-template-columns: minmax(0, 1fr); } }
.qd-block { display: grid; gap: 16px; }
.qd-block > h2, .qd-block-head h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.qd-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

.qd-story { position: relative; margin: 0; padding: 30px 32px 26px 64px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: 16px; box-shadow: var(--sh); }
.qd-quote { position: absolute; left: 20px; top: 6px; font: 600 4.4rem/1 var(--serif); color: var(--pine-soft); }
.qd-story blockquote { margin: 0; font: 400 1.18rem/1.7 var(--serif-text); color: var(--ink); white-space: pre-line; }
.qd-story figcaption { margin-top: 14px; font-size: 0.88rem; color: var(--sub); }
.qd-story.map { padding-left: 32px; border-left-color: var(--brass); display: grid; gap: 10px; }
.qd-story.map > p:not(.small) { font: 400 1.16rem/1.65 var(--serif-text); color: var(--ink); }

.qd-empty { display: grid; gap: 4px; padding: 22px 24px; border: 1.5px dashed var(--line-strong); border-radius: 14px; color: var(--sub); }
.qd-empty b { color: var(--ink); font: 600 1.05rem/1.3 var(--serif); }
.qd-pledges { display: grid; gap: 10px; }
.qd-pledge { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qd-pledge strong { color: var(--brass-ink); }
.qd-pledge p { font: italic 400 0.92rem/1.5 var(--serif-text); color: var(--ink-2); margin-top: 4px; }
.qd-pledge small { color: var(--faint); font-size: 0.78rem; }

.qd-side { display: grid; gap: 12px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qd-side h3 { font: 600 1.15rem/1.3 var(--serif); }
.qd-side p { font-size: 0.9rem; color: var(--ink-2); }
.qd-side.brass { background: var(--brass-soft); border-color: #ecdcb4; }
.qd-side .btn { justify-content: center; }
a.qshare:hover { text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .qrow, .qhero-text, .qstack, .qtrack li.on i { animation: none; } }

/* ---------- The question page as one calm story (views/question.js): what we know, three ways to help, all the
   evidence folded away. qf- = question flow. ---------- */
.qd-pledged { font-size: 0.92rem; color: var(--brass-ink); text-align: center; }
.qd-pledged b { font: 600 1.15rem/1 var(--serif); }
.qf-flow > section > h2, .qf-help-head h2 { font: 600 clamp(1.5rem, 2.6vw, 1.9rem)/1.2 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.qf-know { display: grid; gap: 18px; }
.qf-slot:empty { display: none; }
.qf-lede { font: 400 1.08rem/1.65 var(--serif-text, var(--serif)); color: var(--ink); max-width: 62ch; }
.qf-lede b { color: var(--pine-deep); }
.qf-lake { margin-top: 2px; }
.hy-known { padding: 22px 24px; gap: 16px; box-shadow: none; }
.hy-known .hy-head h3 { margin: 2px 0 4px; font: 600 1.2rem/1.25 var(--serif); color: var(--ink); }
.hy-known .hy-icon { width: 42px; height: 42px; border-radius: 14px; }
.mj-tech { color: var(--faint); font-size: 0.8rem; }
.mj-acc { font-family: var(--mono, ui-monospace, monospace); font-size: 0.74rem; color: var(--faint); }

.qf-help { display: grid; gap: 18px; }
.qf-help-head p { margin-top: 6px; color: var(--ink-2); max-width: 60ch; }
.qf-builder { padding: 12px 16px; border-radius: 12px; background: var(--paper, #fbfaf6); border: 1px solid var(--line); color: var(--ink-2); }
.qf-doors { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.qf-door { grid-row: 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; justify-items: start; padding: 20px 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s var(--ease); }
.qf-door:hover { border-color: #b9d8c8; transform: translateY(-1px); }
.qf-door:focus-visible { outline: 3px solid rgba(18, 107, 80, 0.35); outline-offset: 2px; }
.qf-door-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--pine); background: var(--pine-soft); border: 1px solid #cfe5d8; }
.qf-door:nth-of-type(3) .qf-door-ic { color: var(--brass-ink); background: var(--brass-soft); border-color: #ead9b0; }
.qf-door-txt { display: grid; gap: 5px; }
.qf-door-txt b { font: 600 1.14rem/1.25 var(--serif); }
.qf-door-txt small { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.qf-door-mark { position: absolute; right: 18px; top: 22px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong, #d5dcd8); }
.qf-door-mark::before { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: translate(-50%, -50%) rotate(45deg); transition: transform 0.2s var(--ease); }
.qf-door.on { border: 2px solid var(--pine); padding: 19px 19px 21px; background: var(--pine-wash); box-shadow: 0 12px 30px -14px rgba(11, 74, 55, 0.45); }
.qf-door.on .qf-door-mark { background: var(--pine); border-color: var(--pine); }
.qf-door.on .qf-door-mark::before { border-color: #fff; top: 58%; transform: translate(-50%, -50%) rotate(225deg); }
/* the open panel spans the row under the doors (on a phone it opens right under its own door) */
.qf-pane { grid-row: 2; grid-column: 1 / -1; margin-top: 4px; animation: st-in 0.3s var(--ease) both; }
.qf-pane > .hy, .qf-pane > .sc { box-shadow: none; }

.qf-all { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.qf-all > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: 18px; }
.qf-all > summary::-webkit-details-marker { display: none; }
.qf-all > summary::after { content: ""; width: 9px; height: 9px; margin-right: 8px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.qf-all[open] > summary::after { transform: rotate(225deg); }
.qf-all > summary:hover { background: var(--pine-wash); }
.qf-all > summary:focus-visible { outline: 3px solid rgba(18, 107, 80, 0.35); outline-offset: 2px; }
.qf-all-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--pine); background: var(--pine-soft); }
.qf-all-txt { display: grid; gap: 3px; }
.qf-all-txt b { font: 600 1.12rem/1.25 var(--serif); color: var(--ink); }
.qf-all-txt small { font-size: 0.85rem; color: var(--sub); }
.qf-all-body { padding: 8px 20px 24px; border-top: 1px solid var(--line-2, #eef1ef); }

@media (max-width: 700px) {
  .qf-doors { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .qf-door, .qf-pane { grid-row: auto; }
  .qf-door { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 54px 16px 16px; box-shadow: none; }
  .qf-door.on { padding: 15px 53px 15px 15px; }
  .qf-door-ic { width: 42px; height: 42px; }
  .qf-door-mark { top: 50%; margin-top: -14px; right: 14px; }
  .qf-pane { margin: 0 0 8px; }
  .qf-all > summary { padding: 16px; }
  .qf-all-body { padding: 6px 14px 20px; }
  .qf-flow { --gap: 36px !important; }
}

/* the hero on a phone: the question leads, readable and close to the top, with the journey just under it */
@media (max-width: 640px) {
  body:has(.qd-hero) .story-bar { display: none; }
  .qd-hero-in { padding-block: 18px 22px; gap: 16px; }
  .qd-main { gap: 12px; }
  .qd-icon { display: none; }
  .qd-hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.05rem); line-height: 1.14; color: var(--ink); }
  .qd-by { font-size: 0.88rem; color: var(--ink-2); }
  .qd-by small { color: #55666f; }
  .qd-crumbs > a:first-child { color: #4b5d66; }
  .qd-card { transform: none; border-radius: 18px; }
  .qd-card-top { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 14px 16px; }
  .qd-card-eyebrow { display: none; }
  .qd-count b { font-size: 2.2rem; }
  .qd-crowd { grid-column: 1 / -1; }
  .qd-card-body { gap: 10px; padding: 12px 14px 14px; }
  .qd-card .qd-back { min-height: 46px; }
  .qd-card-note { display: none; }
}
.qf-help > .qf-slot > .qf-builder { padding: 0 4px; background: none; border: 0; color: var(--sub); }
.qf-pane .ct-intro h3 { display: none; }
@media (max-width: 640px) {
  /* one primary action per screen: on a phone the journey's next step is the primary, backing is the gentle one */
  .qd-card .qd-back:not([disabled]) { background: #fff; color: var(--pine-deep); border: 1.5px solid var(--pine); box-shadow: none; }
  .qd-card .qd-back:not([disabled])::before { color: #c0392b; }
}
