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
659 lines
52 KiB
CSS
659 lines
52 KiB
CSS
/* ---------- one Web3 product and the chain directory, v2 (xb2-): white canvas, ink only, one dark room ---------- */
|
||
.xb2 { overflow-x: clip; }
|
||
|
||
/* stage */
|
||
.xb2-hero { position: relative; padding: clamp(40px, 5vw, 80px) 0 0; }
|
||
.xb2-hero-g { align-items: end; row-gap: 32px; }
|
||
.xb2-hero-t { grid-column: 1 / span 7; }
|
||
.xb2-back { min-height: 44px; color: var(--soft); font-size: 15px; }
|
||
.xb2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); max-width: 40ch; }
|
||
.xb2-h1 { max-width: 9ch; }
|
||
.xb2-hero-r { grid-column: 8 / span 5; padding-bottom: 8px; }
|
||
.xb2-claim { margin: 0; font-size: 21px; font-weight: 497; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; max-width: 26ch; }
|
||
.xb2-lede { margin-top: 16px; font-size: clamp(19px, 1.4vw, 21px); }
|
||
.xb2-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
|
||
.xb2-stage { margin-top: clamp(56px, 6vw, 96px); }
|
||
.xb2-key { position: relative; border-radius: var(--r-hero); background: var(--ink); color: var(--hz-50); overflow: hidden; }
|
||
.xb2-key .xbc-stream { padding: 28px 0; }
|
||
.xb2-key .xbc-stream li { width: 156px; }
|
||
.xb2-key-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; padding: 40px 40px 36px; }
|
||
.xb2-key h2 { color: var(--hz-50); margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; max-width: 18ch; }
|
||
.xb2-key-sub { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--hz-300); }
|
||
.xb2-key .v2f-btn.light, .xb2-band .v2f-btn.light { background: var(--hz-50); color: var(--ink); border-color: var(--hz-50); }
|
||
.xb2-key .v2f-btn.ghost, .xb2-band .v2f-btn.ghost { background: transparent; color: var(--hz-50); border-color: rgba(255, 255, 255, .26); }
|
||
.xb2-note { margin: 16px 0 0; font-size: 14px; color: var(--hz-400); }
|
||
.xb2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
|
||
.xb2-stats div { display: flex; flex-direction: column-reverse; gap: 12px; padding: 0 0 0 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
|
||
.xb2-stats dd { margin: 0; font-size: 44px; color: var(--hz-white); white-space: nowrap; }
|
||
.xb2-stats div:first-child dd { color: var(--hz-white); }
|
||
.xb2-stats dt { font: 500 13px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hz-400); }
|
||
.xb2-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px 40px 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
||
.xb2-trust p { margin: 0; font-size: 14px; color: var(--hz-400); }
|
||
.xb2-trust ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
|
||
.xb2-trust li { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 14px; }
|
||
.xb2-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
|
||
.xb2-feat li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--hair); }
|
||
.xb2-feat b { font-size: 17px; font-weight: 600; }
|
||
.xb2-feat span { font-size: 15px; line-height: 1.5; color: var(--soft); }
|
||
|
||
/* editorial rows (Built For) */
|
||
.xb2-sh { margin-bottom: clamp(40px, 5vw, 72px); }
|
||
.xb2-sh .v2f-lede { margin-top: 18px; }
|
||
.xb2-rl { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
|
||
.xb2-rl > li { align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--hair); }
|
||
.xb2-rl-n { grid-column: 1; font-size: clamp(40px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: var(--silver); font-feature-settings: 'tnum'; transition: color var(--ui) var(--out); }
|
||
@media (hover: hover), (pointer: none) { .xb2-rl > li:hover .xb2-rl-n { color: var(--ink); } }
|
||
.xb2-rl h3 { grid-column: 1 / span 6; margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1.15; }
|
||
.xb2-rl-t { grid-column: 8 / span 5; }
|
||
.xb2-rl-t p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--soft); }
|
||
.xb2-rl-t .x-arrow { margin-top: 12px; min-height: 44px; display: inline-flex; align-items: center; }
|
||
|
||
/* tiles (the exchange's products) */
|
||
.xb2-tl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
|
||
.xb2-tl > li { padding: 40px; display: flex; flex-direction: column; gap: 12px; }
|
||
.xb2-tl p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--soft); }
|
||
.xb2-tl .xbc-bul li { font-size: 16px; }
|
||
|
||
/* code as the developer hero */
|
||
.xb2-int { background: var(--card); }
|
||
.xb2-int-h { grid-column: 1 / span 4; align-self: start; position: sticky; top: 112px; }
|
||
.xb2-int-h .v2f-lede { margin-top: 18px; }
|
||
.xb2-int-i { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
|
||
.xb2-int-i li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--hair); }
|
||
.xb2-int-i b { font-size: 17px; }
|
||
.xb2-int-i span { font-size: 15px; line-height: 1.5; color: var(--soft); }
|
||
.xb2-code { grid-column: 6 / span 7; min-width: 0; }
|
||
.xb2-code .xbc-code { border-radius: var(--r-hero); }
|
||
.xb2-code .xbc-code pre { font-size: 14px; max-height: 620px; padding: 28px 32px 32px; }
|
||
|
||
/* supported chains + your chain */
|
||
.xb2-chains-l { grid-column: 1 / span 6; }
|
||
.xb2-chains-r { grid-column: 8 / span 5; }
|
||
.xb2-chiplist { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
|
||
.xb2-chiplist li { padding: 12px 20px; border-radius: 999px; background: var(--card); font-size: 16px; font-weight: 497; }
|
||
.xb2-your { border-radius: var(--r-hero); padding: 28px; border: 1px solid var(--hair); background: var(--x-raised); }
|
||
.xb2-your .xbc-your-pick button { min-height: 44px; transition: background-color .25s var(--out), color .25s; }
|
||
.xb2-your .xbc-your-pick button[aria-pressed='true'] { background: var(--ink); color: var(--x-on-ink); }
|
||
.xb2-your .xbc-verdict.yes i { background: var(--ink); color: var(--x-on-ink); }
|
||
.xb2-verdict { gap: 14px; }
|
||
.xb2-verdict b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
|
||
.xb2-others { margin: 20px 0 8px; }
|
||
.xb2-others b { font-size: 44px; }
|
||
|
||
/* siblings, the dark room, the last strip */
|
||
.xb2-next { padding-top: clamp(96px, 10vw, 160px); }
|
||
.xb2-band { position: relative; padding: clamp(160px, 17vw, 260px) 0; background: var(--ink); color: var(--hz-50); }
|
||
.xb2-band-g { align-items: end; row-gap: 28px; }
|
||
.xb2-band-h { grid-column: 1 / span 7; color: var(--hz-50); max-width: 12ch; }
|
||
.xb2-band-r { grid-column: 8 / span 5; }
|
||
.xb2-band .v2f-lede { color: var(--hz-300); }
|
||
.xb2-get { padding: 48px 0; border-top: 1px solid var(--hair); }
|
||
.xb2-get-g { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
|
||
.xb2-get p { margin: 6px 0 0; color: var(--soft); }
|
||
.xb2-get-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
||
.xb2-get .xbc-tag { min-height: 44px; padding: 0 16px; font-size: 14px; }
|
||
|
||
/* ---------- the chain directory: a catalogue ---------- */
|
||
.xb2-dir-hero { position: relative; padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 6vw, 96px); overflow: hidden; }
|
||
.xb2-dir-sig { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); opacity: .2; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 30%, var(--hz-black) 75%); mask-image: linear-gradient(90deg, transparent 30%, var(--hz-black) 75%); }
|
||
.xb2-dir-g { position: relative; align-items: end; row-gap: 32px; }
|
||
.xb2-dir-t { grid-column: 1 / span 8; }
|
||
.xb2-dir-t .v2f-lede { margin-top: 28px; }
|
||
.xb2-dir-n { grid-column: 9 / span 4; justify-self: end; text-align: right; margin: 0; }
|
||
.xb2-dir-n b { display: block; font-size: 64px; color: var(--ink); }
|
||
.xb2-dir-n span { font-size: 15px; color: var(--muted); }
|
||
.xb2-tools { position: sticky; top: 60px; z-index: 5; background: var(--x-raised); border-bottom: 1px solid var(--hair); }
|
||
.xb2-tools-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; }
|
||
.xb2-tools .xbc-search { height: 48px; max-width: 320px; }
|
||
.xb2-tools .xbc-seg button { min-height: 40px; }
|
||
.xb2-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 14px; font-size: 14px; color: var(--soft); }
|
||
.xb2-legend button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--hair); border-radius: 99px; background: var(--x-raised); font: 500 14px/1 var(--sans); color: var(--soft); cursor: pointer; transition: background-color .25s var(--out), color .25s, border-color .25s; }
|
||
.xb2-legend button i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
|
||
.xb2-legend button[aria-pressed='true'] i { background: var(--x-raised); }
|
||
.xb2-legend button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
|
||
.xb2-dir-b { padding: 40px 0 clamp(120px, 14vw, 220px); }
|
||
.xb2-dgrid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
||
.xb2-dcard { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 12px; min-height: 196px; padding: 24px; border-radius: var(--r-card); background: var(--card); color: var(--ink); transition: transform .45s var(--out); }
|
||
.xb2-dcard-hit { position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; background: none; border-radius: inherit; cursor: pointer; }
|
||
@media (hover: hover), (pointer: none) { .xb2-dcard:hover { transform: translateY(-4px); } }
|
||
.xb2-dcard:has(.xb2-dcard-hit:active) { transform: scale(.98); }
|
||
.xb2-dcard h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.015em; line-height: 1.2; }
|
||
.xb2-dcard .x-mono { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 13px; color: var(--soft); }
|
||
.xb2-kind { padding: 3px 8px; border-radius: 99px; background: var(--x-raised); }
|
||
.xb2-marks { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
|
||
.xb2-marks li { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid light-dark(rgba(0, 0, 0, .14), var(--border-strong)); }
|
||
.xb2-marks li.on { background: var(--ink); border-color: var(--ink); }
|
||
.xb2-marks li.hot { box-shadow: 0 0 0 3px rgba(0, 0, 0, .14); }
|
||
.xb2-open { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; } /* above the site header (z 300), the scrim dims it too */
|
||
.xb2-scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0, 0, 0, .32); cursor: pointer; }
|
||
.xb2-panel { position: relative; width: min(640px, 100%); max-height: calc(100svh - 48px); overflow: auto; padding: 36px; border-radius: var(--r-hero); background: var(--x-raised); box-shadow: var(--float); }
|
||
.xb2-panel h3 { margin: 0; font-size: 32px; font-weight: 497; letter-spacing: -.03em; line-height: 1.05; padding-right: 56px; }
|
||
.xb2-panel .x-mono { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 0; font-size: 14px; color: var(--soft); }
|
||
.xb2-panel-x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: var(--x-raised); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
|
||
.xb2-plist { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
|
||
.xb2-plist li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--hair); font-size: 17px; }
|
||
.xb2-plist li.off { color: var(--muted); }
|
||
.xb2-plist i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); font-style: normal; font-size: 14px; }
|
||
.xb2-plist li:not(.off) i { background: var(--ink); color: var(--x-on-ink); }
|
||
.xb2-none { margin: 64px 0 0; }
|
||
.xb2-none b { font-size: 64px; color: var(--silver); }
|
||
|
||
@media (max-width: 1100px) {
|
||
.xb2-dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||
}
|
||
@media (max-width: 900px) {
|
||
.xb2-hero { padding-top: 24px; }
|
||
.xb2-hero-t, .xb2-hero-r, .xb2-int-h, .xb2-code, .xb2-chains-l, .xb2-chains-r, .xb2-band-h, .xb2-band-r, .xb2-dir-t, .xb2-dir-n { grid-column: 1 / -1; }
|
||
.xb2-claim { font-size: 24px; }
|
||
.xb2-acts .v2f-btn { flex: 1 1 140px; }
|
||
.xb2-stage { margin-top: 40px; }
|
||
.xb2-key { border-radius: 24px; }
|
||
.xb2-key .xbc-stream { padding: 20px 0; }
|
||
.xb2-key .xbc-stream li { width: 132px; }
|
||
.xb2-key-g { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 20px; }
|
||
.xb2-stats div { padding-left: 14px; }
|
||
.xb2-stats dd { font-size: 32px; }
|
||
.xb2-stats dt { font-size: 13px; letter-spacing: .06em; }
|
||
.xb2-trust { padding: 16px 20px 20px; }
|
||
.xb2-feat { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
|
||
.xb2-feat li { padding: 14px 0; }
|
||
.xb2-rl > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); row-gap: 10px; padding: 28px 0; }
|
||
.xb2-rl-n { font-size: 32px; }
|
||
.xb2-rl-n { grid-column: 1; grid-row: 1; }
|
||
.xb2-rl h3 { grid-column: 1 / -1; font-size: 21px; }
|
||
.xb2-rl-t { grid-column: 1 / -1; }
|
||
.xb2-rl-t p { font-size: 17px; }
|
||
.xb2-tl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
||
.xb2-tl > li { padding: 24px; }
|
||
.xb2-int-h { position: static; margin-bottom: 32px; }
|
||
.xb2-code .xbc-code { border-radius: 20px; }
|
||
.xb2-code .xbc-code pre { padding: 18px; font-size: 13px; }
|
||
.xb2-chains-r { margin-top: 40px; }
|
||
.xb2-chiplist { margin-top: 28px; }
|
||
.xb2-chiplist li { padding: 12px 18px; font-size: 16px; }
|
||
.xb2-your { padding: 20px; }
|
||
.xb2-band { padding: 120px 0; }
|
||
.xb2-dir-n { justify-self: end; text-align: right; }
|
||
.xb2-dir-n b { font-size: 64px; }
|
||
.xb2-tools { top: 52px; }
|
||
.xb2-tools .xbc-search { max-width: none; flex: 1 1 100%; }
|
||
.xb2-tools .xbc-seg { max-width: 100%; }
|
||
.xb2-legend { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
|
||
.xb2-legend::-webkit-scrollbar { display: none; }
|
||
.xb2-legend button { flex: none; min-height: 44px; }
|
||
.xb2-legend > span { flex: none; }
|
||
.xb2-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
||
.xb2-dcard { min-height: 164px; padding: 16px; }
|
||
.xb2-dcard h3 { font-size: 18px; }
|
||
.xb2-open { align-items: end; padding: 0; }
|
||
.xb2-panel { width: 100%; border-radius: 24px 24px 0 0; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); max-height: 88svh; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.xb2-dcard, .xb2-legend button { transition: none; }
|
||
}
|
||
.xb2-code .xbc-code-h .x-copy { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--hz-50); min-height: 36px; }
|
||
.xb2-your .xbc-your-pick { max-height: 248px; }
|
||
@media (max-width: 900px) {
|
||
.xb2-stats div { padding-left: 12px; gap: 8px; }
|
||
.xb2-stats div:first-child { padding-left: 0; border-left: 0; }
|
||
.xb2-stats dd { font-size: clamp(24px, 7.4vw, 30px); letter-spacing: -.04em; }
|
||
.xb2-stats dt { font-size: 13px; letter-spacing: .04em; }
|
||
}
|
||
|
||
/* the product console (a product line without a key card) */
|
||
.xb2-con { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1240px; margin-inline: auto; overflow: hidden; }
|
||
.xb2-con-l { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--card); border-right: 1px solid var(--hair); }
|
||
.xb2-con-sig { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--ink); opacity: .14; pointer-events: none; }
|
||
.xb2-con-h { margin: 0; }
|
||
.xb2-con-lede { margin: 0 0 12px; font-size: 17px; line-height: 1.5; color: var(--soft); max-width: 40ch; }
|
||
.xb2-con-tabs { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
|
||
.xb2-con-tabs button { position: relative; display: flex; align-items: baseline; gap: 14px; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 14px; background: none; color: var(--soft); font: 500 17px/1.3 var(--sans); text-align: left; cursor: pointer; overflow: hidden; transition: background .3s var(--out), color .3s var(--out); }
|
||
@media (hover: hover), (pointer: none) { .xb2-con-tabs button:hover { color: var(--ink); } }
|
||
.xb2-con-tabs button:active { transform: scale(.98); }
|
||
.xb2-con-tabs button[aria-selected='true'] { background: var(--x-knob); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
|
||
.xb2-con-tabs button span { font-size: 13px; color: var(--muted); }
|
||
.xb2-con-tabs b { font-weight: 600; }
|
||
.xb2-con-t { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--ink); transform-origin: 0 50%; animation: xb2-con-t 3.6s linear both; }
|
||
@keyframes xb2-con-t { from { transform: scaleX(0); } to { transform: scaleX(1); } }
|
||
.xb2-con-r { position: relative; min-height: 460px; padding: 40px 44px; }
|
||
.xb2-con-p { display: flex; flex-direction: column; gap: 18px; animation: xb2-con-in .6s cubic-bezier(.16, 1, .3, 1) both; }
|
||
.xb2-con-p[hidden] { display: none; }
|
||
@keyframes xb2-con-in { from { opacity: 0; transform: translateY(16px); } }
|
||
.xb2-con-n { margin: 0; font-size: clamp(72px, 7vw, 112px); color: var(--silver); }
|
||
.xb2-con-b { columns: 2; column-gap: 32px; margin: 8px 0; }
|
||
@media (max-width: 900px) {
|
||
.xb2-con { grid-template-columns: 1fr; }
|
||
.xb2-con-l { padding: 20px; border-right: 0; border-bottom: 1px solid var(--hair); }
|
||
.xb2-con-r { min-height: 0; padding: 24px 20px 28px; }
|
||
.xb2-con-b { columns: 1; }
|
||
.xb2-con-n { font-size: 64px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) { .xb2-con-p, .xb2-con-t { animation: none; } }
|
||
|
||
/* round 3: the key card beside the headline, so the hero object is on the first screen at 1470×801 */
|
||
.xb2-hero { padding-top: clamp(24px, 3vw, 48px); }
|
||
.xb2-hero.side .xb2-hero-g { align-items: center; min-height: calc(100svh - 64px); }
|
||
.xb2-hero.side .xb2-hero-t { grid-column: 1 / span 5; }
|
||
.xb2-hero.side .xb2-h1 { max-width: 8ch; }
|
||
@media (min-width: 901px) {
|
||
.xb2-hero.side .xb2-con-l { padding: 28px; }
|
||
.xb2-hero.side .xb2-con-r { min-height: 0; padding: 32px; }
|
||
.xb2-hero.side .xb2-con-b { columns: 1; }
|
||
.xb2-hero.side .xb2-con-n { font-size: clamp(56px, 5vw, 80px); }
|
||
}
|
||
.xb2-hero.side .xb2-claim { margin-top: 28px; }
|
||
.xb2-hero.side .xb2-hero-o { grid-column: 6 / span 7; min-width: 0; }
|
||
.xb2-hero.side .xb2-stage { margin-top: 0; }
|
||
.xb2-hero.side .xb2-key-g { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 36px 28px; }
|
||
.xb2-hero.side .xb2-trust { padding: 18px 36px 22px; }
|
||
.xb2-hero:not(.side) .xb2-hero-t { grid-column: 1 / span 7; }
|
||
.xb2-hero:not(.side) .xb2-hero-g { align-items: end; }
|
||
.xb2-hero:not(.side) .xb2-stage { margin-top: clamp(40px, 4vw, 64px); }
|
||
.xb2-key { isolation: isolate; }
|
||
.xb2-key-sig { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--hz-white); opacity: .16; pointer-events: none; }
|
||
.xb2-key .xbc-stream { position: relative; }
|
||
.xb2-feat { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
|
||
/* code: grey steps, no hues (JAMES.md 7); scoped so the shared stylesheet keeps its own */
|
||
.xb2 .c-keyword { color: var(--hz-white); font-weight: 600; } .xb2 .c-string { color: var(--hz-150); } .xb2 .c-key { color: var(--hz-100); }
|
||
.xb2 .c-number { color: var(--hz-white); } .xb2 .c-punctuation { color: var(--hz-400); } .xb2 .c-comment { color: var(--hz-400); font-style: italic; } .xb2 .c-ink { color: var(--hz-200); }
|
||
.xb2-legend button:active, .xbc-seg button:active { transform: scale(.98); }
|
||
@media (max-width: 900px) {
|
||
.xb2-hero.side .xb2-hero-g { min-height: 0; }
|
||
.xb2-hero.side .xb2-hero-t, .xb2-hero.side .xb2-hero-o, .xb2-hero:not(.side) .xb2-hero-t { grid-column: 1 / -1; }
|
||
.xb2-hero.side .xb2-claim { margin-top: 18px; }
|
||
.xb2-lede { font-size: 17px; }
|
||
.xb2-hero.side .xb2-key-g { padding: 22px 20px; gap: 24px; }
|
||
.xb2-hero.side .xb2-trust { padding: 14px 20px 18px; }
|
||
.xb2-meta { margin-top: 20px; }
|
||
.xb2-acts .x-mag { flex: 1 1 140px; }
|
||
.xb2-acts .x-mag > a { width: 100%; }
|
||
/* the catalogue on a phone: list rows, not a grid (PLAN-COMPONENTS 2.15) */
|
||
.xb2-dgrid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--hair); }
|
||
.xb2-dcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'n m' 'i m'; align-items: center; gap: 4px 12px; min-height: 72px; padding: 14px 4px; border-radius: 0; background: none; border-bottom: 1px solid var(--hair); }
|
||
.xb2-dcard h3 { grid-area: n; font-size: 17px; }
|
||
.xb2-dcard .x-mono { grid-area: i; font-size: 14px; }
|
||
.xb2-marks { grid-area: m; margin: 0; max-width: 112px; justify-content: flex-end; gap: 5px; }
|
||
.xb2-marks li { width: 10px; height: 10px; }
|
||
.xb2-kind { background: var(--card); }
|
||
}
|
||
|
||
/* round 4: the capabilities as one pinned deck, one card at a time (no grid of nine boxes) */
|
||
.xb2-deckx { position: relative; height: calc(var(--n) * 25svh + 100svh); margin-top: clamp(40px, 5vw, 80px); }
|
||
.xb2-deckx-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
|
||
.xb2-deckx-g { align-items: center; }
|
||
.xb2-deckx-h { grid-column: 1 / span 5; }
|
||
.xb2-deckx-h .v2f-lede { margin-top: 20px; }
|
||
.xb2-marks2 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 40px; }
|
||
.xb2-marks2 button { height: 44px; min-width: 32px; padding: 0 2px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
|
||
.xb2-marks2 i { display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--x-e12); overflow: hidden; }
|
||
.xb2-marks2 b { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--reveal) var(--out); }
|
||
.xb2-marks2 button[aria-current='step'] b, .xb2-marks2 button.past b { transform: none; }
|
||
.xb2-cards-w { grid-column: 7 / span 6; position: relative; min-width: 0; }
|
||
.xb2-cards { position: relative; height: min(56svh, 460px); margin: 0; padding: 0; list-style: none; }
|
||
.xb2-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: clamp(28px, 3vw, 48px); border-radius: var(--r-hero); background: var(--x-raised); border: 1px solid var(--hair); transform-origin: 50% 100%; transition: transform 500ms cubic-bezier(.16, 1, .3, 1), opacity 400ms cubic-bezier(.16, 1, .3, 1), visibility 0s; }
|
||
.xb2-card h3 { margin: 0; font-size: 44px; font-weight: 497; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; text-wrap: balance; }
|
||
.xb2-card p { margin: 0; font-size: 20px; line-height: 1.45; color: var(--soft); max-width: 38ch; text-wrap: pretty; }
|
||
.xb2-card .x-arrow { min-height: 44px; display: inline-flex; align-items: center; }
|
||
.xb2-card[data-s='on'] { z-index: 20; }
|
||
.xb2-card[data-s='next'] { z-index: calc(20 - var(--d)); transform: translateY(calc(var(--d) * -16px)) scale(calc(1 - var(--d) * .04)); opacity: calc(1 - var(--d) * .22); pointer-events: none; }
|
||
.xb2-card[data-s='next'] > * { opacity: 0; }
|
||
.xb2-card[data-s='far'] { opacity: 0; visibility: hidden; transform: translateY(-48px) scale(.86); pointer-events: none; transition: transform 500ms cubic-bezier(.16, 1, .3, 1), opacity 400ms, visibility 0s 400ms; }
|
||
.xb2-card[data-s='gone'] { z-index: 21; opacity: 0; visibility: hidden; transform: translateY(18%) scale(.96); pointer-events: none; transition: transform 400ms cubic-bezier(.4, 0, .2, 1), opacity 300ms, visibility 0s 400ms; }
|
||
.xb2-card > * { transition: opacity 300ms; }
|
||
/* the member's own code, typed in */
|
||
.xb2-type .xbc-ln { visibility: hidden; }
|
||
.xb2-type .xbc-ln.on { visibility: visible; }
|
||
.xb2-type:not(.done) .xbc-ln.on:not(:has(~ .xbc-ln.on))::after { content: ''; display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--hz-50); }
|
||
/* the stream's blocks: a mark, not a number */
|
||
.xb2 .xbc-stream .xb2-blk { display: block; width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, .4); }
|
||
.xb2-key-link { color: var(--hz-50); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; }
|
||
@media (max-width: 900px) {
|
||
.xb2-deckx { height: auto; margin-top: 96px; }
|
||
.xb2-deckx-pin { position: static; height: auto; display: block; overflow: visible; }
|
||
.xb2-deckx-h { grid-column: 1 / -1; margin-bottom: 28px; }
|
||
.xb2-marks2 { order: 3; margin-top: 20px; }
|
||
.xb2-cards-w { grid-column: 1 / -1; }
|
||
.xb2-cards { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
|
||
.xb2-cards::-webkit-scrollbar { display: none; }
|
||
.xb2-cards .xb2-card { position: relative; inset: auto; min-height: 300px; scroll-snap-align: start; opacity: 1 !important; visibility: visible !important; transform: none !important; padding: 24px; }
|
||
.xb2-cards .xb2-card > * { opacity: 1 !important; }
|
||
.xb2-card h3 { font-size: 26px; }
|
||
.xb2-card p { font-size: 17px; }
|
||
.xb2-hd .xb2-card { padding: 22px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.xb2-card, .xb2-card > *, .xb2-marks2 b { transition: none !important; }
|
||
.xb2-type .xbc-ln { visibility: visible; }
|
||
}
|
||
|
||
/* round 5: the hero deck (this product's own capabilities, turning by themselves) */
|
||
.xb2-hd { display: flex; flex-direction: column; gap: 20px; }
|
||
.xb2-hd-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
|
||
.xb2-hd-h p { margin: 0; font-size: 16px; color: var(--soft); }
|
||
.xb2-hd-stage { position: relative; }
|
||
.xb2-hd-cards { position: relative; height: clamp(360px, calc(100svh - 360px), 460px); margin: 0; padding: 0; list-style: none; }
|
||
.xb2-hd-sig { position: absolute; left: 1px; right: 1px; top: 1px; height: 52%; z-index: 30; color: var(--ink); opacity: .5; pointer-events: none; border-radius: var(--r-hero) var(--r-hero) 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, var(--hz-black) 55%, transparent); mask-image: linear-gradient(180deg, var(--hz-black) 55%, transparent); }
|
||
.xb2-hd-sig canvas, .xb2-cards-w .xb2-hd-sig canvas { width: 100%; height: 100%; display: block; }
|
||
.xb2-cards-w .xb2-hd-sig { height: 46%; }
|
||
.xb2-hd .xb2-card h3 { font-size: 32px; }
|
||
.xb2-hd .xb2-card p { font-size: 17px; }
|
||
.xb2-marks2 button.run b { animation: xb2-mark 4.2s linear both; transform: scaleX(0); }
|
||
@keyframes xb2-mark { to { transform: scaleX(1); } }
|
||
.xb2-hd-marks { margin-top: 0; }
|
||
/* the key card, after the hero, as its own proof room inside the gutters */
|
||
.xb2-keys .xb2-key-g { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; }
|
||
.xb2-ask2 { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; }
|
||
@media (hover: hover), (pointer: none) { .xb2-ask2:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
|
||
/* Supported Chains: this product's chains set the finder */
|
||
.xb2-chiplist li { padding: 0; background: none; }
|
||
.xb2-chiplist button { min-height: 48px; padding: 0 20px; border: 1px solid var(--hair); border-radius: 999px; background: var(--x-raised); color: var(--ink); font: 497 16px/1 var(--sans); cursor: pointer; transition: background-color var(--ui) var(--ease-o), border-color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
||
@media (hover: hover), (pointer: none) { .xb2-chiplist button:hover { border-color: light-dark(rgba(0, 0, 0, .3), var(--border-selected)); } }
|
||
.xb2-chiplist button:active { transform: scale(.97); }
|
||
.xb2-chiplist button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
|
||
.xb2-your .xbc-your-a ul { margin-top: 16px; }
|
||
/* real controls */
|
||
.xb2 .xbc-langs i, .xb2 .xbc-langs i:first-child { padding: 0 4px; background: none; color: var(--hz-400); font-size: 13px; }
|
||
.xb2 .xbc-langs i:first-child { color: var(--hz-white); }
|
||
.xb2-gh { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
|
||
@media (hover: hover), (pointer: none) {
|
||
.xb2-key .v2f-btn.light:hover, .xb2-band .v2f-btn.light:hover { background: var(--hz-100); border-color: var(--hz-100); }
|
||
.xb2-your .xbc-your-pick button:hover { color: var(--ink); background: var(--card); }
|
||
.xb2 .xbc-seg button:hover { color: var(--ink); }
|
||
.xb2-legend button:hover { border-color: light-dark(rgba(0, 0, 0, .3), var(--border-selected)); color: var(--ink); }
|
||
.xb2 .x-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
|
||
}
|
||
.xb2 .x-arrow { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
|
||
.xb2-your .xbc-your-pick button { min-height: 44px; transition: background-color var(--ui) var(--ease-o), color var(--ui) var(--ease-o); }
|
||
.xb2-your .xbc-your-pick button:active, .xb2-legend button:active { transform: scale(.97); }
|
||
.xb2 .xbc-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
|
||
.xb2-int.solo .xb2-code { grid-column: 1 / -1; }
|
||
.xb2-dir-close { border-top: 1px solid var(--hair); }
|
||
@media (max-width: 900px) {
|
||
.xb2-hd-cards { height: 340px; }
|
||
.xb2-hd .xb2-card { min-height: 0; }
|
||
.xb2-hd .xb2-card h3 { font-size: 26px; }
|
||
.xb2-keys .xb2-key-g { grid-template-columns: minmax(0, 1fr); }
|
||
/* a flick always moves the page: no inner scroll on phones */
|
||
.xb2-code .xbc-code pre { max-height: none; overflow: visible; }
|
||
.xb2-code .xbc-ln { white-space: pre-wrap; overflow-wrap: anywhere; }
|
||
.xb2-your .xbc-your-pick { max-height: none; overflow: visible; }
|
||
/* the floor: 14px on phones */
|
||
.xb2-stats dt, .xb2 .xbc-your-a a, .xb2 .xbc-your-pick button, .xb2 .xbc-seg button, .xb2 .x-copy, .xb2 .xbc-tag, .xb2-dcard .x-mono { font-size: 14px; }
|
||
.xb2-con { display: flex; flex-direction: column; }
|
||
.xb2-con-r { order: -1; }
|
||
/* the directory's first screen reaches a chain row */
|
||
.xb2-dir-hero { padding: 12px 0 20px; }
|
||
.xb2-dir-g { row-gap: 12px; }
|
||
.xb2-dir-t .v2f-lede { margin-top: 12px; font-size: 17px; }
|
||
.xb2-dir-n b { font-size: 44px; }
|
||
.xb2-tools-in { padding: 10px 0; gap: 8px; }
|
||
.xb2-legend { padding-bottom: 10px; }
|
||
.xb2-dir-b { padding-top: 12px; }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) { .xb2-marks2 button.run b { animation: none; transform: none; } }
|
||
|
||
.xb2-chains-sig { margin-top: 32px; height: 260px; border-radius: var(--r-hero); background: var(--card); color: var(--ink); overflow: hidden; }
|
||
.xb2-chains-sig canvas { width: 100%; height: 100%; display: block; opacity: .5; }
|
||
.xb2-rl > li { transition: background-color var(--ui) var(--ease-o); border-radius: 12px; }
|
||
@media (hover: hover), (pointer: none) { .xb2-rl > li:hover { background: var(--card); } }
|
||
@media (max-width: 900px) { .xb2-chains-sig { height: 180px; } }
|
||
|
||
/* the first screen starts at the top: no empty band above the title (critic, round 5) */
|
||
.xb2-hero.side .xb2-hero-g { align-items: start; min-height: 0; padding-top: clamp(16px, 3vw, 48px); }
|
||
.xb2-hero.side .xb2-hero-t { padding-top: clamp(24px, 3vw, 44px); }
|
||
|
||
/* ---------- round 6 (xb3-): the product on the first screen, one object per section, one ending ---------- */
|
||
/* the key card beside the headline, with the product acting itself out on top (KeyStage.jsx) */
|
||
.xb3-key { --R: 2.6s; }
|
||
.xb3-key .xbc-stream { padding: 18px 0; border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
|
||
.xb3-key .xbc-stream li { width: 148px; padding: 12px; }
|
||
.xb2-hero.side .xb3-key-g { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: end; padding: 22px 32px 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
||
.xb3-key .xb2-stats dd { font-size: 32px; font-weight: 220; }
|
||
.xb3-key .xb2-stats div { gap: 8px; padding-left: 18px; }
|
||
.xb3-key .xb2-key-sub { font-size: 16px; margin-top: 8px; }
|
||
.xb3-key .xb2-note { margin-top: 8px; font-size: 13px; color: #a3a3a3; }
|
||
.xb2-hero.side .xb3-key .xb2-trust { padding: 14px 32px 18px; }
|
||
.xb3-key .xb2-trust li { transition: background-color var(--ui) var(--ease-o); }
|
||
.xb2 .xbc-stream li { transition: background-color var(--ui) var(--ease-o), box-shadow var(--ui) var(--ease-o); }
|
||
@media (hover: hover), (pointer: none) {
|
||
.xb2 .xbc-stream li:hover { background: #262626; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
|
||
.xb3-key .xb2-trust li:hover { background: rgba(255, 255, 255, .16); }
|
||
}
|
||
|
||
/* the lane: stations are the product's own first capabilities; a block runs them and lands on one of its chains */
|
||
.xb3-flow { position: relative; padding: 30px 40px 10px 34px; }
|
||
.xb3-track { position: relative; height: 104px; }
|
||
.xb3-line { position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: rgba(255, 255, 255, .2); }
|
||
.xb3-st { position: absolute; top: 40px; left: calc(var(--x) * 100%); width: 0; height: 0; }
|
||
.xb3-node { position: absolute; left: -8px; top: -8px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: #0a0a0a; }
|
||
.xb3-node b { width: 6px; height: 6px; border-radius: 50%; background: #fafafa; opacity: 0; animation: xb3-ping var(--R) cubic-bezier(.16, 1, .3, 1) calc(var(--R) * var(--h)) 3 forwards; }
|
||
.xb3-st > span { position: absolute; left: -8px; top: 20px; width: max-content; max-width: min(136px, 22vw); font: 400 13px/1.3 var(--sans); color: #fafafa; opacity: .45; text-wrap: balance; animation: xb3-on .3s cubic-bezier(0, 0, .2, 1) calc(var(--R) * var(--h)) forwards; }
|
||
.xb3-end > span { left: auto; right: -8px; top: -40px; max-width: none; text-align: right; }
|
||
.xb3-roll { display: block; height: 20px; overflow: hidden; font: 606 14px/20px var(--sans); }
|
||
.xb3-roll-in { display: flex; flex-direction: column; animation: xb3-roll calc(var(--R) * 3) linear forwards; }
|
||
.xb3-roll-in > span { display: block; height: 20px; white-space: nowrap; }
|
||
.xb3-run { position: absolute; left: 0; top: 40px; width: 100%; height: 0; animation: xb3-hop var(--R) linear 3 both; }
|
||
.xb3-pk { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 5px; background: #fafafa; box-shadow: 0 0 0 5px rgba(255, 255, 255, .1); }
|
||
.xb3-flow[data-mode='merge'] .xb3-pk { animation: xb3-grow var(--R) cubic-bezier(.16, 1, .3, 1) 3 both; }
|
||
.xb3-op { position: absolute; left: calc(-5px + (var(--k) - 1.5) * 16px); top: -5px; width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid #fafafa; opacity: 0; animation: xb3-drop var(--R) cubic-bezier(.4, 0, .2, 1) calc(var(--k) * .06s) 3 forwards; }
|
||
.xb3-ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); opacity: 0; animation: xb3-ring .65s cubic-bezier(0, 0, .2, 1) 12 forwards; }
|
||
@keyframes xb3-ping { 0% { opacity: 1; transform: scale(1.9); } 30%, 100% { opacity: 1; transform: scale(1); } }
|
||
@keyframes xb3-on { to { opacity: 1; } }
|
||
@keyframes xb3-roll { 0%, 59% { transform: translateY(0); } 62%, 92% { transform: translateY(-33.333%); } 95%, 100% { transform: translateY(-66.667%); } }
|
||
@keyframes xb3-hop {
|
||
0% { transform: translateX(0); opacity: 0; }
|
||
6% { opacity: 1; }
|
||
12% { transform: translateX(0); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
24% { transform: translateX(25%); }
|
||
30% { transform: translateX(25%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
42% { transform: translateX(50%); }
|
||
48% { transform: translateX(50%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
60% { transform: translateX(75%); }
|
||
66% { transform: translateX(75%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
80%, 100% { transform: translateX(100%); opacity: 1; }
|
||
}
|
||
@keyframes xb3-hop-y {
|
||
0% { transform: translateY(0); opacity: 0; }
|
||
6% { opacity: 1; }
|
||
12% { transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
24% { transform: translateY(25%); }
|
||
30% { transform: translateY(25%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
42% { transform: translateY(50%); }
|
||
48% { transform: translateY(50%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
60% { transform: translateY(75%); }
|
||
66% { transform: translateY(75%); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
|
||
80%, 100% { transform: translateY(100%); opacity: 1; }
|
||
}
|
||
@keyframes xb3-grow { 0%, 7% { transform: scale(.35); } 13%, 100% { transform: scale(1); } }
|
||
@keyframes xb3-drop {
|
||
0% { opacity: 0; transform: translateY(-34px); }
|
||
4% { opacity: 1; }
|
||
11% { opacity: 1; transform: translate(calc((1.5 - var(--k)) * 16px), 0) scale(.8); }
|
||
13%, 100% { opacity: 0; transform: translate(calc((1.5 - var(--k)) * 16px), 0) scale(.4); }
|
||
}
|
||
@keyframes xb3-ring { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.2); } }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.xb3-flow *, .xb3-flow *::before { animation: none !important; }
|
||
.xb3-run { transform: translateX(100%); }
|
||
.xb3-node b, .xb3-st > span { opacity: 1; }
|
||
.xb3-roll-in { transform: translateY(-66.667%); }
|
||
.xb3-op, .xb3-ring { opacity: 0; }
|
||
}
|
||
.xb3-keyacts .xb2-acts { margin-top: 20px; }
|
||
|
||
/* the deck's marks: a pointer or focus previews the title; the dash thickens */
|
||
.xb2-marks2 i { transition: transform var(--ui) var(--ease-o); }
|
||
@media (hover: hover), (pointer: none) { .xb2-marks2 button:hover i { transform: scaleY(1.8); } }
|
||
.xb2-marks2 button.peek i, .xb2-marks2 button:focus-visible i { transform: scaleY(1.8); }
|
||
.xb2-marks2 button:active i { transform: scale(.97, 1.8); }
|
||
.xb2-marks2 button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
|
||
.xb3-peek { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 12px 0 0; min-height: 22px; font-size: 13px; color: var(--soft); }
|
||
.xb3-peek b { color: var(--ink); font-weight: 606; }
|
||
.xb3-peek span { color: var(--ink); font-family: var(--sans); font-size: 15px; animation: xb3-in .3s cubic-bezier(.16, 1, .3, 1) both; }
|
||
@keyframes xb3-in { from { opacity: 0; transform: translateY(8px); } }
|
||
.xb2-deckx { margin-top: 0; }
|
||
|
||
/* links that answer: the arrow nudges and the words underline */
|
||
.xb2-ask2 svg, .xb2-back svg { transition: transform var(--ui) var(--ease-o); }
|
||
@media (hover: hover), (pointer: none) { .xb2-ask2:hover svg, .xb2-back:hover svg { transform: translateX(4px); } .xb2-back:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
|
||
.xb2-ask2:active, .xb2-back:active, .xb2 .x-arrow:active { transform: translateY(1px); }
|
||
|
||
/* the code card: no tabs, capped at 18 lines (14 on a phone) under a fade, its bar stays under the site header */
|
||
.xb2 .xb3-code { overflow: clip; }
|
||
.xb2 .xb3-code .xbc-code-h { position: sticky; top: 60px; z-index: 2; background: #0a0a0a; padding: 12px 14px 12px 32px; }
|
||
.xb3-file { font-size: 13px; color: #a3a3a3; }
|
||
.xb2-code .xb3-code pre { max-height: none; overflow: visible; }
|
||
.xb2-code .xb3-code .xbc-ln { white-space: pre-wrap; overflow-wrap: anywhere; }
|
||
.xb3-code.cap:not(.open) .xbc-ln:nth-child(n+19) { display: none; }
|
||
.xb3-code.cap:not(.open) pre { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 72px), transparent); }
|
||
.xb3-code-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 16px 16px 32px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
||
.xb3-langs { margin: 0; font-size: 13px; line-height: 1.5; color: #a3a3a3; }
|
||
.xb3-langs i { font-style: normal; color: rgba(255, 255, 255, .3); }
|
||
.xb2-int { padding: clamp(64px, 8vw, 120px) 0; }
|
||
|
||
/* "Show all": one disclosure button (code card, every chain) */
|
||
.xb3-more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 18px; border: 1px solid var(--hair); border-radius: 999px; background: var(--x-raised); color: var(--ink); font: 606 14px/1 var(--sans); cursor: pointer; transition: background-color var(--ui) var(--ease-o), border-color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
||
.xb3-more b { font-weight: 400; font-size: 13px; color: var(--soft); }
|
||
.xb3-more i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
|
||
.xb3-more i::before, .xb3-more i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 1px; background: var(--x-raised); transition: transform var(--base) cubic-bezier(.16, 1, .3, 1); }
|
||
.xb3-more i::after { transform: rotate(90deg); }
|
||
.xb3-more[aria-expanded='true'] i::after { transform: rotate(0deg); }
|
||
.xb3-more:active { transform: scale(.97); }
|
||
.xb3-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
||
.xb3-more.dark { background: transparent; color: #fafafa; border-color: rgba(255, 255, 255, .22); }
|
||
.xb3-more.dark b { color: #a3a3a3; }
|
||
.xb3-more.dark i { background: #fafafa; }
|
||
.xb3-more.dark i::before, .xb3-more.dark i::after { background: #0a0a0a; }
|
||
.xb3-more.dark:focus-visible { outline-color: #fff; }
|
||
@media (hover: hover), (pointer: none) { .xb3-more:hover { background: light-dark(#f5f5f5, var(--x-fill)); border-color: light-dark(rgba(0, 0, 0, .3), var(--border-selected)); } .xb3-more.dark:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); } }
|
||
|
||
/* Built For as one object: a selector with a gliding bar, and a panel whose sentence cross-fades */
|
||
.xb3-picks { padding: clamp(64px, 8vw, 120px) 0; }
|
||
.xb3-picks-h { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 48px); }
|
||
.xb3-picks-h .v2f-lede { margin-top: 18px; }
|
||
.xb3-picks-o { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); align-items: stretch; }
|
||
.xb3-pl { position: relative; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
|
||
.xb3-pl > li { border-bottom: 1px solid var(--hair); }
|
||
.xb3-pl button { display: flex; align-items: center; gap: 16px; width: 100%; height: 72px; padding: 0 12px 0 22px; border: 0; background: none; color: var(--faint); text-align: left; cursor: pointer; transition: color var(--ui) var(--ease-o), background-color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
||
.xb3-pl button .x-mono { font-size: 13px; }
|
||
.xb3-pl button h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.015em; line-height: 1.2; color: inherit; }
|
||
.xb3-pl button[aria-pressed='true'] { color: var(--ink); }
|
||
@media (hover: hover), (pointer: none) { .xb3-pl button:hover { background: light-dark(#f5f5f5, var(--x-fill)); color: var(--ink); } }
|
||
.xb3-pl button:active { transform: scale(.98); }
|
||
.xb3-pl button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
|
||
.xb3-bar { position: absolute; left: 0; top: 0; z-index: 1; width: 3px; height: 72px; background: var(--ink); transform: translateY(calc(var(--at) * 73px)); transition: transform var(--base) cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
|
||
.xb3-pp { position: relative; display: grid; border-radius: var(--r-hero); background: var(--card); padding: 28px; min-height: calc(var(--n) * 73px); }
|
||
.xb3-pp-i { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--base) var(--ease-o), transform var(--reveal) cubic-bezier(.16, 1, .3, 1); }
|
||
.xb3-pp-i[data-on] { opacity: 1; transform: none; pointer-events: auto; }
|
||
.xb3-pp-n { font-size: 64px; color: var(--ink); }
|
||
.xb3-pp-i p { margin: auto 0 0; font-size: 20px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
|
||
.xb3-pp-i .x-arrow { margin-top: -6px; }
|
||
html:not(.js) .xb3-pp { display: flex; flex-direction: column; gap: 28px; }
|
||
html:not(.js) .xb3-pp-i { opacity: 1; transform: none; }
|
||
@media (prefers-reduced-motion: reduce) { .xb3-bar, .xb3-pp-i { transition: none; } }
|
||
|
||
/* Supported Chains as one object: pills, and the answer panel beside them */
|
||
.xb3-chains { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--hair); }
|
||
.xb3-chains-l { grid-column: 1 / span 6; }
|
||
.xb3-chains-l .xb3-more { margin-top: 28px; }
|
||
.xb3-every:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
|
||
.xb3-every button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--faint); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color var(--ui) var(--ease-o), color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
||
.xb3-every button.in { color: var(--ink); }
|
||
.xb3-every button[aria-pressed='true'] { background: var(--ink); color: var(--x-on-ink); }
|
||
.xb3-every button:active { transform: scale(.97); }
|
||
.xb3-every button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
|
||
@media (hover: hover), (pointer: none) { .xb3-every button:not([aria-pressed='true']):hover { background: light-dark(#f5f5f5, var(--x-fill)); color: var(--ink); } .xb2-chiplist button:not([aria-pressed='true']):hover { background: light-dark(#f5f5f5, var(--x-fill)); } }
|
||
.xb3-ans { grid-column: 8 / span 5; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 32px; border-radius: var(--r-hero); background: var(--card); }
|
||
.xb3-ans-sig { position: absolute; inset: 0; z-index: -1; color: var(--ink); opacity: .3; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 75%); mask-image: linear-gradient(180deg, #000 30%, transparent 75%); }
|
||
.xb3-ans-sig canvas { width: 100%; height: 100%; display: block; }
|
||
.xb3-ans-in { animation: xb3-in .45s cubic-bezier(.16, 1, .3, 1) both; }
|
||
.xb3-verdict { display: flex; align-items: center; gap: 14px; margin: 0; }
|
||
.xb3-verdict i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); font-style: normal; font-size: 16px; }
|
||
.xb3-verdict.yes i { background: var(--ink); color: var(--x-on-ink); }
|
||
.xb3-verdict b { font-size: 32px; font-weight: 497; letter-spacing: -.03em; line-height: 1.1; }
|
||
.xb3-ans-n { margin: 14px 0 0; font-size: 13px; color: var(--soft); }
|
||
.xb3-ans-n b { color: var(--ink); font-weight: 606; }
|
||
.xb3-ans ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
|
||
.xb3-ans a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--x-raised); color: var(--ink); font-size: 14px; text-decoration: none; transition: background-color var(--ui) var(--ease-o), color var(--ui) var(--ease-o), transform var(--press) var(--ease-o); }
|
||
@media (hover: hover), (pointer: none) { .xb3-ans a:hover { background: var(--ink); color: var(--x-on-ink); } }
|
||
.xb3-ans a:active { transform: scale(.97); }
|
||
.xb3-ans a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
||
|
||
/* the next-product rail: three whole cards and a faded edge; a 2.5 degree tilt under a fine pointer */
|
||
.xb2-next { padding-top: clamp(24px, 3vw, 44px); }
|
||
.xb2-next .v2f-next { grid-auto-columns: calc((100% - 2 * var(--gut)) / 3.18); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent); }
|
||
.xb3-tilt .v2f-next-c { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--base) var(--ease-o), background-color var(--ui) var(--out); }
|
||
@media (hover: hover), (pointer: none) {
|
||
.xb3-tilt .v2f-next-c:hover { background: light-dark(#ededed, var(--secondary)); }
|
||
.xb3-tilt .v2f-next-c:hover .v2f-next-p { opacity: 1; transform: none; }
|
||
.xb3-tilt .v2f-next-c:hover .v2f-next-go { transform: rotate(-45deg); }
|
||
.xb2 .xb3-code .x-copy:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
|
||
}
|
||
.xb3-tilt .v2f-next-c:active { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(.97); transition-duration: var(--press); }
|
||
|
||
/* the one ending: the Band, tighter, with "Get <product>" as its last row */
|
||
.xb3-band { padding: clamp(88px, 9vw, 136px) 0 clamp(36px, 4vw, 52px); }
|
||
.xb3-get { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
|
||
.xb3-get h3 { margin: 0; font-size: 21px; font-weight: 497; letter-spacing: -.015em; color: #fafafa; }
|
||
.xb3-get p { margin: 6px 0 0; font-size: 15px; color: #a3a3a3; }
|
||
.xb3-get-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
|
||
.xb3-tag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13px; color: #fafafa; }
|
||
.xb3-band .x-arrow { color: #fafafa; }
|
||
.xb3-band .v2f-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
|
||
@media (hover: hover), (pointer: none) { .xb3-band .v2f-btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); } }
|
||
|
||
@media (max-width: 900px) {
|
||
/* the phone's first screen: headline, claim, ask, then the product acting itself out; the lede follows */
|
||
.xb2-hero.side .xb2-hero-g { row-gap: 0; padding-top: 8px; }
|
||
.xb2-hero.side .xb2-hero-t { display: contents; }
|
||
.xb2-hero.side .xb2-hero-t > * { grid-column: 1 / -1; }
|
||
.xb2-hero.side .xb2-h1 { order: 1; }
|
||
.xb2-hero.side .xb2-claim { order: 2; margin-top: 12px; font-size: 20px; }
|
||
.xb2-hero.side .xb2-acts { order: 3; margin-top: 20px; }
|
||
.xb2-hero.side .xb2-hero-o { order: 4; margin-top: 24px; }
|
||
.xb2-hero.side .xb2-lede { order: 5; margin-top: 28px; }
|
||
.xb2-hero.side .xb2-meta { order: 6; }
|
||
.xb3-flow { padding: 22px 20px 8px 30px; }
|
||
.xb3-track { height: 156px; margin-bottom: 18px; }
|
||
.xb3-line { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
|
||
.xb3-st { top: calc(var(--x) * 100%); left: 0; }
|
||
.xb3-st > span { left: 20px; top: -9px; max-width: none; font-size: 14px; }
|
||
.xb3-end > span { left: 20px; right: auto; top: -10px; text-align: left; }
|
||
.xb3-run { top: 0; left: 0; width: 0; height: 100%; animation-name: xb3-hop-y; }
|
||
.xb3-op { left: calc(-5px + (var(--k) - 1.5) * 14px); }
|
||
.xb2-hero.side .xb3-key-g { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
|
||
.xb3-key .xb2-stats dd { font-size: 28px; }
|
||
.xb3-key .xb2-stats div:first-child { padding-left: 0; }
|
||
.xb2 .xb3-code .xbc-code-h { top: 52px; padding-left: 18px; }
|
||
.xb3-code.cap:not(.open) .xbc-ln:nth-child(n+15) { display: none; }
|
||
.xb3-code-f { padding: 12px 12px 14px 18px; }
|
||
.xb3-picks-h, .xb3-picks-o, .xb3-chains-l, .xb3-ans { grid-column: 1 / -1; }
|
||
.xb3-picks-o { grid-template-columns: minmax(0, 1fr); margin-top: 32px; gap: 16px; }
|
||
.xb3-pp { min-height: 0; padding: 22px; }
|
||
.xb3-pp-n { font-size: 44px; }
|
||
.xb3-pp-i p { font-size: 17px; }
|
||
.xb3-pl button { height: 64px; padding-left: 18px; }
|
||
.xb3-pl button h3 { font-size: 17px; }
|
||
.xb3-bar { height: 64px; transform: translateY(calc(var(--at) * 65px)); }
|
||
.xb3-ans { margin-top: 32px; min-height: 300px; padding: 22px; }
|
||
.xb3-verdict b { font-size: 26px; }
|
||
.xb3-band { padding: 88px 0 32px; }
|
||
.xb3-get { margin-top: 48px; }
|
||
.xb2-next .v2f-next { grid-auto-columns: 82%; -webkit-mask-image: none; mask-image: none; }
|
||
.xb3-pl button .x-mono, .xb3-file, .xb3-langs, .xb3-ans-n, .xb3-more b, .xb3-tag, .xb3-peek { font-size: 14px; }
|
||
}
|
||
|
||
/* dark mode (docs/DARK-MODE.md): the family's greys (components/v2/fam.css .v2f) are light-only, so on these pages they
|
||
resolve to Hanzo's dark tokens and the page sits on Hanzo's background like live. The key panel, the code panels and
|
||
the closing band are black in both modes, so inside them the deck keeps its own values */
|
||
html:not(.light) .xb2 {
|
||
--acc: var(--primary); --acc-ink: var(--primary-foreground); --acc-soft: var(--x-fill);
|
||
--ink: var(--foreground); --soft: var(--muted-foreground); --muted: var(--muted-foreground); --faint: var(--text-tertiary);
|
||
--card: var(--x-fill); --silver: var(--secondary-hover); --hair: var(--border);
|
||
background: var(--bg);
|
||
}
|
||
html:not(.light) .xb2 :is([data-room='dark'], .xb2-key, .xb2-band, .xbc-key, .xbc-code, .xbc-band, .xbc-arg, .xbc-agent) {
|
||
--acc: #0a0a0a; --acc-ink: #fff; --acc-soft: #f5f5f5;
|
||
--ink: #0a0a0a; --soft: #525252; --muted: #525252; --faint: #737373; --card: #f5f5f5; --silver: #d4d4d4; --hair: rgba(0, 0, 0, .1);
|
||
}
|