/* ---------- page head: title, summary, then the record's facts in one ruled strip ---------- */
.phead { padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.phead h1 { max-width: 26ch; font-size: clamp(1.95rem, 3.6vw, 3rem); }
.phead .lede { max-width: 70ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--sub); }
.crumbs a { color: var(--sub); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.meta-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 28px; margin: 6px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.meta-strip > div { padding: 12px 0 13px; min-width: 0; }
.meta-strip dt { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); }
.meta-strip dd { margin: 5px 0 0; font-size: 0.95rem; line-height: 1.4; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.meta-strip dd b { font: 600 1.25rem/1.1 var(--serif); }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px); }
.sec-head.split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 700px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home: statement left, the figure it describes right ---------- */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(30px, 4vw, 52px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.05rem, 4.3vw, 3.6rem); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--pine); }
.hero .lede { max-width: 58ch; }
.hero-actions { margin-top: 24px; }
.hero-now { margin-top: 18px; font-size: 0.9rem; line-height: 1.5; color: var(--sub); max-width: 58ch; }
.hero-now b { font-weight: 600; color: var(--ink-2); }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.welcome { background: var(--pine-wash); border-bottom: 1px solid #cfe1d7; }
.welcome-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding-block: 11px; font-size: 0.92rem; color: var(--ink-2); }
.welcome-in b { color: var(--ink); }

/* ---------- ways to take part: three ruled columns ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.way { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.way h3 { font-size: 1.22rem; }
.way p { color: var(--ink-2); font-size: 0.97rem; }
.way dl { margin: 2px 0 4px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 0.88rem; }
.way dt { color: var(--sub); }
.way dd { margin: 0; color: var(--ink); }
.way .row { margin-top: auto; padding-top: 8px; }
@media (max-width: 860px) { .ways { grid-template-columns: minmax(0, 1fr); } }

/* ---------- a numbered path: the steps a question, a pledge or a submission goes through ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: path; }
.path li { counter-increment: path; position: relative; padding: 18px 22px 0 0; border-top: 1.5px solid var(--ink); }
.path li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.band .path li::before { background: var(--wash); }
.path li.done::before, .path li.on::before { background: var(--pine); border-color: var(--pine); }
.path li.on::before { box-shadow: 0 0 0 4px var(--pine-soft); }
.path h4 { font: 600 1rem/1.3 var(--sans); }
.path h4::before { content: counter(path) ". "; color: var(--sub); font-variant-numeric: tabular-nums; }
.path p { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); margin-top: 5px; }
.path li.on h4 { color: var(--pine-deep); }
@media (max-width: 620px) { .path { grid-template-columns: minmax(0, 1fr); } .path li { border-top: 0; border-left: 1.5px solid var(--ink); padding: 0 0 18px 20px; } .path li::before { top: 4px; left: -5px; } }

/* ---------- challenge card ---------- */
.ch { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.ch h3 { font-size: 1.36rem; }
.ch p { color: var(--ink-2); }
.card.open { border-top: 3px solid var(--pine); }
.ch-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--sub); }
.ch-foot b { color: var(--ink); font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr); gap: 0; margin: 0; font-size: 0.95rem; border-top: 1px solid var(--line-strong); }
.kv dt { color: var(--sub); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.kv dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv dt { border-bottom: 0; padding-bottom: 0; } .kv dd { padding-top: 2px; } }

/* ---------- the long-form page: a challenge described in the order of a plain-language summary ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); }
.article > section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; scroll-margin-top: 92px; min-width: 0; }
.article > section > h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); padding-top: 16px; border-top: 1px solid var(--ink); }
.article p { max-width: 70ch; color: var(--ink-2); }
.article h3 { font: 600 1rem/1.3 var(--sans); margin-top: 8px; }
.keymsg { border: 1px solid #cfe1d7; border-left: 3px solid var(--pine); background: var(--pine-wash); padding: 18px 22px 20px; border-radius: 0 var(--r) var(--r) 0; }
.keymsg h2 { font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine-deep); }
.keymsg ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); max-width: 74ch; }
.aside-stick { position: sticky; top: 86px; }
@media (max-width: 940px) { .aside-stick { position: static; } }

/* ---------- live log ---------- */
.log { display: grid; border-top: 1px solid var(--line-strong); }
.log-row { display: grid; grid-template-columns: 84px 86px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); }
.log-when { font-size: 0.8rem; color: var(--sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.log-row b { color: var(--ink); font-weight: 600; }
.log-row a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 560px) { .log-row { grid-template-columns: 86px minmax(0, 1fr); } .log-when { grid-column: 1 / -1; order: 3; } }

/* ---------- the receipt, drawn as a lab slip ---------- */
.slip { background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; position: relative; }
.slip-part { padding: 20px clamp(16px, 2.4vw, 26px); border-bottom: 1px dashed var(--line-strong); }
.slip-part:last-child { border-bottom: 0; }
.slip-title { font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); margin-bottom: 12px; }
.slip .kv { font-size: 0.92rem; }
.slip .kv dd { font-family: var(--mono); font-size: 0.86rem; }
.stamp { display: inline-grid; place-items: center; padding: 7px 14px; border: 2px solid var(--pine); border-radius: 4px; color: var(--pine); font: 700 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-3deg); }
.stamp.stop { border-color: var(--stop); color: var(--stop); }
.result-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.result-big { font: 600 clamp(2.4rem, 5vw, 3.5rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--pine-deep); font-variant-numeric: tabular-nums; }

/* ---------- payout: the four steps drawn to scale, and a worked example ---------- */
.split-bar { display: flex; height: 22px; gap: 2px; }
.split-bar i { display: block; background: var(--brass); }
.split-bar i:nth-child(2) { opacity: 0.8; }
.split-bar i:nth-child(3) { opacity: 0.62; }
.split-bar i:nth-child(4) { opacity: 0.44; }
.split-legend { display: flex; gap: 2px; margin-top: 12px; }
.split-legend > div { min-width: 0; padding-right: 16px; }
.split-legend b { display: block; font: 600 1.35rem/1.1 var(--serif); color: var(--brass-ink); }
.split-legend h4 { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; margin-top: 6px; }
.split-legend p { font-size: 0.84rem; line-height: 1.45; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 760px) { .split-legend { flex-direction: column; gap: 14px; } .split-legend > div { flex: none !important; } }
.split-rows { display: grid; margin-top: 8px; }
.split-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.split-row:last-child { border-bottom: 0; }
.split-row b { font: 600 1.4rem/1.1 var(--serif); color: var(--brass-ink); }
.split-row h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.split-row p { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.pool-v { font: 600 1.9rem/1 var(--serif); color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.calc { display: grid; gap: 14px; }
.calc-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 0.95rem; }
.calc-in input { width: 130px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font: 600 1.05rem/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); background: #fff; }
.calc-in input:focus { outline: none; border-color: var(--pine-2); box-shadow: 0 0 0 3px var(--pine-soft); }

/* ---------- questions ---------- */
.cause { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.cause h3 { font-size: 1.26rem; }
.cause-body { color: var(--ink-2); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cause-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--sub); }
.cause-foot b { color: var(--ink); font-variant-numeric: tabular-nums; }
.story { font: 400 1.14rem/1.7 var(--serif-text); color: var(--ink); white-space: pre-line; max-width: 64ch; }
.example { border-left: 3px solid var(--line-strong); padding: 2px 0 2px 16px; }
.example small { display: block; font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); margin-bottom: 6px; }
.example p { font: 400 1.05rem/1.5 var(--serif-text); color: var(--ink); }

/* ---------- contributors ---------- */
.stat-band { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -36px; margin-bottom: 8px; background: #fff; box-shadow: var(--sh); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.stat { position: relative; display: grid; grid-template-rows: auto 58px auto auto; align-content: start; gap: 14px; padding: 26px 28px 26px; border-left: 1px solid var(--line); transition: background 0.25s var(--ease); }
.stat::before { content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: transparent; transition: background 0.25s var(--ease); }
.stat:hover { background: var(--pine-wash); }
.stat:hover::before { background: var(--pine); }
.stat.brass:hover { background: #fdf9f0; }
.stat.brass:hover::before { background: var(--brass); }
.stat-top { display: grid; gap: 10px; }
.stat-vis { display: flex; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.faces { display: flex; align-items: center; }
.faces > * { margin-right: -6px; }
.face { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pine-wash); border: 1px solid var(--pine-soft); box-shadow: 0 0 0 3px #fff; transition: transform 0.2s var(--ease); }
.face:hover { transform: translateY(-2px); z-index: 1; }
.face .glyph { border-radius: 3px; }
.face-you { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 10px !important; border-radius: 50%; border: 1.5px dashed var(--pine-2); color: var(--pine); font: 500 1.2rem/1 var(--sans); background: #fff; margin-left: 4px; }
.face-you:hover { text-decoration: none; background: var(--pine); color: #fff; border-style: solid; }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; width: 100%; max-width: 230px; }
.days i { aspect-ratio: 1; border-radius: 3px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); }
.days i.on { background: var(--pine); box-shadow: none; }
.days i.today { box-shadow: inset 0 0 0 1.5px var(--pine); background: #fff; }
.days i.on.today { background: var(--pine-2); }
.coins { display: grid; gap: 2px; }
.coins b { font: 600 1.5rem/1 var(--serif); color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.coins small { font: 600 0.68rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.stat:first-child { border-left: 0; }
.stat-label { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); }
.stat.brass .stat-label { color: var(--brass-ink); }
.stat-num { font: 600 clamp(2.4rem, 4vw, 3.3rem)/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat.brass .stat-num { color: var(--brass-ink); }
.stat-text { font-size: 0.86rem; line-height: 1.5; color: var(--sub); max-width: 30ch; }
.stat-link { order: 9; margin-top: 2px;font: 600 0.84rem/1.3 var(--sans); color: var(--pine); }
.seats { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; width: 100%; max-width: 240px; }
.seats i { aspect-ratio: 1; border-radius: 50%; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); }
.seats i.on { background: var(--brass); box-shadow: none; }
.seats i.next { background: #fff; box-shadow: inset 0 0 0 1.5px var(--brass); }
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.board { padding-top: clamp(36px, 5vw, 60px); }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: clamp(14px, 2vw, 26px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.podium .plaque:nth-child(1) { order: 2; }
.podium .plaque:nth-child(2) { order: 1; }
.podium .plaque:nth-child(3) { order: 3; }
.plaque { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); outline: 1px solid var(--line-strong); outline-offset: -7px; padding: 30px 24px 24px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.plaque:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-2); }
.plaque.first { outline-color: var(--brass); padding-top: 40px; padding-bottom: 30px; }
.plaque.first::before { content: ""; position: absolute; top: -1.5px; left: 22%; right: 22%; height: 4px; background: var(--brass); }
.plaque .glyph { border-radius: 12px; margin: 6px 0 4px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line-strong); }
.plaque.first .glyph { box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--brass); }
.plaque-rank { font: 600 0.66rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pine); }
.plaque.first .plaque-rank { color: var(--brass-ink); }
.plaque-name { font: 600 1.4rem/1.2 var(--serif); }
.plaque-title { font-size: 0.85rem; color: var(--sub); }
.plaque-pts { font: 600 2.6rem/1 var(--serif); color: var(--pine-deep); font-variant-numeric: tabular-nums; margin: 10px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 60%; }
.plaque.first .plaque-pts { font-size: 3.1rem; }
.plaque-pts small { font: 500 0.85rem/1 var(--sans); color: var(--sub); }
.plaque .climb { width: 78%; }
.plaque.open { border-style: dashed; border-color: var(--line-strong); outline: 0; background: var(--pine-wash); align-self: stretch; align-content: center; }
.plaque.open .plaque-name { color: var(--sub); }
.plaque.open .btn { margin-top: 12px; }
.plaque-blank { width: 64px; height: 64px; margin: 6px 0 4px; display: grid; place-items: center; border-radius: 12px; border: 1.5px dashed var(--line-strong); font: 600 1.6rem/1 var(--serif); color: var(--faint); background: #fff; }
.plaque-next {font-size: 0.78rem; color: var(--faint); }
@media (max-width: 760px) { .podium { grid-template-columns: minmax(0, 1fr); } .podium .plaque { order: 0 !important; } }

.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 18px; border-top: 2px solid var(--ink); }
.board-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.board-body { margin-top: 20px; }
.board .table td { padding-top: 17px; padding-bottom: 17px; vertical-align: middle; }
.board .table .who .glyph { width: 38px; height: 38px; }
.board .table .rank { font: 600 1.15rem/1 var(--serif); color: var(--ink); }
.board .table tbody tr:nth-child(1) .rank { color: var(--brass-ink); }
.board .table .big { font-size: 1.35rem; color: var(--pine-deep); }
.board .table td.lvl { min-width: 170px; }

.climb { display: grid; gap: 6px; font-size: 0.86rem; color: var(--ink); }
.climb-t small { color: var(--faint); font-size: 0.8rem; }
.climb-bar { display: block; height: 5px; border-radius: 3px; background: var(--line-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.climb-bar i { display: block; height: 100%; background: var(--pine); border-radius: 3px; }

.ladder { list-style: none; margin: 0; padding: 0; display: grid; border-left: 2px solid var(--line-strong); }
.ladder li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 0 15px 22px; border-bottom: 1px solid var(--line); }
.ladder li:last-child { border-bottom: 0; }
.ladder li::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.ladder li.on::before { background: var(--pine); border-color: var(--pine); box-shadow: 0 0 0 4px var(--pine-soft); }
.ladder li:last-child b { color: var(--brass-ink); }
.rung-at { font-size: 0.8rem; color: var(--sub); font-variant-numeric: tabular-nums; }
.ladder b { font: 600 1.08rem/1.25 var(--serif); }
.rung-people { display: flex; gap: 5px; }
.rung-people .glyph { border-radius: 6px; }
.rung-people small { font-size: 0.78rem; color: var(--faint); font-style: italic; }

.levels-grid { align-items: start; gap: clamp(28px, 5vw, 72px); }
.levels-grid .ladder { background: #fff; padding: 6px 22px 6px 0; border: 1px solid var(--line); border-left: 2px solid var(--line-strong); }
.levels-grid .terms { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; counter-reset: term; }
.levels-grid .terms > div { counter-increment: term; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding: 16px 0 !important; background: none !important; border: 0 !important; border-top: 1px solid var(--line-strong) !important; border-radius: 0 !important; box-shadow: none !important; }
.levels-grid .terms > div:last-child { border-bottom: 1px solid var(--line-strong) !important; }
.levels-grid .terms > div::before { content: counter(term, decimal-leading-zero); grid-row: span 2; font: 600 1.25rem/1.2 var(--serif); color: var(--pine); }
.levels-grid .terms dt { font: 600 1.05rem/1.3 var(--serif); color: var(--ink); }
.levels-grid .terms dd { margin: 4px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.cb{ --cb-cols: 54px minmax(0, 1fr) 210px 76px 84px 120px; }
.cb-head, .cb-row { display: grid; grid-template-columns: var(--cb-cols); align-items: center; column-gap: 18px; }
.cb-head { padding: 0 20px 10px; border-bottom: 1px solid var(--ink); font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }
.cb-head span:nth-child(n+4) { text-align: right; }
.cb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; margin-top: 12px; }
.cb-row { position: relative; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.cb-row::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; border-radius: 4px 0 0 4px; background: transparent; transition: background 0.2s var(--ease); }
.cb-row:hover { border-color: var(--line-strong); box-shadow: var(--sh); transform: translateX(2px); }
.cb-row:hover::before { background: var(--pine); }
.cb-row.lead { background: #fffdf8; border-color: #e6d6b0; }
.cb-row.lead::before { background: var(--brass); }
.cb-rank { font: 600 1.6rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; text-align: center; }
.cb-row.lead .cb-rank { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; color: #fff; background: var(--brass); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--brass); }
.cb-row.test .cb-rank { color: var(--faint); font-size: 1.1rem; }
.cb .who { gap: 14px; }
.cb .who > span:last-child { display: grid; gap: 3px; min-width: 0; }
.cb .who .meta { font-size: 0.82rem; color: var(--sub); }
.cb .who .glyph { width: 44px; height: 44px; padding: 6px; border-radius: 10px; background: var(--pine-wash); border: 1px solid var(--pine-soft); box-sizing: border-box; }
.cb-row.lead .who .glyph { background: var(--brass-soft); border-color: #e6d6b0; }
.cb .row-badges { padding-left: 58px; }
.cb .who .name { font: 600 1.12rem/1.25 var(--serif); }
.cb-pio, .cb-streak, .cb-pts { text-align: right; }
.cb-streak .dash { color: var(--line-strong); }
.flame { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 600 0.78rem/1 var(--sans); color: var(--pine-deep); background: var(--pine-soft); }
.cb-pts { display: grid; justify-items: end; grid-template-columns: auto auto; column-gap: 4px; align-items: baseline; justify-content: end; }
.cb-pts b { font: 600 1.85rem/1 var(--serif); color: var(--pine-deep); font-variant-numeric: tabular-nums; }
.cb-row.lead .cb-pts b { color: var(--brass-ink); }
.cb-pts small { font-size: 0.75rem; color: var(--sub); }
.cb-share { grid-column: 1 / -1; width: 90px; height: 3px; margin-top: 8px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.cb-share i { display: block; height: 100%; margin-left: auto; background: var(--pine-2); }
.cb-row.lead .cb-share i { background: var(--brass); }
.cb .climb-bar { height: 6px; }
.cb-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 30px; padding: 0 20px 4px; }
.cb-group span { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }
.cb-group small { font-size: 0.82rem; color: var(--faint); }
.cb-row.test { background: var(--paper); border-style: dashed; }
.cb-row.test .cb-pts b { font-size: 1.35rem; color: var(--sub); }
@media (max-width: 900px) {
  .cb-head { display: none; }
  .cb-row { grid-template-columns: 44px minmax(0, 1fr) auto; row-gap: 12px; }
  .cb-row .climb { grid-column: 2 / -1; }
  .cb-pio, .cb-streak { display: none; }
  .cb-pts { grid-row: 1; grid-column: 3; }
}
.who-row { display: grid; gap: 7px; }
.who-row.test .name { color: var(--ink-2); }
.who-row.test .glyph { opacity: 0.55; filter: grayscale(0.6); }
.row-badges { display: flex; flex-wrap: wrap; gap: 5px; padding-left: 50px; }
.row-badges:empty { display: none; }
.rb { font: 500 0.72rem/1 var(--sans); padding: 4px 8px; border-radius: 999px; background: var(--pine-wash); border: 1px solid var(--pine-soft); color: var(--pine-deep); }
.pseal { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 600 0.82rem/1 var(--serif); color: var(--brass-ink); background: var(--brass-soft); box-shadow: inset 0 0 0 1.5px var(--brass), 0 0 0 3px #fff, 0 0 0 4px var(--brass-soft); }
.board-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 28px clamp(28px, 5vw, 72px); margin-block: clamp(44px, 6vw, 76px); padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line-strong); border-top: 3px solid var(--brass); }
.board-cta .row { margin-top: 20px; }
.cta-cert { justify-self: end; width: 100%; transform: rotate(1.2deg); box-shadow: var(--sh-2); transition: transform 0.3s var(--ease); }
.cta-cert:hover { transform: rotate(0deg) translateY(-3px); }
.cta-cert em { font-style: italic; }
@media (max-width: 860px) { .board-cta { grid-template-columns: minmax(0, 1fr); } .cta-cert { justify-self: center; } }
.board-cta h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.board-cta p { color: var(--ink-2); max-width: 60ch; margin-top: 8px; }

.ident { display: flex; align-items: center; gap: 20px; }
.ident .glyph { border-radius: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; }
.level { font: 600 1.7rem/1.1 var(--serif); color: var(--pine-deep); }
.mini-cert { display: block; background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; padding: 7px; max-width: 430px; color: var(--ink); }
a.mini-cert:hover { text-decoration: none; border-color: var(--ink); }
.mini-cert-in { border: 1.5px solid var(--ink); outline: 1px solid var(--brass); outline-offset: -5px; padding: 24px 22px; text-align: center; display: grid; gap: 8px; }
.mini-cert small { font: 600 0.62rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--pine); }
.mini-cert b { font: 600 1.2rem/1.2 var(--serif); }
.mini-cert span { font-size: 0.8rem; line-height: 1.45; color: var(--sub); }
.mini-cert em { font: 600 1.3rem/1.2 var(--serif); font-style: normal; border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin-inline: 14%; }

/* ---------- reference pages: contents on the left, text on the right ---------- */
.ref-grid { display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 940px) { .ref-grid { grid-template-columns: minmax(0, 1fr); } }
.toc { display: grid; gap: 2px; position: sticky; top: 92px; font-size: 0.93rem; }
.toc b { font: 600 0.7rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); padding: 0 0 8px 12px; }
.toc a { padding: 6px 12px; border-left: 2px solid var(--line); color: var(--ink-2); }
.toc a:hover { border-left-color: var(--pine); text-decoration: none; color: var(--ink); }
@media (max-width: 940px) { .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc b { width: 100%; padding-left: 0; } .toc a { border: 1px solid var(--line-strong); border-radius: 5px; } }
.ref-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); min-width: 0; }
.ref-body > section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; scroll-margin-top: 92px; min-width: 0; }
.ref-body > section > h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); padding-top: 18px; border-top: 2px solid var(--ink); }
.ref-body p { max-width: 70ch; color: var(--ink-2); }
.ref-body h3 { font: 600 1.02rem/1.3 var(--sans); margin-top: 6px; }
.code { margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; font: 400 0.84rem/1.6 var(--mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa:first-child { border-top: 1px solid var(--line-strong); }
.qa summary { cursor: pointer; padding: 15px 28px 15px 0; font: 600 1.02rem/1.4 var(--sans); list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.4rem/1 var(--sans); color: var(--pine); }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding-bottom: 18px; color: var(--ink-2); max-width: 70ch; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.principle { padding: 15px 0; border-top: 1px solid var(--line-strong); }
.principle h4 { font-family: var(--sans); font-weight: 600; }
.principle p { font-size: 0.93rem; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 700px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.sources { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-size: 0.93rem; color: var(--ink-2); max-width: 78ch; }
.sources q { color: var(--ink); }

/* ---------- numbered instructions ---------- */
.steps { display: grid; gap: 26px; counter-reset: st; }
.step { counter-increment: st; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
.step::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font: 600 0.95rem/1 var(--sans); background: #fff; }
.step h3 { font-size: 1.12rem; margin-top: 4px; }
.step p { color: var(--ink-2); margin-top: 6px; font-size: 0.97rem; max-width: 62ch; }
.step .cmd { margin-top: 12px; }

/* "If we find the answer": the way forward, beside the hard part of a question */
.cause-body.short { -webkit-line-clamp: 3; }
.hope { margin-top: 14px; padding: 12px 14px 13px; background: var(--pine-wash); border: 1px solid var(--pine-soft); border-left: 3px solid var(--pine-2); border-radius: var(--r-sm); }
.hope-label { display: flex; align-items: center; gap: 6px; font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pine); }
.hope-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--pine); color: #fff; font-size: 0.7rem; letter-spacing: 0; }
.hope p { margin: 6px 0 0; color: var(--pine-deep); font-size: 0.95rem; line-height: 1.5; }
.hope.big { margin-top: 0; padding: 20px 26px 22px; border-radius: 16px; border-left-width: 4px; }
.hope.big p { margin-top: 10px; font: 400 1.12rem/1.65 var(--serif-text); color: var(--pine-deep); }
.aw-hope { min-height: 64px; }

/* Privacy and ground rules: plain reading pages */
.legal { display: grid; gap: 30px; padding-bottom: 72px; }
.legal-part { max-width: 760px; }
.legal-part h2 { margin: 0 0 10px; font: 600 1.35rem/1.3 var(--serif); }
.legal-part p, .legal-part li { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.legal-part ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal-part a { color: var(--pine); font-weight: 600; }
