mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdvdmGVS8p6FhaTwzh4
387 lines
30 KiB
CSS
387 lines
30 KiB
CSS
/* ---------- cap table (ct-), on the Business grammar in components/v2/Biz.css; Hanzo's deck only (MASTER ยง3) ---------- */
|
|
|
|
/* holders' colours: ink and three greys (no hues) */
|
|
.ct-s0 { background: var(--bz-ink); }
|
|
.ct-s1 { background: #737373; }
|
|
.ct-s2 { background: #a3a3a3; }
|
|
.ct-s3 { background: var(--bz-track); }
|
|
|
|
/* first screen: the calculator. The founders' share is the big figure (96px), re-planned by the round card beside
|
|
it; nothing reveals on load except the h1's line mask (the page's one reveal). */
|
|
.ct-hero { padding: clamp(72px, 6vw, 88px) 0 clamp(72px, 9vw, 116px); }
|
|
/* the left column packs into four rows; the calculator card spans them plus a filler row, so it never pushes the ask
|
|
down */
|
|
.ct-hero-grid { align-items: start; grid-template-rows: auto auto auto auto 1fr; }
|
|
.ct-copy { grid-column: 1 / span 7; grid-row: 1; display: flex; flex-direction: column; gap: 12px; }
|
|
.ct-cat { margin: 0; font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bz-muted); }
|
|
.ct-big { grid-column: 1 / span 7; grid-row: 2; margin-top: 44px; padding-bottom: 27px; border-bottom: 1px solid var(--bz-line); }
|
|
.ct-big p { margin: 0; }
|
|
.ct-big-z { display: inline-block; }
|
|
.ct-big-n { display: block; font-size: 96px; line-height: 1; margin-left: -.04em; }
|
|
.ct-big-s { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 16px !important; font-size: 17px; color: var(--bz-muted); }
|
|
/* the caption is ink-on-white mono like every other label: the header's ask stays the one heavy fill */
|
|
.ct-big-k { color: var(--bz-ink); font: 606 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
/* "Documentation โ" answers the hover: an underline draws in from the left and the arrow steps 4px */
|
|
.ct-acts .x-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--bz-out); }
|
|
@media (hover: hover) {
|
|
.ct-acts .x-arrow:hover span { text-decoration: none; background-size: 100% 1px; }
|
|
.ct-acts .x-arrow:hover svg { transform: translateX(4px); }
|
|
}
|
|
.ct-big-s b { font-weight: 497; color: var(--bz-ink); }
|
|
.ct-lede { grid-column: 1 / span 6; grid-row: 3; margin-top: 27px; color: var(--bz-ink); }
|
|
.ct-acts { grid-column: 1 / span 7; grid-row: 4; margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
|
|
.ct-acts .x-btn { height: 48px; padding: 0 24px; font-size: 16px; }
|
|
/* desktop: while the hero ask is on screen the header's ask goes quiet, so the hero ask is the one solid fill
|
|
(MASTER part 4: the hero ask, then the header). Phones keep the header's solid, so this one stays outlined there. */
|
|
@media (min-width: 701px) {
|
|
.ct .ct-acts [data-cta='captable.hero'] { background-color: var(--btn-solid-bg); border-color: var(--btn-solid-bg); color: var(--btn-solid-ink); }
|
|
@media (hover: hover) { .ct .ct-acts [data-cta='captable.hero']:hover { background-color: #262626; border-color: #262626; box-shadow: none; } }
|
|
}
|
|
.ct .x-arrow { min-height: 44px; }
|
|
.ct-obj { grid-column: 8 / span 5; grid-row: 1 / span 5; align-self: start; display: flex; flex-direction: column; gap: 16px; padding: 24px 27px; }
|
|
|
|
/* the rolling figure */
|
|
.ct-roll { display: inline-flex; white-space: nowrap; }
|
|
.ct-roll-s { position: relative; display: inline-block; overflow: hidden; padding: .06em 0 .05em; }
|
|
.ct-roll-s > span { display: inline-block; letter-spacing: 0; white-space: pre; }
|
|
.ct-roll-s + .ct-roll-s { margin-left: -.045em; }
|
|
|
|
/* the price slider */
|
|
.ct-slide { display: flex; flex-direction: column; gap: 4px; }
|
|
.ct-slide-k { display: flex; justify-content: space-between; align-items: center; }
|
|
.ct-slide-l { display: inline-flex; align-items: center; min-height: 44px; font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bz-muted); cursor: pointer; }
|
|
.ct-pause { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bz-line); background: #fff; color: var(--bz-ink); cursor: pointer; transition: background-color .15s var(--bz-out), transform .09s var(--bz-out); }
|
|
@media (hover: hover) { .ct-pause:hover { background-color: var(--bz-room); } }
|
|
.ct-pause:active { transform: scale(.97); }
|
|
.ct-pause[aria-pressed='true'] { background: var(--bz-ink); border-color: var(--bz-ink); color: #fff; }
|
|
.ct-pause:focus-visible { outline: 2px solid var(--bz-ink); outline-offset: 2px; }
|
|
.ct-slide-v { font-size: 32px; }
|
|
/* the calculator's three round inputs: label and value on one line, the range under it; the pre-money is the big one */
|
|
.ct-dials { display: flex; flex-direction: column; gap: 2px; }
|
|
.ct-dial { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; gap: 0 12px; }
|
|
.ct-dial-k { display: flex; align-items: center; gap: 10px; }
|
|
.ct-dial-v { font-size: 22px; text-align: right; }
|
|
.ct-dial input { grid-column: 1 / -1; height: 32px; }
|
|
.ct-dial .ct-slide-l { min-height: 40px; }
|
|
.ct-dial.big .ct-dial-v { font-size: 32px; }
|
|
.ct-dial.big .ct-dial-k { grid-column: 1 / -1; justify-content: space-between; }
|
|
.ct-dial.big .ct-dial-v { grid-column: 1 / -1; text-align: left; }
|
|
.ct-dial.big input { height: 44px; }
|
|
.ct-dial + .ct-dial { border-top: 1px solid var(--bz-line); padding-top: 2px; }
|
|
.ct-dial input::-webkit-slider-runnable-track { height: 4px; }
|
|
.ct-slide input, .ct-exit input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
|
|
.ct-slide input::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--bz-ink) calc(14px + (100% - 28px) * var(--f)), var(--bz-track) calc(14px + (100% - 28px) * var(--f))); }
|
|
.ct-slide input::-moz-range-track { height: 4px; border-radius: 999px; background: var(--bz-track); }
|
|
.ct-slide input::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--bz-ink); }
|
|
.ct-slide input::-webkit-slider-thumb, .ct-exit input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: #fff; border: 1px solid var(--bz-ink); transition: transform .09s var(--bz-out); }
|
|
.ct-slide input::-moz-range-thumb, .ct-exit input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--bz-ink); }
|
|
.ct-slide input:active::-webkit-slider-thumb, .ct-exit input:active::-webkit-slider-thumb { transform: scale(.97); }
|
|
.ct-slide input:focus-visible, .ct-exit input:focus-visible { outline: 2px solid var(--bz-ink); outline-offset: 2px; border-radius: 8px; }
|
|
|
|
/* the bar and the table */
|
|
.ct-bar { position: relative; height: 44px; border-radius: 12px; overflow: hidden; background: var(--bz-card); flex: none; }
|
|
.ct-seg { position: absolute; inset: 0; transform-origin: 0 50%; transition: transform .5s var(--bz-inout), opacity .3s var(--bz-out); }
|
|
.ct-seg.off { opacity: .2; }
|
|
.ct-sep { position: absolute; inset: 0; pointer-events: none; transition: transform .5s var(--bz-inout); }
|
|
.ct-sep::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: #fff; }
|
|
.ct-table { width: 100%; border-collapse: collapse; font-size: 16px; }
|
|
.ct-table th { padding: 0 8px 10px; text-align: left; font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bz-muted); border-bottom: 1px solid var(--bz-line); }
|
|
.ct-table td { padding: 12px 8px; border-bottom: 1px solid var(--bz-line); white-space: nowrap; transition: opacity .3s var(--bz-out), color .3s var(--bz-out); }
|
|
.ct-table th:first-child, .ct-table td:first-child { padding-left: 0; }
|
|
.ct-table th:last-child, .ct-table td:last-child { padding-right: 0; }
|
|
.ct-table th:nth-child(n + 3), .ct-table td:nth-child(n + 3) { text-align: right; }
|
|
.ct-table td:first-child { font-weight: 497; }
|
|
.ct-table td.ct-k { color: var(--bz-muted); }
|
|
.ct-dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 6px; }
|
|
.ct-table tr.off td { opacity: .28; }
|
|
.ct-table tr.on td:last-child { font-weight: 606; }
|
|
.ct-terms, .ct-eg { margin: 0; font-size: 13px; line-height: 1.6; color: var(--bz-quiet); }
|
|
|
|
/* rhythm: every blank band between two sections is at most 188px (94 + 94 at 1470) */
|
|
.ct .bz-sec { padding: clamp(64px, 6.4vw, 94px) 0; }
|
|
|
|
/* the six instruments as a live ledger: number, the instrument in Hanzo's words, its figure from the calculator */
|
|
.ct-ch-head { align-items: end; margin-bottom: 44px; }
|
|
.ct-ch-head .bz-headline { grid-column: 1 / span 7; }
|
|
.ct-ch-head .bz-lede { grid-column: 8 / span 5; font-size: 17px; }
|
|
.ct-ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bz-ink); }
|
|
.ct-ledger li { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr); align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--bz-line); }
|
|
.ct-led-n { font-size: 13px; color: var(--bz-quiet); }
|
|
.ct-led-t h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.01em; }
|
|
.ct-led-t p { margin: 6px 0 0; max-width: 52ch; font-size: 16px; line-height: 1.5; color: var(--bz-muted); }
|
|
.ct-led-v { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
|
|
.ct-led-v .bz-fig { font-size: 36px; }
|
|
.ct-led-v .x-mono { font: 606 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bz-quiet); }
|
|
|
|
/* the term sheet: a page, outlined */
|
|
.ct-doc { grid-column: 2 / span 10; padding: clamp(27px, 5vw, 72px); border-radius: 8px; background: #fdfdfd; border: 1px solid var(--bz-line); }
|
|
.ct-doc-k { display: flex; justify-content: space-between; margin: 0 0 44px; padding-bottom: 17px; border-bottom: 1px solid var(--bz-ink); font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
.ct-toc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(32px, 6vw, 72px); }
|
|
.ct-toc li { break-inside: avoid; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--bz-line); }
|
|
.ct-toc li > .x-mono { font-size: 13px; color: var(--bz-quiet); }
|
|
.ct-doc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 44px; }
|
|
.ct-sign { position: relative; width: min(320px, 46%); height: 56px; margin-bottom: 24px; border-bottom: 1px solid var(--bz-ink); }
|
|
.ct-sign em { position: absolute; left: 0; top: calc(100% + 8px); font: 606 12px/1.3 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--bz-quiet); }
|
|
.ct-clauses { list-style: none; margin: 0; padding: 0; }
|
|
.ct-clauses li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 12px; padding: 0 0 27px; }
|
|
.ct-clauses li > span { grid-row: span 2; font-size: 13px; color: var(--bz-quiet); padding-top: 3px; }
|
|
.ct-clauses h3 { margin: 0; font-size: 17px; font-weight: 497; }
|
|
.ct-clauses p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--bz-muted); }
|
|
|
|
/* the waterfall: the one black room */
|
|
.ct-wf { background: #000000; color: #fafafa; }
|
|
.ct-wf .ct-s1 { background: #a3a3a3; }
|
|
.ct-wf .ct-s2 { background: #737373; }
|
|
.ct-wf .ct-s3 { background: #fafafa; }
|
|
.ct-wf-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 20px; align-self: center; }
|
|
.ct-wf-copy .bz-headline { color: #fafafa; }
|
|
.ct-wf-copy .bz-body { color: #a3a3a3; }
|
|
.ct-exit { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; padding-top: 27px; border-top: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
|
|
.ct-exit-k { font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
|
|
/* the exit price rests at 64px and grows to 84px only while the hand is on it (the moment) */
|
|
/* anchored at its bottom-left and given a 34px reserve above (8px gap + 26px), so at 84px the digits keep about
|
|
20px clear of the "Exit price" label */
|
|
.ct-exit b { display: inline-block; align-self: flex-start; margin-top: 26px; font-size: 64px; color: #fafafa; transform-origin: left bottom; transition: transform .3s var(--bz-emph); }
|
|
.ct-exit.act b { transform: scale(1.3125); }
|
|
.ct-exit input::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, #fafafa calc(14px + (100% - 28px) * var(--f)), rgba(255, 255, 255, .14) calc(14px + (100% - 28px) * var(--f))); }
|
|
.ct-exit input::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
|
|
.ct-exit input::-moz-range-progress { height: 4px; border-radius: 999px; background: #fafafa; }
|
|
.ct-exit input::-webkit-slider-thumb { border-color: #fff; }
|
|
.ct-exit input:focus-visible { outline-color: #fff; }
|
|
.ct-wf-note { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
|
|
.ct-falls { grid-column: 7 / span 6; align-self: center; }
|
|
.ct-falls-k { display: flex; justify-content: space-between; margin: 0 0 17px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
|
|
.ct-falls ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
|
|
.ct-fall { display: grid; gap: 14px; margin-left: calc(var(--k) * 27px); padding: 22px 24px; border-radius: 16px; background: #171717; }
|
|
.ct-fall.me { background: #fafafa; color: #0a0a0a; }
|
|
.ct-fall.me .ct-fall-h span, .ct-fall.me .ct-fall-h em, .ct-fall.me .ct-fall-n em { color: #525252; }
|
|
.ct-fall.me .ct-fall-bar { background: rgba(0, 0, 0, .1); }
|
|
.ct-fall.me .ct-fall-bar b { background: #0a0a0a; }
|
|
.ct-fall p { margin: 0; }
|
|
.ct-fall-h { display: flex; align-items: baseline; gap: 12px; }
|
|
.ct-fall-h span { font-size: 13px; color: rgba(255, 255, 255, .55); }
|
|
.ct-fall-h b { font-size: 17px; font-weight: 497; }
|
|
.ct-fall-h em { margin-left: auto; font-style: normal; font-size: 13px; color: #a3a3a3; }
|
|
.ct-fall-bar { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
|
|
.ct-fall-bar b { display: block; height: 100%; transform-origin: 0 50%; transition: transform .5s var(--bz-inout); }
|
|
.ct-fall-n { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
|
|
.ct-fall-n .bz-fig { font-size: 32px; }
|
|
.ct-fall-n em { font-style: normal; font-size: 13px; color: #a3a3a3; white-space: nowrap; }
|
|
|
|
/* plans: cards that open into the plan's own panel */
|
|
/* the head sits level with the middle of the cards; cards are as tall as their content, staggered by 36px */
|
|
.ct-plans-head { grid-column: 1 / span 4; align-self: center; display: flex; flex-direction: column; gap: 17px; }
|
|
.ct-plan-grid { grid-column: 6 / span 7; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; }
|
|
.ct-plan:nth-child(2n) { margin-top: 36px; }
|
|
.ct-plan:nth-child(2n + 1) { margin-bottom: 36px; }
|
|
.ct-plan .bz-open-card { height: 100%; min-height: 0; padding: 27px; gap: 12px; }
|
|
.ct-pc-f { display: block; margin-top: 4px; padding: 12px 52px 0 0; border-top: 1px solid var(--bz-line); font-size: 15px; font-weight: 497; }
|
|
.ct-plan.pop .ct-pc-f { border-top-color: rgba(255, 255, 255, .14); }
|
|
.ct-pc-t { display: flex; justify-content: space-between; align-items: center; width: 100%; }
|
|
.ct-popular { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bz-ink); color: #fff; font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
|
|
.ct-plan.pop .ct-popular { background: #fff; color: var(--bz-ink); }
|
|
.ct-pp-p .ct-popular { align-self: center; margin-left: 12px; }
|
|
.ct-pc-p, .ct-pp-p { display: flex; align-items: baseline; gap: 6px; }
|
|
.ct-pc-p { margin-top: 6px; }
|
|
.ct-pc-p b, .ct-pc-p .bz-fig { font-size: 44px; }
|
|
.ct-calc-k { margin: 0; }
|
|
.ct-pc-p em, .ct-pp-p em { font-style: normal; font-size: 16px; color: var(--bz-muted); }
|
|
.ct-pc-d { display: block; padding-right: 52px; font-size: 16px; line-height: 1.5; color: var(--bz-muted); }
|
|
.ct-plan.pop .bz-open-card { background: var(--bz-graphite); color: #fafafa; }
|
|
.ct-plan.pop .bz-kick, .ct-plan.pop .ct-pc-d, .ct-plan.pop .ct-pc-p em { color: #a3a3a3; }
|
|
.ct-plan.pop .bz-open-plus { background: #fff; color: var(--bz-ink); }
|
|
@media (hover: hover) { .ct-plan.pop .bz-open-card:hover { background-color: #262626; } }
|
|
.ct-pp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(27px, 4vw, 44px); align-items: start; }
|
|
.ct-pp-l { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
|
|
.ct-pp-p b { font-size: 64px; }
|
|
.ct-pp-l .x-arrow { font-size: 17px; margin-top: 4px; }
|
|
.ct-pp-f { list-style: none; margin: 0; padding: 0; }
|
|
.ct-pp-f li { padding: 14px 0; border-top: 1px solid var(--bz-line); font-size: 17px; }
|
|
.ct-pp-f li:first-child { border-top: 0; padding-top: 4px; font-weight: 497; }
|
|
|
|
/* where it comes from, and the ways in */
|
|
/* two columns that end on one line: the fork tile grows to meet the bottom of the rows and the repo card */
|
|
.ct-more .bz-grid { align-items: stretch; }
|
|
.ct-oss { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 16px; }
|
|
.ct-side { grid-column: 8 / span 5; display: flex; flex-direction: column; }
|
|
.ct-ways { flex: 1; display: flex; flex-direction: column; }
|
|
.ct-ways li { flex: 1; display: flex; }
|
|
.ct-ways .ct-way { flex: 1; justify-content: center; }
|
|
.ct-ways li:last-child .ct-way { border-bottom: 1px solid var(--bz-line); }
|
|
.ct-oss .bz-body a { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--bz-ink); text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .15s var(--bz-out), text-underline-offset .2s var(--bz-out); }
|
|
/* the inline link answers the hand: the underline goes ink, thickens and steps down */
|
|
@media (hover: hover) { .ct .ct-oss .bz-body a:hover { text-decoration-color: var(--bz-ink); text-decoration-thickness: 2px; text-underline-offset: 5px; } }
|
|
/* the fork, drawn from the two repo names already on the page */
|
|
.ct-fork { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; margin-top: 17px; padding: 27px; border-radius: 16px; background: var(--bz-card); }
|
|
.ct-fork-l { display: flex; }
|
|
.ct-fork-l.me { justify-content: flex-end; }
|
|
.ct-fork-l .x-arrow { font: 497 14px/1.3 var(--mono); }
|
|
.ct-fork-svg { display: block; width: 100%; height: auto; margin: 2px 0; overflow: visible; }
|
|
.ct-fork-svg path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--bz-inout); }
|
|
.ct-fork-up { stroke: #737373; stroke-width: 3; }
|
|
.ct-fork-me { stroke: var(--bz-ink); stroke-width: 4; transition-delay: .35s !important; }
|
|
.ct-fork-back { stroke: var(--bz-ink); stroke-width: 2.5; stroke-dasharray: 1; transition-delay: .9s !important; }
|
|
.ct-fork.in .ct-fork-svg path { stroke-dashoffset: 0; }
|
|
.ct-fork-d { stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .3s var(--bz-out), transform .4s var(--bz-emph); transition-delay: calc(var(--i) * 90ms + .2s); }
|
|
.ct-fork-d { r: 7px; }
|
|
.ct-fork-d.up { fill: #fff; stroke: #737373; stroke-width: 3; }
|
|
.ct-fork-d.me { fill: var(--bz-ink); stroke: var(--bz-ink); }
|
|
.ct-fork.in .ct-fork-d { opacity: 1; transform: none; }
|
|
/* the repo card: what you get, with its licence and stars, one full-width strip under both columns */
|
|
.ct-get { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 27px; padding: 22px 27px; border-radius: 16px; border: 1px solid var(--bz-line); }
|
|
.ct-get-t { display: flex; flex-direction: column; gap: 4px; margin-right: auto; }
|
|
.ct-get .ct-chips { margin-top: 0; }
|
|
.ct-get p { margin: 0; font-size: 17px; color: var(--bz-muted); }
|
|
.ct-get-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; }
|
|
.ct-get-h svg { width: 22px; height: 22px; }
|
|
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
|
|
.ct-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bz-line); font: 497 14px/1 var(--mono); color: var(--bz-ink); text-decoration: none; transition: background-color .15s var(--bz-out), transform .09s var(--bz-out); }
|
|
.ct-chip span, .ct-chip em { color: var(--bz-quiet); font-style: normal; }
|
|
@media (hover: hover) { a.ct-chip:hover { background-color: var(--bz-room); } }
|
|
a.ct-chip:active { transform: scale(.97); }
|
|
.ct-ways { list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; }
|
|
.ct-way { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 -16px; padding: 22px 16px; border-top: 1px solid var(--bz-line); color: var(--bz-ink); text-decoration: none; transition: background-color .15s var(--bz-out); }
|
|
.ct-way b, .ct-way .ct-way-t { font-size: 17px; font-weight: 497; line-height: 1.3; color: var(--bz-ink); }
|
|
.ct-way span { font-size: 16px; line-height: 1.5; color: var(--bz-muted); }
|
|
.ct-way em, .ct-way .ct-way-go { font-style: normal; line-height: 1.5; font-size: 16px; font-weight: 497; color: var(--bz-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: transform .3s var(--bz-out); }
|
|
/* each row fills grey under the hand, like the close row, and its link steps right */
|
|
@media (hover: hover) {
|
|
.ct-way:hover { background-color: var(--bz-card); }
|
|
.ct-way:hover em, .ct-way:hover .ct-way-go { transform: translateX(4px); }
|
|
}
|
|
.ct-way:active { background-color: var(--bz-tile); }
|
|
.ct-way:focus-visible { outline: 2px solid var(--bz-ink); outline-offset: -2px; }
|
|
|
|
/* the close: one sentence, the ask, one full-width row */
|
|
.ct .ct-end { padding-top: 27px; }
|
|
.ct-end-row { align-items: end; margin-top: 27px; }
|
|
.ct-end-row .bz-lede { grid-column: 1 / span 6; }
|
|
.ct-end-go { grid-column: 8 / span 5; display: flex; align-items: center; gap: 22px; }
|
|
.ct-end-go .x-btn { height: 48px; padding: 0 28px; font-size: 16px; }
|
|
.ct-end-go p { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: var(--bz-muted); }
|
|
.ct-end-go b { font-weight: 497; color: var(--bz-ink); }
|
|
.ct-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; margin-top: clamp(44px, 5vw, 72px); padding: 0 16px; border-top: 1px solid var(--bz-ink); border-bottom: 1px solid var(--bz-line); color: var(--bz-ink); text-decoration: none; font-size: 17px; font-weight: 497; transition: background-color .15s var(--bz-out); }
|
|
.ct-row em, .ct-row .ct-row-go { display: inline-flex; align-items: center; gap: 10px; font-style: normal; white-space: nowrap; }
|
|
.ct-row > span { white-space: nowrap; }
|
|
@media (hover: hover) { .ct-row:hover { background-color: var(--bz-room); } }
|
|
.ct-row:active { background-color: var(--bz-tile); }
|
|
|
|
/* ---------- the five entrances (captable/Entrances.jsx sets data-e: absent = final state, armed = start, in = play) */
|
|
.ct-ts, .ct-more { overflow-x: clip; }
|
|
.ct-wf { overflow: clip; }
|
|
/* 1 pull-back: the waterfall room starts zoomed right in and pulls back to the whole */
|
|
.ct-wf > .bz-wrap { transform-origin: 30% 40%; }
|
|
.ct-wf[data-e='armed'] > .bz-wrap { transform: scale(1.6); opacity: 0; filter: blur(6px); }
|
|
.ct-wf[data-e='in'] > .bz-wrap { transition: transform .9s var(--bz-emph), opacity .45s var(--bz-out), filter .6s var(--bz-out); }
|
|
/* 2 zoom-through: the ledger flies in from far behind the screen */
|
|
.ct-ins { perspective: 900px; }
|
|
.ct-ins[data-e='armed'] .ct-ledger, .ct-ins[data-e='armed'] .ct-ch-head { transform: translateZ(-700px); opacity: 0; filter: blur(8px); }
|
|
.ct-ins[data-e='in'] .ct-ledger, .ct-ins[data-e='in'] .ct-ch-head { transition: transform .85s var(--bz-emph), opacity .5s var(--bz-out), filter .6s var(--bz-out); }
|
|
.ct-ins[data-e='in'] .ct-ledger { transition-delay: .08s; }
|
|
/* 3 inertia-drag: the sheet is thrown in from the right and coasts to rest, then can be dragged and thrown back */
|
|
.ct-doc-in { grid-column: 2 / span 10; }
|
|
.ct-doc-in .ct-doc { touch-action: pan-y; cursor: grab; }
|
|
.ct-doc-in .ct-doc:active { cursor: grabbing; }
|
|
.ct-doc-in[data-e='armed'] { transform: translateX(70vw) rotate(3deg); }
|
|
.ct-doc-in[data-e='in'] { transition: transform .9s cubic-bezier(.08, .82, .17, 1); }
|
|
/* 4 split-merge: the two columns slide in from either side and merge */
|
|
.ct-more[data-e='armed'] .ct-oss { transform: translateX(-40vw); opacity: 0; }
|
|
.ct-more[data-e='armed'] .ct-side { transform: translateX(40vw); opacity: 0; }
|
|
.ct-more[data-e='armed'] .ct-get { clip-path: inset(0 50% 0 50% round 16px); }
|
|
.ct-more[data-e='in'] .ct-oss, .ct-more[data-e='in'] .ct-side { transition: transform .8s var(--bz-emph), opacity .4s var(--bz-out); }
|
|
.ct-more[data-e='in'] .ct-get { clip-path: inset(0 0 0 0 round 16px); transition: clip-path .6s var(--bz-emph) .45s; }
|
|
/* 5 count-roll: the plan prices count up (CountTo) and roll digit by digit (Roll) */
|
|
.ct-count { display: inline-flex; }
|
|
|
|
@media (max-width: 599px) {
|
|
/* the close row stacks: the label on its line, "Read the docs โ" under it on the right */
|
|
.ct-row { flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 16px; }
|
|
.ct-row em, .ct-row .ct-row-go { align-self: flex-end; }
|
|
}
|
|
|
|
@media (max-width: 899px) {
|
|
.ct .x-mono, .ct-terms, .ct-eg, .ct-fall-h span, .ct-fall-h em, .ct-fall-n em, .ct-toc li > .x-mono, .ct-clauses li > span { font-size: 14px; }
|
|
.ct-cat, .ct-big-k, .ct-slide-l, .ct-table th, .ct-falls-k, .ct-exit-k, .ct-popular, .ct-doc-k, .ct .bz-kick { font-size: 14px; letter-spacing: .1em; }
|
|
.ct-hero { padding: 72px 0 72px; }
|
|
.ct-hero-grid { display: flex; flex-direction: column; align-items: stretch; }
|
|
.ct-copy { order: 1; }
|
|
.ct-big { order: 2; margin-top: 64px; padding-bottom: 0; border: 0; }
|
|
.ct-big-s { font-size: 16px; margin-top: 10px !important; gap: 8px 12px; }
|
|
.ct-acts { order: 3; justify-content: flex-start; margin-top: 20px; }
|
|
.ct-obj { order: 4; margin-top: 27px; padding: 17px; gap: 14px; }
|
|
.ct-lede { order: 5; margin-top: 44px; }
|
|
.ct-table { font-size: 14px; }
|
|
.ct-table td { padding: 11px 6px; }
|
|
.ct-table .ct-n { display: none; }
|
|
|
|
.ct-big-n { font-size: 80px; }
|
|
.ct-dial-v { font-size: 20px; }
|
|
.ct-dial input { height: 44px; }
|
|
.ct-dial.big .ct-dial-v { font-size: 28px; }
|
|
|
|
.ct-ch-head { margin-bottom: 27px; }
|
|
.ct-ch-head .bz-headline, .ct-ch-head .bz-lede { grid-column: 1 / -1; }
|
|
.ct-ch-head .bz-lede { margin-top: 16px; }
|
|
.ct-ledger li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; padding: 18px 0; }
|
|
.ct-led-v { grid-column: 2; flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; text-align: left; }
|
|
.ct-led-v .bz-fig { font-size: 28px; }
|
|
.ct-led-v .x-mono, .ct-led-n { font-size: 14px; }
|
|
.ct-led-t h3 { font-size: 19px; }
|
|
|
|
.ct-doc, .ct-doc-in { grid-column: 1 / -1; }
|
|
.ct-doc { padding: 22px 17px; }
|
|
.ct-toc { columns: 1; }
|
|
.ct-toc li { grid-template-columns: 44px minmax(0, 1fr); padding: 14px 0; }
|
|
.ct-doc-foot { flex-direction: column; align-items: stretch; }
|
|
.ct-sign { width: 100%; }
|
|
|
|
.ct-wf-copy, .ct-falls { grid-column: 1 / -1; }
|
|
.ct-falls { margin-top: 44px; }
|
|
.ct-falls ol { gap: 10px; }
|
|
.ct-fall { margin-left: calc(var(--k) * 10px); padding: 16px 17px; gap: 12px; }
|
|
.ct-fall-n .bz-fig { font-size: 26px; }
|
|
.ct-exit b { font-size: 52px; }
|
|
.ct-exit.act b { transform: none; }
|
|
|
|
.ct-plans-head { grid-column: 1 / -1; position: static; margin-bottom: 27px; }
|
|
.ct-plan-grid { grid-column: 1 / -1; grid-template-columns: 1fr; }
|
|
.ct-plan:nth-child(2n) { margin-top: 0; }
|
|
.ct-plan .bz-open-card { min-height: 0; padding: 22px; }
|
|
.ct-plan:nth-child(2n + 1) { margin-bottom: 0; }
|
|
.ct-pp { grid-template-columns: 1fr; gap: 27px; }
|
|
.ct-pp-p b { font-size: 52px; }
|
|
.ct-pp-f li { font-size: 16px; }
|
|
|
|
.ct-oss, .ct-side { grid-column: 1 / -1; }
|
|
.ct-side { margin-top: 44px; }
|
|
.ct-end-row .bz-lede, .ct-end-go { grid-column: 1 / -1; }
|
|
.ct-end-go { margin-top: 24px; flex-wrap: wrap; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ct-seg, .ct-sep, .ct-fall-bar b, .ct-table td, .ct-exit b { transition: none; }
|
|
}
|
|
|
|
/* 8 Nov (Ready pass): the inline "Captable, Inc." link answers a hover like the page's other links */
|
|
.ct-oss .bz-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-underline-offset .2s var(--ease), text-decoration-thickness .2s var(--ease); }
|
|
@media (hover: hover) { .ct-oss .bz-body a:hover { text-decoration-thickness: 2px; text-underline-offset: 5px; } }
|
|
|
|
/* ---------- dark (docs/DARK-MODE.md): Biz.css's .bz palette has no dark rule, so /captable maps it to Hanzo's dark tokens
|
|
here on main.ct. The waterfall room and the popular plan stay dark in both modes. Light is untouched. ---------- */
|
|
html:not(.light) .ct { --bz-ink: var(--foreground); --bz-muted: var(--muted-foreground); --bz-quiet: var(--text-tertiary); --bz-line: var(--border);
|
|
--bz-paper: var(--card); --bz-room: var(--muted); --bz-card: var(--muted); --bz-tile: var(--secondary); --bz-track: var(--neutral-600); --acc-soft: var(--secondary);
|
|
background: var(--bg); }
|
|
/* Biz.css pieces on this page */
|
|
html:not(.light) .ct .bz-sheet-btn { border-color: var(--border-control); }
|
|
@media (hover: hover) { html:not(.light) .ct .bz-sheet-btn:hover { border-color: var(--border-strong); } html:not(.light) .ct .bz-open-card:hover .bz-open-plus { color: var(--x-on-ink); } }
|
|
html:not(.light) .ct .cf-mark, html:not(.light) .ct .cf-code.light .cf-mark { background-color: var(--x-knob); }
|
|
html:not(.light) .ct .cf-code.light .s { color: var(--soft); }
|
|
html:not(.light) .ct .cf-code.light .c { color: var(--faint); }
|
|
/* the page's own pieces */
|
|
@media (hover: hover) { html:not(.light) .ct .ct-acts [data-cta='captable.hero']:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); } }
|
|
html:not(.light) .ct-pause, html:not(.light) .ct-slide input::-webkit-slider-thumb, html:not(.light) .ct-sep::before, html:not(.light) .ct-doc { background: var(--x-raised); }
|
|
html:not(.light) .ct-slide input::-moz-range-thumb { background: var(--x-raised); }
|
|
html:not(.light) .ct-pause[aria-pressed='true'], html:not(.light) .ct-popular { color: var(--x-on-ink); }
|
|
html:not(.light) .ct-plan.pop .ct-popular { color: var(--bz-graphite); }
|
|
html:not(.light) .ct-oss .bz-body a { text-decoration-color: var(--white-30); }
|
|
html:not(.light) .ct-fork-d.up { fill: var(--bg); }
|