/* How to Claim a Bounty (/claim-a-bounty/), a manual in the homepage's visual language.
   Loads after /home.css: tokens, header pill, buttons, eyebrow, h2, footer and cookie banner come from there.
   This file owns the page's own structure: a short hero, a checklist, the five steps with screen mock-ups,
   the outcome tree, troubleshooting and the close. Every class here is cb-; shared .tp- rules are only
   overridden under .tp.cb. */

/* ---------- Rhythm: a manual is tighter than the homepage ---------- */
.tp.cb .cb-section { padding: 5.5rem 0; }
.cb-section-head { max-width: 46rem; margin-bottom: 3rem; }
.cb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cb main a:not([class]) { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; border-radius: 3px; }
.cb main a:not([class]):hover { text-decoration-color: var(--text); }
.cb a:not([class]):focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.cb q { quotes: '\201C' '\201D'; }
.cb-tl dt q { quotes: '\2018' '\2019'; }

/* ---------- Hero: short, left-aligned, no stage ---------- */
.cb-hero { position: relative; padding: 6.5rem 0 1rem; }
.cb-hero::before { content: ''; position: absolute; left: 50%; top: -20rem; width: 60rem; height: 44rem; transform: translateX(-70%); border-radius: 50%; background: radial-gradient(closest-side, rgba(131, 216, 245, 0.16), rgba(232, 154, 214, 0.08) 45%, transparent 75%); filter: blur(40px); pointer-events: none; }
.cb-hero > .tp-wrap { position: relative; }
.cb-h1 { margin-top: 1rem; max-width: 12ch; font-family: var(--display); font-weight: 900; font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 0.96; letter-spacing: -0.045em; color: var(--text); text-wrap: balance; }
.cb-h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cb-lede { margin-top: 1.5rem; max-width: 36rem; font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.cb-need { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 2rem; }
.cb-need li { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.4rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9rem; font-weight: 500; color: var(--soft); }
.cb-need li svg { flex: none; color: var(--sky); }
.cb-need li:first-child { padding: 0; background: none; box-shadow: none; margin-right: 0.4rem; }
.cb-need-k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.js .cb-hero > .tp-wrap > * { animation: tp-rise 0.9s var(--ease) both; }
.js .cb-hero > .tp-wrap > :nth-child(2) { animation-delay: 0.08s; }
.js .cb-hero > .tp-wrap > :nth-child(3) { animation-delay: 0.16s; }
.js .cb-hero > .tp-wrap > :nth-child(4) { animation-delay: 0.24s; }

/* ---------- Checklist ---------- */
.cb-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.cb-grid-head { position: sticky; top: 6.5rem; }
.cb-check-list { list-style: none; counter-reset: cb; border-top: 1px solid var(--line); }
.cb-check-list > li { border-bottom: 1px solid var(--line); }
.cb-item { position: relative; display: grid; grid-template-columns: 1.6rem 1fr; gap: 1.1rem; align-items: start; min-height: 3.5rem; padding: 1.2rem 0.6rem 1.2rem 0.4rem; border-radius: 14px; cursor: pointer; transition: background 0.2s ease; }
.cb-item:hover { background: rgba(255, 255, 255, 0.03); }
.cb-item-input { appearance: none; -webkit-appearance: none; grid-area: 1 / 1; width: 1.6rem; height: 1.6rem; margin: 0.1rem 0 0; border-radius: 8px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); cursor: pointer; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease); }
.cb-item-input:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.cb-item-input:checked { background: var(--grad-135); box-shadow: none; }
.cb-item-input:active { transform: scale(0.92); }
.cb-item-input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.cb-item-box { grid-area: 1 / 1; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; color: #0a0a0a; pointer-events: none; opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.25s var(--ease); }
.cb-item-input:checked + .cb-item-box { opacity: 1; transform: none; }
.cb-item-text { grid-column: 2; }
.cb-item-text b { display: block; font-size: 1.08rem; font-weight: 600; color: var(--text); transition: color 0.2s ease; }
.cb-item-text small { display: block; margin-top: 0.3rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }
.cb-item-text small b { display: inline; font-size: inherit; color: var(--soft); }
.cb-item:has(.cb-item-input:checked) .cb-item-text b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.35); }
.cb-check-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.cb-check-foot[hidden] { display: none; }
.cb-check-status { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cb-check-status.is-done { color: var(--green); }
.cb-check-reset { min-height: 2.75rem; padding: 0.5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.86rem; font-weight: 600; color: var(--soft); transition: background 0.15s ease, color 0.15s ease; }
.cb-check-reset:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.cb-check-reset:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* ---------- The steps: ruled rows, words left, the screen right ---------- */
.cb-manual { list-style: none; border-top: 1px solid var(--line-2); }
.cb-stepx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 3rem 4rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.cb-stepx-num { display: inline-flex; align-items: baseline; gap: 0.6rem; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.2em; color: var(--sky); }
.cb-stepx-num small { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; background: rgba(251, 203, 129, 0.12); color: var(--apricot); }
.cb-stepx h3 { margin-top: 0.7rem; max-width: 20ch; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
.cb-stepx p { margin-top: 1rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
.cb-stepx p b { white-space: nowrap; }
.cb-note { position: relative; padding: 0.8rem 1rem 0.8rem 3rem; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.95rem !important; color: var(--soft) !important; }
.cb-note::before { content: '+'; position: absolute; left: 0.9rem; top: 0.85rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--surface-3); color: var(--text); font-weight: 700; font-size: 0.9rem; line-height: 1; }
.cb-stepx-opt .cb-stepx-text { padding-left: 1.2rem; border-left: 2px dashed rgba(251, 203, 129, 0.4); }
.cb-stepx-shot { justify-self: end; width: 100%; }

/* The bounty card, with the claim button under it */
.cb-card { width: 100%; max-width: 22rem; margin-left: auto; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.6s var(--ease); }
.cb-card.is-tilting { transition-duration: 0.18s; }
.cb-ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.6rem; padding: 0.55rem 1rem; border-radius: 10px; font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.cb-ui-btn-fill { width: 100%; margin-top: 1.1rem; background: var(--grad); color: #0a0a0a; font-weight: 700; }
.cb-ui-btn-line { flex: 1; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.cb-ui-btn-info { width: 100%; margin-top: 0.8rem; background: rgba(131, 216, 245, 0.16); color: var(--sky); }
.cb-sheet-btns { display: flex; gap: 0.6rem; margin-top: 1rem; }
.cb-sheet-btns .cb-ui-btn-fill { flex: 1; margin-top: 0; }

/* A sheet of the app: the claim form, the review state, the payout */
.cb-sheet { position: relative; width: 100%; max-width: 24rem; margin-left: auto; padding: 1rem 1.1rem 1.1rem; border-radius: 22px; background: linear-gradient(160deg, #1b1b1f, #121214); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 20px 30px -20px rgba(0, 0, 0, 0.8); }
.cb-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.cb-sheet-head b { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.cb-sheet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.9rem; }
.cb-stat small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cb-stat b { display: block; margin-top: 0.15rem; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.cb-stat-amt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.cb-stat-amt span { font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em; -webkit-text-fill-color: var(--muted); }
.cb-field { display: grid; gap: 0.25rem; margin-top: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.cb-field small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cb-field span { font-size: 0.95rem; line-height: 1.45; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-field-on { box-shadow: inset 0 0 0 1px rgba(131, 216, 245, 0.55); }
.cb-banner { margin-top: 0.8rem; padding: 0.65rem 0.8rem; border-radius: 12px; font-size: 0.84rem; line-height: 1.45; color: var(--soft); }
.cb-banner b { color: var(--text); }
.cb-banner-info { background: rgba(131, 216, 245, 0.08); box-shadow: inset 0 0 0 1px rgba(131, 216, 245, 0.3); }
.cb-banner-ok { background: rgba(74, 222, 128, 0.08); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.3); color: var(--green); }
.cb-banner-ok b { color: var(--green); }
.cb-agree { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.86rem; color: var(--soft); }
.cb-agree i { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 5px; background: var(--grad); position: relative; }
.cb-agree i::after { content: ''; position: absolute; left: 0.35rem; top: 0.15rem; width: 0.3rem; height: 0.55rem; border: solid #0a0a0a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cb-ledger { list-style: none; margin-top: 0.4rem; }
.cb-ledger li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.cb-ledger li span { font-size: 0.92rem; color: var(--soft); }
.cb-ledger li small { display: block; font-size: 0.74rem; color: var(--muted); }
.cb-ledger li b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The window: a claimed bounty with its dispute window running */
.cb-window { position: relative; width: 100%; max-width: 24rem; margin-left: auto; padding: 1rem 1.1rem 1.1rem; border-radius: 22px; background: linear-gradient(160deg, #1b1b1f, #121214); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 20px 30px -20px rgba(0, 0, 0, 0.8); }
.cb-window-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.cb-status-claimed { color: var(--sky); }
.cb-status-claimed i { box-shadow: 0 0 0 3px rgba(131, 216, 245, 0.2); }
.cb-window-title { margin-top: 0.8rem; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); }
.cb-window-bar { margin-top: 1rem; padding: 0.7rem 0.8rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.cb-window-bar small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cb-window-bar i { display: block; height: 5px; margin-top: 0.5rem; border-radius: 5px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.cb-window-bar i::before { content: ''; display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0.28); }
.cb-window-bar span { display: block; margin-top: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--soft); }
.cb-window-tip { margin-top: 0.8rem; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }

/* ---------- The outcome tree ---------- */
/* The nested lists are the diagram and its text equivalent at once. Connectors are pseudo-elements. */
.cb-tree-wrap { padding: 2.5rem 0 1rem; }
.cb-tree, .cb-branches { list-style: none; }
.cb-tree { display: flex; justify-content: center; }
.cb-node { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.cb-node-box { position: relative; width: 100%; max-width: 19rem; padding: 0.95rem 1.1rem 1rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.cb-node-box small { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cb-node-box b { display: block; margin-top: 0.3rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.cb-node-box > span { display: block; margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cb-node-box > span b { display: inline; margin: 0; font-family: var(--sans); font-weight: 600; font-size: inherit; letter-spacing: 0; white-space: nowrap; }
.cb-node-box ul { list-style: none; margin-top: 0.5rem; }
.cb-node-box ul li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; font-size: 0.92rem; line-height: 1.4; color: var(--soft); }
.cb-node-box ul li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: rgba(74, 222, 128, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234ade80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 5'/%3E%3C/svg%3E") center / 0.6rem no-repeat; }
.cb-node-root > .cb-node-box { text-align: center; background: var(--surface-2); }
.cb-node-root > .cb-node-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-135); opacity: 0.6; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cb-branches-1 > .cb-node > .cb-node-box { text-align: center; }
.cb-node-if small { color: var(--sky); }
.cb-node-ok .cb-node-if small { color: var(--green); }
.cb-node-dispute .cb-node-if small { color: var(--apricot); }
.cb-leaf-ok > .cb-node-box { background: rgba(74, 222, 128, 0.06); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.35); }
.cb-leaf-ok > .cb-node-box small { color: var(--green); }
.cb-leaf-no > .cb-node-box { background: rgba(247, 182, 185, 0.06); box-shadow: inset 0 0 0 1px rgba(247, 182, 185, 0.35); }
.cb-leaf-no > .cb-node-box small { color: var(--blush); }
.cb-leaf-no > .cb-node-box ul li::before { background: rgba(247, 182, 185, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f7b6b9' stroke-width='2.4' stroke-linecap='round' d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E") center / 0.6rem no-repeat; }

/* Wide: an org chart. Each branch list hangs under its parent on a stub; a bar joins the children; each child drops from the bar. */
.cb-branches { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 1.5rem; width: 100%; padding-top: 2.6rem; }
.cb-branches::before { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 1.3rem; margin-left: -1px; background: var(--line-2); }
.cb-branches > .cb-node { flex: 1 1 0; }
.cb-branches > .cb-node::before { content: ''; position: absolute; left: 50%; top: -1.3rem; width: 2px; height: 1.3rem; margin-left: -1px; background: var(--line-2); }
.cb-branches > .cb-node::after { content: ''; position: absolute; left: 0; right: 0; top: calc(-1.3rem - 1px); height: 2px; background: var(--line-2); }
.cb-branches > .cb-node:first-child::after { left: 50%; }
.cb-branches > .cb-node:last-child::after { right: 50%; }
.cb-branches > .cb-node:only-child::after { display: none; }
.cb-branches > .cb-node:only-child::before { top: -1.3rem; }
.cb-branches-leaf { padding-top: 2.6rem; }
/* The ok branch is narrower than the dispute branch, which carries two leaves */
.cb-branches-2 > .cb-node-ok { flex: 0 1 20rem; }
.cb-branches-2 > .cb-node-dispute { flex: 1 1 0; }

/* The expiry case, under the tree */
.cb-expire { display: flex; align-items: flex-start; gap: 1rem; max-width: 46rem; margin: 2rem auto 0; padding: 1.2rem 1.4rem; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cb-expire-mark { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--surface-3); color: var(--text); }
.cb-expire h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text); }
.cb-expire p { margin-top: 0.35rem; font-size: 0.97rem; line-height: 1.55; color: var(--muted); }

/* ---------- Troubleshooting ---------- */
.cb-tl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cb-tl-item { padding: 1.4rem 1.5rem 1.5rem; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 6rem; }
.cb-tl-item:target { box-shadow: inset 0 0 0 1px rgba(131, 216, 245, 0.6); }
.cb-tl dt { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.cb-tl dd { margin-top: 0.7rem; font-size: 0.98rem; line-height: 1.6; color: var(--muted); }
.cb-tl dd b { white-space: nowrap; }

/* ---------- Close ---------- */
.cb-close { padding: 1rem 0 6rem; }
.cb-close-box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.2rem 2.4rem; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 50px 80px -50px rgba(0, 0, 0, 1); }
.cb-close-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-135); opacity: 0.4; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cb-close-box h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--text); }
.cb-close-box p { margin-top: 0.6rem; max-width: 30rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.cb-close-ctas { flex: none; justify-content: flex-end; }

/* ---------- Reveals (class added by claim.js only when motion is welcome, so nothing starts hidden otherwise) ---------- */
.js .cb-reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s ease, translate 0.7s var(--ease); }
.js .cb-reveal.is-in { opacity: 1; translate: none; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
    .tp.cb .cb-section { padding: 4.5rem 0; }
    .cb-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cb-grid-head { position: static; }
    .cb-stepx { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 2rem; padding: 3rem 0; }
    /* The tree becomes a rail: each branch list is indented under its parent, each child hangs off the rail with a tick */
    .cb-tree { display: block; }
    .cb-node { display: block; }
    .cb-node-box { max-width: none; }
    .cb-node-root > .cb-node-box, .cb-branches-1 > .cb-node > .cb-node-box { text-align: left; }
    .cb-branches { display: block; width: auto; margin-left: 0.9rem; padding: 1rem 0 0 1.2rem; border-left: 2px solid var(--line-2); }
    .cb-branches::before { display: none; }
    .cb-branches > .cb-node { margin-top: 1rem; }
    .cb-branches > .cb-node:first-child { margin-top: 0; }
    .cb-branches > .cb-node::before { left: calc(-1.2rem - 2px); top: 1.4rem; width: 1.2rem; height: 2px; margin: 0; }
    .cb-branches > .cb-node::after { display: none; }
    .cb-branches-leaf { padding-top: 1rem; }
    .cb-tl { grid-template-columns: 1fr; }
    .cb-close-box { flex-direction: column; align-items: stretch; }
    .cb-close-ctas { justify-content: flex-start; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
    .cb-stepx { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .cb-stepx-shot { justify-self: stretch; }
    .cb-card, .cb-sheet, .cb-window { margin-left: 0; max-width: 26rem; }
}

@media (max-width: 600px) {
    .tp.cb .cb-section { padding: 3.5rem 0; }
    .cb-hero { padding-top: 5.5rem; }
    .cb-h1 { font-size: clamp(2.4rem, 11.5vw, 3.4rem); }
    .cb-lede { font-size: 1.05rem; }
    .cb-need { gap: 0.45rem; }
    .cb-need li { font-size: 0.84rem; padding: 0.35rem 0.75rem; }
    .cb-section-head { margin-bottom: 2rem; }
    .cb-item { gap: 0.9rem; padding: 1rem 0.4rem 1rem 0.2rem; }
    .cb-stepx { padding: 2.5rem 0; }
    .cb-stepx h3 { font-size: 1.6rem; }
    .cb-stepx p { font-size: 1rem; }
    .cb-stepx p b, .cb-tl dd b, .cb-node-box > span b { white-space: normal; }
    .cb-stepx-opt .cb-stepx-text { padding-left: 0.9rem; }
    .cb-tree-wrap { padding-top: 1.5rem; }
    .cb-expire { flex-direction: column; padding: 1.2rem; }
    .cb-tl-item { padding: 1.2rem 1.1rem 1.3rem; border-radius: 16px; }
    .cb-tl dt { font-size: 1.1rem; }
    .cb-close { padding-bottom: 4rem; }
    .cb-close-box { padding: 1.6rem 1.2rem; border-radius: 22px; }
    .cb-close-ctas > * { flex-basis: 100%; }
}

@media print {
    .js .cb-reveal { opacity: 1; translate: none; transition: none; }
    .cb-grid-head { position: static; }
    .cb-hero::before { display: none; }
    .cb-h1, .tp.cb .tp-h2, .cb-stepx h3, .cb-tl dt, .cb-close-box h2, .cb-expire h3, .cb-item-text b, .cb-node-box b, .cb-tl dd b, .cb-stepx p b, .cb-node-box > span b, .cb-check-reset { color: #000; }
    .cb-lede, .tp.cb .tp-lead, .cb-stepx p, .cb-tl dd, .cb-expire p, .cb-close-box p, .cb-item-text small, .cb-node-box > span, .cb-node-box ul li, .cb-check-status, .cb-need li { color: #333; }
    .cb-note, .cb-tl-item, .cb-expire, .cb-close-box, .cb-node-box, .cb-need li, .cb-expire-mark, .cb-note::before { background: #fff; box-shadow: inset 0 0 0 1px #bbb; }
    .cb-expire-mark, .cb-note::before { color: #000; }
    .cb-branches, .cb-branches::before, .cb-branches > .cb-node::before, .cb-branches > .cb-node::after { border-color: #bbb; }
    .cb-branches::before, .cb-branches > .cb-node::before, .cb-branches > .cb-node::after { background: #bbb; }
    .cb-item-input { box-shadow: inset 0 0 0 1.5px #777; }
    .cb-note { color: #333 !important; }
    .cb-node-root > .cb-node-box { background: #fff; }
    .cb a:not([class]), .cb-stepx-num, .tp.cb .tp-eyebrow, .cb-node-if small, .cb-leaf-ok > .cb-node-box small { color: #0b6fa3; }
    .cb-leaf-no > .cb-node-box small { color: #a3323a; }
}

@media (prefers-reduced-motion: reduce) {
    .js .cb-reveal { opacity: 1; translate: none; }
}
