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_01P5YBdxX2mH7piDf4NGrmPi
470 lines
37 KiB
CSS
470 lines
37 KiB
CSS
/* ---------- zap (zp-): greys only; the hero is the one dark room ---------- */
|
|
.zp-hero { --acc: #fafafa; --acc-ink: #0a0a0a; }
|
|
.zp-wire-box, .zp-term, .zp-fleet { position: relative; }
|
|
.zp-wire-box > .w2-pause { z-index: 5; }
|
|
.zp-fleet-k { padding-right: 56px; }
|
|
.zp-hero { padding: clamp(104px, 8.4vw, 128px) 0 clamp(96px, 10vw, 160px); overflow: hidden; }
|
|
.zp-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 3.6vw, 56px); }
|
|
.zp-kick { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #a3a3a3; }
|
|
.zp-kick img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
|
|
.zp-h1 { font-size: clamp(120px, 15vw, 224px); line-height: .8; letter-spacing: -.07em; }
|
|
.zp-top-r { display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
|
|
.zp-lede { margin: 0; max-width: 16ch; font-size: clamp(30px, 3.2vw, 48px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
|
|
.zp-acts { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.zp-hero .w2-ghost { height: 56px; }
|
|
|
|
/* the two lanes: the buffer and the text */
|
|
.zp-wire { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: #0a0a0a; }
|
|
.zp-lane-k { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 12.5px; color: #a3a3a3; }
|
|
.zp-lane-k span:last-child { color: #fafafa; }
|
|
.zp-buf { position: relative; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0; padding: 6px 0 26px; }
|
|
.zp-word { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 0 3px; }
|
|
.zp-word + .zp-word { border-left: 1px solid rgba(255, 255, 255, .08); }
|
|
.zp-word i { height: 22px; border-radius: 3px; background: #171717; transition: background .45s var(--ease), transform .45s var(--ease); }
|
|
.zp-word.hdr i { background: #262626; }
|
|
.zp-word.on i { background: #fafafa; transform: translateY(-3px); }
|
|
.zp-word span { position: absolute; left: 4px; bottom: -22px; font-size: 12px; color: #a3a3a3; white-space: nowrap; }
|
|
.zp-word.on span { color: #fafafa; }
|
|
.zp-ptr { position: absolute; left: 0; top: 0; width: calc(100% / 11); height: 2px; background: var(--acc); border-radius: 2px; }
|
|
.zp-ptr::after { content: ''; position: absolute; left: 0; top: -5px; width: 2px; height: 12px; background: var(--acc); }
|
|
.zp-lane.json { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
|
.zp-json { margin: 0; font-size: 14.5px; line-height: 1.7; word-break: break-all; color: #737373; }
|
|
.zp-json .seen { color: var(--acc); }
|
|
.zp-json .cur { color: #0a0a0a; background: var(--acc); border-radius: 3px; }
|
|
.zp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
|
.zp-pick > span { margin-right: 6px; font-size: 12.5px; color: #a3a3a3; }
|
|
.zp-pick button { min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: transparent; color: #d4d4d4; font-size: 14px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
|
|
@media (hover: hover) { .zp-pick button:hover { border-color: rgba(255, 255, 255, .45); color: #fff; } }
|
|
.zp-pick button[aria-checked='true'] { background: #fafafa; color: #0a0a0a; border-color: #fafafa; }
|
|
|
|
.zp-wire { border-radius: 28px; padding: clamp(22px, 2.8vw, 40px); gap: 20px; }
|
|
.zp-word i { height: 30px; }
|
|
.zp-json { font-size: clamp(15px, 1.2vw, 18px); }
|
|
.zp-pick button[aria-checked='true'] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
|
|
.zp-ptr { height: 3px; }
|
|
|
|
/* four hero figures */
|
|
.zp-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
.zp-points li { position: relative; }
|
|
.zp-points li::before { content: ''; position: absolute; left: 0; right: 24px; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
|
|
.zp-points li.on::before { transform: scaleX(1); }
|
|
.zp-points button { display: grid; gap: 10px; width: 100%; height: 100%; padding: 24px 24px 8px 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
|
|
.zp-points button > span { font-size: 13px; color: #a3a3a3; }
|
|
.zp-points b { font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; transition: color .3s; }
|
|
.zp-points em { font-style: normal; font-size: 16px; color: #a3a3a3; }
|
|
.zp-points li:not(.on) b { color: #737373; }
|
|
@media (hover: hover) { .zp-points button:hover b { color: #fff; } }
|
|
|
|
/* why: packets that open */
|
|
.zp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
|
|
.zp-packets .w2-oc-card { min-height: 280px; }
|
|
.zp-packets .w2-oc-t { font-size: clamp(20px, 1.7vw, 25px); }
|
|
.zp-hdr { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; width: calc(100% - 44px); }
|
|
.zp-hdr i { height: 10px; border-radius: 2px; background: light-dark(#e4e4e4, var(--secondary)); }
|
|
.zp-hdr i.f { background: var(--ink); }
|
|
|
|
.w2-sheet .zp-hdr { width: 100%; }
|
|
|
|
/* running */
|
|
.zp-run { background: var(--card); }
|
|
.zp-run-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: center; }
|
|
.zp-run-copy { display: flex; flex-direction: column; gap: 20px; }
|
|
.zp-zapd code { padding: 2px 8px; border-radius: 6px; background: var(--x-raised); font: 500 .92em var(--mono); color: var(--ink); }
|
|
.zp-term { border-radius: 28px; background: #0a0a0a; color: #e5e5e5; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); overflow: hidden; }
|
|
.zp-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.zp-term-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #262626; }
|
|
.zp-term-bar > span { margin-left: 8px; font-size: 12.5px; color: #a3a3a3; }
|
|
.zp-term-bar .x-copy { margin-left: auto; background: #171717; border-color: rgba(255, 255, 255, .1); color: #d4d4d4; }
|
|
.zp-term pre { margin: 0; padding: 28px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.75; white-space: pre-wrap; word-break: break-all; }
|
|
.zp-term pre span { opacity: .18; transition: opacity .35s var(--ease); }
|
|
.zp-term pre span.in { opacity: 1; }
|
|
.zp-term pre span.c { color: #a3a3a3; }
|
|
|
|
|
|
/* built: figures, the diagram, the fleet */
|
|
.zp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 clamp(48px, 6vw, 88px); padding: 0; list-style: none; }
|
|
.zp-stats li { display: grid; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
|
|
.zp-stats b { font-size: clamp(72px, 9vw, 136px); line-height: .9; }
|
|
.zp-stats li:first-child b { color: var(--ink); }
|
|
.zp-stats span { font-size: clamp(17px, 1.4vw, 21px); color: var(--soft); }
|
|
.zp-built-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
|
|
.zp-ascii { min-width: 0; border-radius: 28px; background: #0a0a0a; overflow: auto; display: flex; align-items: center; }
|
|
.zp-ascii pre { margin: 0; padding: 28px; font-size: clamp(11px, .95vw, 14px); line-height: 1.35; color: #d4d4d4; }
|
|
.zp-fleet { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); }
|
|
.zp-fleet-k { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 12px; font-size: 16px; color: var(--soft); }
|
|
.zp-fleet-k b { font-size: clamp(56px, 5vw, 80px); line-height: .9; color: var(--ink); }
|
|
.zp-fleet-k input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }
|
|
.zp-topos { display: grid; gap: 16px; }
|
|
.zp-topo { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
|
|
.zp-topo-k { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
|
|
.zp-procs { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 3px; min-height: 12px; }
|
|
.zp-topo:not(.one) .zp-procs { height: 108px; overflow: hidden; }
|
|
.zp-procs i { width: 10px; height: 10px; border-radius: 2px; background: light-dark(#d4d4d4, var(--secondary)); animation: zp-in .45s var(--ease) both; }
|
|
.zp-procs i[style*='--s: 0'] { background: var(--ink); }
|
|
.zp-procs i[style*='--s: 1'] { background: #737373; }
|
|
.zp-topo.one .zp-procs i.d { width: 26px; background: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
|
|
@keyframes zp-in { from { opacity: 0; transform: scale(.3); } }
|
|
.zp-topo-n { margin: 0; font-size: 14px; color: var(--soft); }
|
|
.zp-topo-n b { font-size: 16px; color: var(--ink); }
|
|
|
|
/* point one agent + get */
|
|
.zp-point { border-top: 1px solid var(--line); }
|
|
.zp-point-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; }
|
|
.zp-point-copy { display: flex; flex-direction: column; gap: 20px; }
|
|
.zp-chip { display: inline-flex; align-self: flex-start; gap: 6px; margin: 0; padding: 10px 14px; border-radius: 999px; background: var(--card); font-size: 13px; color: var(--faint); }
|
|
.zp-strong { color: var(--ink) !important; font-weight: 600; }
|
|
.zp-point .zp-acts { margin-top: 8px; }
|
|
.zp-note { padding: 32px; border-radius: 28px; background: var(--card); }
|
|
.zp-note p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--soft); }
|
|
.zp-proto { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(96px, 10vw, 160px); padding-top: 32px; border-top: 1px solid var(--line); }
|
|
.zp-proto .w2-ghost { height: 48px; font-size: 15px; }
|
|
.zp-get { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 24px; padding: 36px; border-radius: 28px; background: var(--card); }
|
|
.zp-get-tag { margin: 10px 0 0; font-size: 18px; color: var(--soft); }
|
|
.zp-get-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
.zp-get-meta .w2-cta, .zp-get-meta .w2-ghost { height: 48px; font-size: 15px; padding: 0 20px; }
|
|
.zp-chip2 { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--x-raised); color: var(--ink); font: 500 14px/1 var(--mono); text-decoration: none; }
|
|
.zp-chip2 span { color: var(--faint); }
|
|
.zp-addr { display: inline-flex; align-items: center; gap: 4px; margin: 18px 0 0; font-size: 15px; color: var(--soft); }
|
|
.zp-addr i { width: 8px; height: 1.1em; background: var(--ink); animation: zp-blink 1.1s steps(1) 4; }
|
|
@keyframes zp-blink { 50% { opacity: 0; } }
|
|
|
|
@media (prefers-reduced-motion: reduce) { .zp-addr i, .zp-procs i { animation: none; } }
|
|
|
|
@media (max-width: 900px) {
|
|
.zp-hero { padding-top: 104px; }
|
|
.zp-top, .zp-split, .zp-run-grid, .zp-built-grid, .zp-point-grid { grid-template-columns: minmax(0, 1fr); }
|
|
.zp-h1 { font-size: clamp(96px, 32vw, 140px); }
|
|
.zp-lede { font-size: 30px; }
|
|
.zp-word { grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 0 2px; }
|
|
.zp-word i { height: 12px; }
|
|
.zp-word span { font-size: 11px; left: 2px; }
|
|
.zp-word:not(.on) span { opacity: 0; }
|
|
.zp-lane-k { flex-direction: column; gap: 4px; }
|
|
.zp-json { font-size: 14px; }
|
|
.zp-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.zp-points button { min-height: 44px; padding: 18px 12px 12px 0; }
|
|
.zp-points b { font-size: 21px; }
|
|
.zp-points em { font-size: 14px; }
|
|
.zp-packets .w2-oc-card { min-height: 0; }
|
|
.zp-stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
|
|
.zp-stats b { font-size: 72px; }
|
|
.zp-ascii pre { font-size: 9px; padding: 16px; }
|
|
.zp-term pre { font-size: 14px; padding: 18px; }
|
|
.zp-pick button { min-height: 44px; }
|
|
.zp-lane-k, .zp-pick > span, .zp-term-bar > span, .zp-topo-n, .zp-chip { font-size: 14px; }
|
|
}
|
|
@media (max-width: 900px) { .zp-kick, .zp-points button > span { font-size: 14px; } }
|
|
|
|
/* v2.3: rhythm, quiet links, object bars hold the pauses, a drawn gateway, a drawn slider */
|
|
.zp-lede { font-size: 21px !important; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; max-width: 22ch; color: #fafafa; }
|
|
.zp-points b { font-size: 21px; letter-spacing: -.02em; }
|
|
.zp-stats b { font-size: 64px; font-weight: 300; letter-spacing: -.03em; }
|
|
.zp-fleet-k b { font-size: 64px; font-weight: 300; }
|
|
.zp-tlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: inherit; font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(127, 127, 127, .45); text-underline-offset: 4px; transition: text-decoration-color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-tlink:active { transform: scale(.98); }
|
|
.zp-pause { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; }
|
|
.zp-pause .w2-pause { background: #171717; color: #fafafa; box-shadow: none; }
|
|
.zp-fleet .zp-pause .w2-pause { background: light-dark(#f2f2f2, var(--muted)); color: var(--ink); }
|
|
.zp-term-bar { display: flex; align-items: center; gap: 8px; }
|
|
.zp-term-bar .zp-pause { margin-left: 4px; }
|
|
/* packets: the sixteen-byte header is the tile's object; hover fills the rest */
|
|
.zp-hdr { width: 100%; gap: 4px; }
|
|
.zp-hdr i { height: 28px; border-radius: 4px; background: light-dark(#ededed, var(--muted)); transition: background .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.zp-hdr i.f { background: var(--ink); }
|
|
.zp-packets .w2-oc-k { color: var(--ink); }
|
|
/* the gateway, drawn */
|
|
.zp-dia { display: grid; gap: 0; margin: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: #0a0a0a; color: #fafafa; min-width: 0; }
|
|
.zp-dia-swarm { padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); }
|
|
.zp-dia-swarm > p { margin: 0 0 12px; text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
|
|
.zp-dia-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
|
|
.zp-dia-row span { display: grid; place-items: center; min-height: 44px; padding: 6px; border-radius: 10px; background: #171717; font-size: 13px; text-align: center; }
|
|
.zp-dia-row em { position: absolute; right: -2px; top: -22px; font-style: normal; color: #737373; }
|
|
.zp-dia-l { display: block; width: 100%; height: 32px; overflow: visible; }
|
|
.zp-dia-l path { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
|
|
.zp-dia-gw { justify-self: center; display: grid; gap: 6px; width: min(100%, 300px); padding: 16px 18px; border-radius: 16px; background: #fafafa; color: #0a0a0a; text-align: center; }
|
|
.zp-dia-gw b { font-size: 17px; font-weight: 600; }
|
|
.zp-dia-gw span { font-size: 13px; color: #525252; }
|
|
.zp-dia-gw ul { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; color: #262626; }
|
|
.zp-dia-row.srv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.zp-dia-row.srv span { display: grid; gap: 2px; font-size: 14px; }
|
|
.zp-dia-row.srv b { font-size: 12px; font-weight: 500; color: #a3a3a3; }
|
|
.zp-dia-row.srv em { top: auto; bottom: -24px; }
|
|
/* the slider, drawn */
|
|
.zp-fleet-k { grid-template-columns: 1fr auto auto; }
|
|
.zp-slide { grid-column: 1 / -1; position: relative; height: 44px; cursor: pointer; touch-action: none; }
|
|
.zp-slide-t { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: light-dark(#e4e4e4, var(--secondary)); overflow: hidden; }
|
|
.zp-slide-t em { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--v)); }
|
|
.zp-slide-k { position: absolute; top: 50%; left: calc(var(--v) * (100% - 28px)); width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--bg); transition: transform .15s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-slide:active .zp-slide-k { transform: scale(.92); }
|
|
.zp-slide:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
|
|
.zp-chip2 { height: 44px; transition: background .15s cubic-bezier(0, 0, .2, 1), color .15s, transform .09s; }
|
|
a.zp-chip2:active { transform: scale(.98); }
|
|
@media (hover: hover) {
|
|
.zp-tlink:hover { text-decoration-color: currentColor; }
|
|
.zp-packets .w2-oc-card:hover .zp-hdr i { background: var(--ink); }
|
|
.zp-slide:hover .zp-slide-k { transform: scale(1.12); }
|
|
a.zp-chip2:hover { background: var(--ink); color: var(--x-on-ink); }
|
|
}
|
|
@media (max-width: 899px) {
|
|
.zp-stats b, .zp-fleet-k b { font-size: 44px; }
|
|
.zp-lede { font-size: 20px !important; }
|
|
.zp-dia { padding: 14px; }
|
|
.zp-dia-row { gap: 4px; }
|
|
.zp-dia-row span { font-size: 14px; padding: 6px 2px; }
|
|
.zp-dia-row.srv b, .zp-dia-swarm > p, .zp-dia-gw span { font-size: 14px; }
|
|
.zp-dia-l { height: 24px; }
|
|
}
|
|
/* the chosen field is a raised grey segment, never a second solid beside the ask */
|
|
.zp-pick button[aria-checked='true'] { background: transparent !important; color: #fafafa !important; border-color: #fafafa !important; box-shadow: inset 0 0 0 1px #fafafa; }
|
|
|
|
/* v2.4: the middle is a story. Tighter rhythm, a pinned packet wire, wires that draw, one black band to close */
|
|
.zp-hero { padding-bottom: clamp(64px, 6vw, 96px); }
|
|
.zp-why { position: relative; padding: clamp(88px, 9vw, 136px) 0 clamp(48px, 5vw, 72px); }
|
|
.zp-why.pinned { padding: 0; }
|
|
.zp-why.pinned .zp-why-stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 56px; overflow: hidden; }
|
|
.zp-packets .zp-hdr { width: calc(100% - 52px); }
|
|
.w2-sheet .zp-hdr { width: calc(100% - 52px); }
|
|
.zp-why .zp-split { margin-bottom: clamp(32px, 3.6vw, 56px); }
|
|
.zp-why-track { position: relative; }
|
|
.zp-why.pinned .zp-why-track { overflow: visible; }
|
|
.zp-packets.w2-oc { display: flex; gap: 16px; width: max-content; }
|
|
.zp-packets.w2-oc > li { flex: 0 0 auto; width: clamp(300px, 26vw, 380px); transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.zp-packets .w2-oc-card { min-height: 300px; background: light-dark(#f5f5f5, var(--muted)); transition: background .3s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-packets > li:not(.on) { transform: translateY(12px); }
|
|
.zp-packets > li.on .w2-oc-card { background: light-dark(#ededed, var(--muted)); }
|
|
.zp-packets > li.on .zp-hdr i { background: var(--ink); transition-delay: calc(var(--b) * 30ms); }
|
|
.zp-why-at { display: flex; align-items: center; gap: 6px; margin: clamp(24px, 2.6vw, 40px) 0 0; font-size: 13px; color: light-dark(#737373, var(--muted-foreground)); font-variant-numeric: tabular-nums; }
|
|
.zp-why-at b { font-weight: 500; color: var(--ink); }
|
|
.zp-why-at i { position: relative; flex: 0 0 160px; height: 1px; margin-left: 14px; background: light-dark(#e4e4e4, var(--secondary)); overflow: hidden; }
|
|
.zp-why-at i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.zp-term pre > span.cmd { display: inline-block; }
|
|
.zp-term pre > span.cmd::first-letter { color: #737373; } /* the $ prompt; the line stays one run of text, as Hanzo writes it */
|
|
.zp-term pre span.last::after { content: ''; display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: #fafafa; animation: zp-blink 1.1s steps(1) infinite; }
|
|
.zp-term pre span span { opacity: 1; }
|
|
.zp-fig { margin: 0; font-size: 64px; font-weight: 300; line-height: .9; letter-spacing: -.03em; color: var(--ink); }
|
|
.zp-stats { margin-bottom: clamp(40px, 4vw, 64px); }
|
|
/* the band */
|
|
.zp-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 96px); margin-top: clamp(72px, 8vw, 116px); padding: clamp(32px, 4vw, 64px); border-radius: 24px; background: #000; color: #fafafa; }
|
|
.zp-band .w2-title { margin: 0 0 16px; font-size: 26px; }
|
|
.zp-band .w2-headline { margin: 0; font-size: 44px; color: #fafafa; }
|
|
.zp-band .zp-get-tag { margin: 10px 0 0; font-size: 17px; color: rgba(255, 255, 255, .78); }
|
|
.zp-band-get { display: grid; gap: 0; }
|
|
.zp-band .zp-addr { margin: 20px 0 20px; font-size: 16px; color: #fafafa; }
|
|
.zp-addr span { display: inline-block; overflow: hidden; white-space: nowrap; }
|
|
.zp-band.seen .zp-addr span { animation: zp-type 1.4s steps(20) both; }
|
|
.zp-addr i { background: var(--x-sunk); animation: none; }
|
|
.zp-band.live .zp-addr i { animation: zp-blink 1.1s steps(1) infinite; }
|
|
@keyframes zp-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
|
|
.zp-band .zp-get-meta { margin-bottom: 20px; }
|
|
.zp-band .zp-chip2 { background: #171717; color: #fafafa; }
|
|
.zp-band .zp-chip2 span { color: #a3a3a3; }
|
|
@media (hover: hover) { .zp-band a.zp-chip2:hover { background: #fafafa; color: #0a0a0a; } }
|
|
.zp-rows { display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
|
|
.zp-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; min-height: 64px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fafafa; font-size: 17px; font-weight: 500; text-decoration: none; transition: background .15s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-row em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .55); transition: color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-row i { font-style: normal; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.zp-row:active { transform: scale(.98); }
|
|
.zp-row:focus-visible { outline: 2px solid #fafafa; outline-offset: -2px; }
|
|
@media (hover: hover) {
|
|
.zp-row:hover { background: rgba(255, 255, 255, .06); }
|
|
.zp-row:hover em { color: #fafafa; }
|
|
.zp-row:hover i { transform: translateX(4px); }
|
|
}
|
|
/* v2.5: idle life. The active hero point's rule fills over its 3.6 s turn (a timer you can read); the packet that has
|
|
landed is read by a pointer sweeping its sixteen header bytes, the hero's pointer again, while the stage waits. */
|
|
.zp-points.run li.on::before { transition: none; animation: zp-turn 3.6s linear both; }
|
|
@keyframes zp-turn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
|
|
.zp-hdr { position: relative; }
|
|
.zp-packets > li.on .zp-hdr::after { content: ''; position: absolute; left: 0; bottom: -8px; width: calc(100% / 16); height: 2px; border-radius: 1px; background: var(--ink); animation: zp-read 2.4s cubic-bezier(.4, 0, .2, 1) .6s infinite; }
|
|
@keyframes zp-read { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(1500%); } }
|
|
/* N:1 / 1:M / 0 are the section's figures: their cut-in lines keep the figure size (a shared span rule shrank them) */
|
|
.zp-stats .zp-fig .lx-line, .zp-stats .zp-fig .lx-line > span { font-size: inherit; line-height: inherit; }
|
|
/* the gateway's wires draw downwards as one stroke (a clip, so the non-scaling stroke never breaks into dashes) */
|
|
.zp-dia-l { clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.4, 0, .2, 1); }
|
|
.zp-dia-l.on { clip-path: inset(0 0 0 0); }
|
|
.zp-dia-l.late { transition-delay: .5s; }
|
|
@media (prefers-reduced-motion: reduce) { .zp-dia-l { clip-path: none; transition: none; } }
|
|
html:not(.js) .zp-dia-l { clip-path: none; }
|
|
@media (prefers-reduced-motion: reduce) { .zp-points.run li.on::before, .zp-packets > li.on .zp-hdr::after { animation: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .zp-band .zp-addr span, .zp-band.live .zp-addr i, .zp-term pre span.last::after { animation: none; } .zp-packets > li { transform: none !important; } }
|
|
@media (max-width: 899px) {
|
|
.zp-hero { padding-bottom: 56px; }
|
|
.zp-why-track { margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); }
|
|
.zp-packets.w2-oc { width: auto; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 clamp(16px, 4vw, 32px) 16px; scroll-padding: 0 clamp(16px, 4vw, 32px); scrollbar-width: none; }
|
|
.zp-packets.w2-oc::-webkit-scrollbar { display: none; }
|
|
.zp-packets.w2-oc > li { width: 82%; scroll-snap-align: start; }
|
|
.zp-packets .w2-oc-card { min-height: 240px; }
|
|
.zp-fig { font-size: 44px; }
|
|
.zp-band { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; margin-top: 64px; }
|
|
.zp-band .w2-headline { font-size: 32px; }
|
|
.zp-row { padding: 0 4px; font-size: 16px; min-height: 56px; }
|
|
.zp-row em { display: none; }
|
|
}
|
|
|
|
/* v2.6 (round-2 review) */
|
|
/* the terminal: lines never wrap (they scroll sideways inside a labelled region, so no token is split), and the box keeps
|
|
one height through the whole loop: six lines at 1.75, plus padding */
|
|
.zp-term pre { white-space: pre; word-break: normal; overflow-x: auto; height: calc(6 * 1.75em + 56px); scrollbar-width: thin; }
|
|
.zp-term pre:focus-visible { outline: 2px solid #fafafa; outline-offset: -4px; border-radius: 0 0 24px 24px; }
|
|
.zp-term-bar .x-copy { font-size: 13px; }
|
|
/* reduced motion: the page-local Stage sits in its final place from the first paint */
|
|
@media (prefers-reduced-motion: reduce) { .zp-settle { transform: none !important; } }
|
|
/* the pinned stage never scrolls sideways under focus */
|
|
.zp-why.pinned .zp-why-stick { overflow: clip; }
|
|
/* type floor: labels at 13px (desktop), 14px (phone) */
|
|
.zp-lane-k, .zp-pick > span, .zp-term-bar > span, .zp-word span, .zp-dia-row.srv b { font-size: 13px; }
|
|
/* field chips are 44px everywhere */
|
|
.zp-pick button { min-height: 44px; }
|
|
/* the hero ask's hover can be seen: the white fill steps down to the brand silver */
|
|
@media (hover: hover) { .zp-hero .w2-cta:hover { background: #e4e4e4; } }
|
|
/* the slider's press wins over its hover */
|
|
.zp-slide[data-press] .zp-slide-k, .zp-slide[data-press]:hover .zp-slide-k { transform: scale(.92); transition-duration: 90ms; }
|
|
.zp-hero .w2-cta { background: #fafafa; }
|
|
/* the zero is a fact, not a hero figure (MASTER part 5): it sits at medium beside the two figures */
|
|
.zp-stats li.zero .zp-fig { color: #525252; }
|
|
/* the one scale moment: N:1 and 1:M arrive at hero size, hold a beat, then settle to figure size */
|
|
.zp-stats li { padding-top: 64px; } /* room above the figures for the moment they are big, so nothing overlaps */
|
|
.zp-stats li:not(.zero) .zp-fig { transform-origin: 0 100%; }
|
|
.js .zp-stats:not(.seen) li:not(.zero) .zp-fig { transform: scale(1.75); }
|
|
.zp-stats.seen li:not(.zero) .zp-fig { animation: zp-grow 1.6s cubic-bezier(.4, 0, .2, 1) both; }
|
|
.zp-stats.seen li:nth-child(2) .zp-fig { animation-delay: .12s; }
|
|
@keyframes zp-grow { 0%, 40% { transform: scale(1.75); } 100% { transform: scale(1); } }
|
|
@media (prefers-reduced-motion: reduce) { .zp-stats.seen .zp-fig { animation: none; } .js .zp-stats .zp-fig { transform: none !important; } }
|
|
/* the sidecar box: squares sized to the count, so a small fleet fills its box instead of leaving it empty */
|
|
.zp-topo:not(.one) .zp-procs { gap: 4px; }
|
|
.zp-topo:not(.one) .zp-procs i { width: var(--sz, 10px); height: var(--sz, 10px); border-radius: 3px; }
|
|
/* the diagram's "..." sit inside their rows */
|
|
.zp-dia-row { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
|
|
.zp-dia-row.srv { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
|
|
.zp-dia-row em, .zp-dia-row.srv em { position: static; align-self: center; padding: 0 2px; font-size: 14px; }
|
|
/* the band meets the footer: no white strip under it */
|
|
.gx .zp-point.w2-sec { padding-bottom: clamp(16px, 2vw, 24px) !important; }
|
|
/* the copy button is a full 44px target */
|
|
.zp-term-bar .x-copy { height: 44px; padding: 0 14px; }
|
|
/* one solid per screen: on phones the shared header keeps its solid "Try Hanzo", so the page's own asks are outlined
|
|
there (and on desktop with JS off, where the header cannot step aside) */
|
|
@media (max-width: 899px) {
|
|
.zp .w2-cta { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px light-dark(rgba(10, 10, 10, .9), var(--foreground)); }
|
|
.zp-hero .w2-cta { color: #fafafa; box-shadow: inset 0 0 0 1px rgba(250, 250, 250, .8); }
|
|
.zp-word span { font-size: 14px; }
|
|
.zp-lane-k, .zp-pick > span, .zp-term-bar > span, .zp-dia-row.srv b, .zp-term-bar .x-copy { font-size: 14px; }
|
|
.zp-hero .zp-acts { gap: 8px 16px; }
|
|
.zp-hero .zp-acts > :first-child { flex-basis: 100%; } /* the ask on its own row; the two text links share the next */
|
|
.zp-why-at { font-size: 14px; }
|
|
.zp-dia-row em { font-size: 14px; }
|
|
}
|
|
html:not(.js) .zp .w2-cta { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px light-dark(rgba(10, 10, 10, .9), var(--foreground)); }
|
|
html:not(.js) .zp-hero .w2-cta { color: #fafafa; box-shadow: inset 0 0 0 1px rgba(250, 250, 250, .8); }
|
|
|
|
/* ===== motion map (7 Nov): calculator signature + five entrances, no pinned stage ===== */
|
|
.zp { overflow-x: clip; } /* entrances lean and swing; the page never scrolls sideways */
|
|
|
|
/* the calculator: server keys beside the agents slider; the diagram and the figures follow */
|
|
.zp-srv { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.zp-srv button { min-height: 44px; padding: 0 16px; border: 1px solid light-dark(rgba(10, 10, 10, .2), var(--border-focus)); border-radius: 999px; background: transparent; color: light-dark(#737373, var(--muted-foreground)); font-size: 14px; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1), transform 90ms cubic-bezier(0, 0, .2, 1); }
|
|
.zp-srv button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); }
|
|
@media (hover: hover) { .zp-srv button:hover { border-color: var(--ink); color: var(--ink); } .zp-srv button[aria-pressed='true']:hover { background: light-dark(#262626, var(--primary-hover)); color: light-dark(#fafafa, var(--primary-foreground)); } }
|
|
.zp-srv button:active { transform: scale(.97); }
|
|
.zp-srv button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.zp-dia-n { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 6px; background: #fafafa; color: #0a0a0a; font-weight: 500; animation: zp-tick .3s cubic-bezier(.16, 1, .3, 1); }
|
|
.zp-dia-row span { transition: background-color .3s cubic-bezier(0, 0, .2, 1), color .3s cubic-bezier(0, 0, .2, 1), opacity .3s cubic-bezier(0, 0, .2, 1); }
|
|
.zp-dia-swarm .zp-dia-row span:not([data-on]) { color: #737373; }
|
|
.zp-dia-swarm .zp-dia-row span[data-on] { background: #262626; }
|
|
.zp-dia-row.srv span[data-off] { opacity: .35; }
|
|
.zp-now { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; animation: zp-tick .3s cubic-bezier(.16, 1, .3, 1); }
|
|
@keyframes zp-tick { from { opacity: 0; transform: translateY(-6px); } }
|
|
|
|
/* Why bother, no longer pinned: a plain grid of the eight packets on wide screens (the phone keeps its swipe rail) */
|
|
@media (min-width: 900px) {
|
|
.zp-packets.w2-oc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; }
|
|
.zp-packets.w2-oc > li { width: auto; }
|
|
.zp-packets > li:not(.on) { transform: none; }
|
|
}
|
|
|
|
/* 1 · velocity-skew (the calculator): rises in leaning, then leans with scroll speed (motion value, JS) */
|
|
.zp-e-skew[data-e='armed'] { opacity: 0; transform: translateY(72px) skewY(-5deg); transform-origin: 0 0; }
|
|
.zp-e-skew[data-e='play'] { transform-origin: 0 0; animation: zp-skew-in .9s cubic-bezier(.16, 1, .3, 1) both; }
|
|
@keyframes zp-skew-in { from { opacity: 0; transform: translateY(72px) skewY(-5deg); } to { opacity: 1; transform: none; } }
|
|
|
|
/* 2 · page-curl (the terminal room): the white page above curls off from the bottom-left corner */
|
|
.zp-e-curl { position: relative; }
|
|
.zp-curl-page, .zp-curl-fold { display: none; position: absolute; inset: calc(-1 * clamp(56px, 6vw, 96px)) 0; pointer-events: none; z-index: 2; }
|
|
.zp-curl-page { background: var(--x-raised); }
|
|
.zp-curl-fold { background: linear-gradient(135deg, light-dark(#e4e4e7, var(--secondary)), light-dark(#fafafa, var(--muted)) 60%, light-dark(#e9e9e9, var(--secondary))); }
|
|
.zp-e-curl:is([data-e='armed'], [data-e='play']) :is(.zp-curl-page, .zp-curl-fold) { display: block; }
|
|
.zp-e-curl[data-e='armed'] .zp-curl-page { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
|
|
.zp-e-curl[data-e='armed'] .zp-curl-fold { clip-path: polygon(0 100%, 0 100%, 0 100%); }
|
|
.zp-e-curl[data-e='play'] .zp-curl-page { animation: zp-curl-page 1.1s cubic-bezier(.4, 0, .2, 1) both; }
|
|
.zp-e-curl[data-e='play'] .zp-curl-fold { animation: zp-curl-fold 1.1s cubic-bezier(.4, 0, .2, 1) both; }
|
|
@keyframes zp-curl-page {
|
|
0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
|
|
45% { clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 0 40%); }
|
|
100% { clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0, 100% 0); }
|
|
}
|
|
@keyframes zp-curl-fold {
|
|
0% { clip-path: polygon(0 100%, 0 100%, 0 100%); }
|
|
45% { clip-path: polygon(0 40%, 60% 100%, 36% 64%); }
|
|
100% { clip-path: polygon(100% 0, 100% 0, 100% 0); }
|
|
}
|
|
|
|
/* 3 · cursor-trail (why bother): the packets come in as the trail passes; the trail follows a fine pointer */
|
|
.zp-e-trail { position: relative; }
|
|
.zp-trail { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
|
|
.zp-trail i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); opacity: 0; will-change: transform; }
|
|
.zp-e-trail[data-e='armed'] .zp-packets > li { opacity: 0; translate: 0 18px; }
|
|
.zp-e-trail[data-e='play'] .zp-packets > li { animation: zp-trail-in .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
|
|
@keyframes zp-trail-in { from { opacity: 0; translate: 0 18px; } }
|
|
|
|
/* 4 · drop-in (point one agent): falls from above and settles with a small bounce */
|
|
.zp-e-drop[data-e='armed'] { opacity: 0; transform: translateY(-96px); }
|
|
.zp-e-drop[data-e='play'] { animation: zp-drop .9s both; }
|
|
@keyframes zp-drop {
|
|
0% { opacity: 0; transform: translateY(-96px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
|
|
62% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, .2, 1); }
|
|
80% { transform: translateY(-10px); animation-timing-function: cubic-bezier(.4, 0, 1, 1); }
|
|
100% { transform: translateY(0); }
|
|
}
|
|
|
|
/* 5 · pendulum (the band): hangs from its top edge, swings in and settles */
|
|
.zp-e-swing { transform-origin: 50% 0; }
|
|
.zp-e-swing[data-e='armed'] { opacity: 0; transform: rotate(-7deg); }
|
|
.zp-e-swing[data-e='play'] { animation: zp-swing 1.5s cubic-bezier(.4, 0, .2, 1) both; }
|
|
@keyframes zp-swing {
|
|
0% { opacity: 0; transform: rotate(-7deg); }
|
|
30% { opacity: 1; transform: rotate(3.5deg); }
|
|
55% { transform: rotate(-1.6deg); }
|
|
78% { transform: rotate(.6deg); }
|
|
100% { transform: rotate(0); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
:is(.zp-e-skew, .zp-e-drop, .zp-e-swing, .zp-e-trail .zp-packets > li) { animation: none !important; opacity: 1 !important; transform: none !important; translate: none !important; }
|
|
:is(.zp-curl-page, .zp-curl-fold, .zp-trail) { display: none !important; }
|
|
.zp-dia-n, .zp-now { animation: none; }
|
|
}
|
|
/* phone: the terminal wraps at spaces only (whole tokens, never mid-word), each wrapped line hangs under its prompt;
|
|
every line is already in the HTML (dim until typed), so the height never changes as it types */
|
|
@media (max-width: 899px) {
|
|
.zp-term pre { white-space: pre-wrap; word-break: normal; overflow-wrap: normal; overflow-x: visible; height: auto; line-height: 1.6; }
|
|
.zp-term pre > span { display: block; padding-left: 2ch; text-indent: -2ch; }
|
|
.zp-term pre > span.zp-nl { display: none; }
|
|
}
|
|
|
|
/* dark mode (live hanzo.ai in dark): the black objects keep their black and take live's hairline; the shared .w2 greys
|
|
are light-only, so the page takes Hanzo's dark text tokens */
|
|
html:not(.light) .zp { --soft: var(--muted-foreground); --faint: var(--text-tertiary); }
|
|
html:not(.light) .zp-ascii, html:not(.light) .zp-dia { box-shadow: inset 0 0 0 1px var(--border); }
|
|
/* the point section's primary becomes live's light pill in dark (the shared .w2-cta is black in both modes) */
|
|
@media (min-width: 900px) { html.js:not(.light) .zp-point .w2-cta { background: var(--ink); color: var(--x-on-ink); } }
|
|
@media (hover: hover) and (min-width: 900px) { html.js:not(.light) .zp-point .w2-cta:hover { background: var(--primary-hover); } }
|
|
/* dark only: Hanzo's hero texture as live hanzo.ai draws it in dark (7px dot field densest at the edges and bottom, plus the top glow) */
|
|
html:not(.light) .zp-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .zp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
|
|
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
|
|
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
|
-webkit-mask-composite: source-in;
|
|
mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
|
|
mask-composite: intersect; }
|
|
html:not(.light) .zp-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
|
|
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }
|