mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Live's heroes carry a halftone dot field in dark, densest at the edges; these eight lacked it (the other C1 pages already had it). Same rule as /investors, plus a fade over the hero's last 30% so the field never ends in a seam. Dark-only (html:not(.light)); lightcheck OK on all eight. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdycWh75FpA2M9CWJ5d
290 lines
24 KiB
CSS
290 lines
24 KiB
CSS
/* IAM v2 (prefix ia-), Hanzo's deck: greys only. One dark room: the refresh family. Section heads rest at 26px. */
|
|
.ia { --acc: var(--ink); --glow: var(--ia-6); --ia-em: cubic-bezier(.16, 1, .3, 1); --ia-out: cubic-bezier(0, 0, .2, 1); --ia-io: cubic-bezier(.4, 0, .2, 1); --btn-solid-hover: light-dark(#262626, var(--primary-hover));
|
|
/* the page's greys, each with Hanzo's dark token as its partner (@hanzo/design); bright mode keeps the light value exactly */
|
|
--ia-k: light-dark(#0a0a0a, var(--primary)); --ia-ko: light-dark(#fafafa, var(--primary-foreground)); --ia-6: light-dark(#525252, var(--muted-foreground));
|
|
--ia-5: light-dark(#737373, var(--muted-foreground)); --ia-4: light-dark(#a3a3a3, var(--text-tertiary)); --ia-3: light-dark(#d4d4d4, var(--text-disabled));
|
|
--ia-2: light-dark(#ededed, var(--secondary)); --ia-1: light-dark(#f5f5f5, var(--muted)); }
|
|
/* dark mode: the shared v2 scale pins its type tokens to bright values on .v2; give them Hanzo's dark ones on this page */
|
|
html:not(.light) .v2.ia { --ink: var(--foreground); --soft: var(--muted-foreground); --faint: var(--muted-foreground); --line: var(--border); }
|
|
/* the shared Paste and ship tag sets #fafafa type on an ink fill; in dark the fill turns light, so the type follows */
|
|
.ia .sp-api i { color: var(--ia-ko); }
|
|
.ia .v2-dark, .ia [data-room='dark'] { --acc: #fafafa; --glow: #e5e5e5; }
|
|
|
|
/* hero: the name, lede and ask at the left (5 of 12), the hanzo.id sign-in at the right; h1 near 38% of the screen */
|
|
.ia-hero { padding: clamp(44px, 9vw, 132px) 0 0; }
|
|
.ia-hero-g { align-items: center; row-gap: 44px; }
|
|
.ia-hero-t { grid-column: 1 / span 5; }
|
|
.ia-sub { margin: 20px 0 32px; color: var(--ink); }
|
|
.ia-stage { grid-column: 7 / -1; }
|
|
.ia .x-btn.solid:hover { background: var(--btn-solid-hover); }
|
|
/* text links ("Source", "Deploy to Cloud"): an underline draws in under the words and the arrow moves */
|
|
.ia a.x-arrow > span { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size 150ms var(--ia-out); }
|
|
.ia a.x-arrow > svg { transition: transform 150ms var(--ia-out); }
|
|
.ia a.x-arrow:active { transform: translateY(1px); }
|
|
@media (hover: hover) {
|
|
.ia a.x-arrow:hover > span { background-size: 100% 1px; }
|
|
.ia a.x-arrow:hover > svg { transform: translateX(4px); }
|
|
.ia .ia-pause:not([aria-pressed='true']):hover { box-shadow: 0 0 0 1.5px var(--ink); color: var(--ink); background: light-dark(#f2f2f2, var(--secondary)); }
|
|
.ia .gi-acts .x-btn.solid { transition: background-color 150ms var(--ia-out), transform 150ms var(--ia-out); }
|
|
.ia .gi-acts .x-btn.solid:hover { background: var(--btn-solid-hover); transform: translateY(-1px); }
|
|
}
|
|
|
|
/* the sign-in, run: a hanzo.id card on the page (outlined, no grey frame), the five stations under it as its progress */
|
|
.ia-host-wrap { position: relative; }
|
|
.ia-sign { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 28px; transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 300ms var(--ia-out); }
|
|
.ia-si { display: grid; gap: 14px; padding: 28px 28px 24px; border-radius: 24px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--x-e10); }
|
|
.ia-si-mark { margin: 0 0 6px; padding-right: 56px; font: 497 26px/1.1 var(--sans); letter-spacing: -.025em; color: var(--ink); }
|
|
.ia-si-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.ia-si-way { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--x-e10); font: 500 15px/1 var(--sans); color: var(--ia-6); transition: background-color 300ms var(--ia-out), color 300ms var(--ia-out), box-shadow 300ms var(--ia-out), transform 300ms var(--ia-em); }
|
|
.ia-si-way svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
|
|
.ia-si:not([data-s='0']) .ia-si-way.pick { background: var(--ia-k); color: var(--ia-ko); box-shadow: inset 0 0 0 1px var(--ia-k); transform: scale(1.02); }
|
|
.ia-si[data-s='1'] .ia-si-way.pick { transform: scale(.98); }
|
|
.ia-si-flow { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }
|
|
.ia-si-chip { margin: 0; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ia-1); font: 500 13px/1 var(--mono); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--ia-em), transform 300ms var(--ia-em); }
|
|
.ia-si-chip.on { opacity: 1; transform: none; }
|
|
.ia-si-tok { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; }
|
|
.ia-si-tok i { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--ia-1); overflow: hidden; }
|
|
.ia-si-tok i::after { content: ''; position: absolute; inset: 0; background: var(--ia-3); transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms var(--ia-io); }
|
|
.ia-si-tok i:nth-of-type(2)::after { transition-delay: 160ms; }
|
|
.ia-si-tok i.sig { flex: 1.4; }
|
|
.ia-si-tok i.sig::after { background: var(--ia-k); transition-delay: 320ms; }
|
|
.ia-si-tok b { font: 500 15px/1 var(--mono); color: var(--ia-4); }
|
|
.ia-si-tok.on i::after { transform: none; }
|
|
.ia-si-alg { position: absolute; right: 0; top: -14px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink); opacity: 0; transition: opacity 300ms var(--ia-out) 500ms; }
|
|
.ia-si-tok.on .ia-si-alg { opacity: 1; }
|
|
.ia-si-key { margin: 0; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ia-1); font: 500 13px/1 var(--mono); color: var(--ia-4); transition: background-color 300ms var(--ia-out), color 300ms var(--ia-out); }
|
|
.ia-si-key svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 400ms var(--ia-io) 150ms; }
|
|
.ia-si-key.on { background: var(--ia-k); color: var(--ia-ko); }
|
|
.ia-si-key.on svg path { stroke-dashoffset: 0; }
|
|
|
|
/* the stations: the progress line under the card, each lit as the card reaches it */
|
|
.ia-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
|
|
.ia-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
|
|
.ia-dot { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 99px; background: var(--x-raised); box-shadow: inset 0 0 0 1.5px var(--ia-4); transition: background-color 300ms var(--ia-out), box-shadow 300ms var(--ia-out), transform 300ms var(--ia-em); }
|
|
.ia-st.on .ia-dot { background: var(--ia-k); box-shadow: inset 0 0 0 1.5px var(--ia-k); }
|
|
.ia-st.now .ia-dot { transform: scale(1.4); }
|
|
.ia-seg { position: absolute; top: 4.5px; right: 50%; width: 100%; height: 1px; background: var(--ia-3); }
|
|
.ia-seg i { position: absolute; inset: 0; background: var(--ia-k); transform: scaleX(0); transform-origin: 0 50%; transition: transform 520ms var(--ia-io); }
|
|
.ia-st.on .ia-seg i { transform: scaleX(1); }
|
|
.ia-lab { max-width: 15ch; font: 500 12px/1.35 var(--mono); color: var(--ia-5); hyphens: none; transition: color 300ms var(--ia-out); }
|
|
.ia-st.on .ia-lab { color: var(--ink); }
|
|
.ia-w + .ia-w::before { content: '·'; margin: 0 .5em; }
|
|
.ia-pause { top: 20px; right: 20px; z-index: 2; }
|
|
/* the shared pause control keeps #0a0a0a type; on this page it follows the ink so its glyph shows in dark */
|
|
.ia .ia-pause { color: var(--ink); }
|
|
|
|
/* the finished sign-in, by CSS alone: shown with reduced motion and with scripts off, so the server's first frame never
|
|
has to flip after hydration (the demo itself starts from its first frame) */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ia .ia-si .ia-si-way.pick { background: var(--ia-k); color: var(--ia-ko); box-shadow: inset 0 0 0 1px var(--ia-k); transform: none; }
|
|
.ia .ia-si-chip { opacity: 1; transform: none; }
|
|
.ia .ia-si-tok i::after { transform: none; }
|
|
.ia .ia-si-alg { opacity: 1; }
|
|
.ia .ia-si-key { background: var(--ia-k); color: var(--ia-ko); }
|
|
.ia .ia-si-key svg path { stroke-dashoffset: 0; }
|
|
.ia .ia-dot { background: var(--ia-k); box-shadow: inset 0 0 0 1.5px var(--ia-k); }
|
|
.ia .ia-seg i { transform: scaleX(1); }
|
|
.ia .ia-lab { color: var(--ink); }
|
|
.ia .ia-pause { display: none; }
|
|
}
|
|
html:not(.js) .ia .ia-si .ia-si-way.pick { background: var(--ia-k); color: var(--ia-ko); box-shadow: inset 0 0 0 1px var(--ia-k); }
|
|
html:not(.js) .ia .ia-si-chip { opacity: 1; transform: none; }
|
|
html:not(.js) .ia .ia-si-tok i::after { transform: none; }
|
|
html:not(.js) .ia .ia-si-alg { opacity: 1; }
|
|
html:not(.js) .ia .ia-si-key { background: var(--ia-k); color: var(--ia-ko); }
|
|
html:not(.js) .ia .ia-si-key svg path { stroke-dashoffset: 0; }
|
|
html:not(.js) .ia .ia-dot { background: var(--ia-k); box-shadow: inset 0 0 0 1.5px var(--ia-k); }
|
|
html:not(.js) .ia .ia-seg i { transform: scaleX(1); }
|
|
html:not(.js) .ia .ia-lab { color: var(--ink); }
|
|
html:not(.js) .ia .ia-pause { display: none; }
|
|
.ia-sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
/* paused: the play control stays full ink, also under the pointer */
|
|
.ia .ia-pause[aria-pressed='true'], .ia .ia-pause[aria-pressed='true']:hover { background: var(--ia-k); color: var(--x-on-ink); border-color: var(--ia-k); }
|
|
|
|
/* the eight facts: a native sideways snap rail (no pin, no scroll scrub). The card at the left edge is lit and the
|
|
counter reads it; Previous / Next step one card; the rail starts and ends inside the container's gutters */
|
|
.ia-fr { position: relative; padding: clamp(72px, 8vw, 116px) 0 clamp(44px, 5vw, 72px); background: var(--x-raised); }
|
|
.ia-fr-stage { display: flex; flex-direction: column; gap: 28px; }
|
|
.ia-rail-h { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
|
|
.ia-rail-h .v2-headline { margin: 0; }
|
|
.ia-rail-nav { display: flex; align-items: center; gap: 8px; }
|
|
.ia-count { margin: 0 8px 0 0; font-variant-numeric: tabular-nums; min-width: 7ch; text-align: right; color: var(--ink); }
|
|
.ia-rail-b { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 99px; background: var(--ia-1); color: var(--ink); cursor: pointer; transition: background-color 150ms var(--ia-out), color 150ms var(--ia-out), transform 150ms var(--ia-out); }
|
|
.ia-rail-b:active:not(:disabled) { transform: scale(.97); transition-duration: 90ms; }
|
|
.ia-rail-b:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
.ia-rail-b:disabled { color: var(--ia-4); cursor: default; }
|
|
@media (hover: hover) { .ia-rail-b:not(:disabled):hover { background: var(--ia-k); color: var(--ia-ko); } }
|
|
.ia-fr-view { --ia-g: max(24px, calc((100vw - 1440px) / 2)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--ia-g); scrollbar-width: none; outline: none; }
|
|
.ia-fr-view::-webkit-scrollbar { display: none; }
|
|
.ia-fr-view:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
|
|
.ia-fr-rail { --cw: clamp(300px, 24vw, 340px); list-style: none; margin: 0; display: flex; column-gap: 16px; width: max-content; padding: 0 var(--ia-g) 8px; }
|
|
.ia-fr-rail > li { flex: none; scroll-snap-align: start; }
|
|
.ia-card { width: var(--cw); height: clamp(380px, 54svh, 480px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(24px, 2.2vw, 32px); border-radius: 24px; background: var(--ia-1); color: inherit; text-decoration: none; transform: scale(.94); transform-origin: 50% 100%; transition: transform 500ms var(--ia-em), background-color 150ms var(--ia-out); }
|
|
.ia-card[data-on] { transform: none; }
|
|
.ia-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
|
|
.ia-card-n { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--ia-5); transition: color 150ms var(--ia-out); }
|
|
.ia-obj { flex: none; color: var(--ia-4); transition: color 400ms var(--ia-out); }
|
|
.ia-obj path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 900ms var(--ia-io); }
|
|
.ia-card[data-on] .ia-obj { color: var(--ink); }
|
|
.ia-card[data-on] .ia-obj path { stroke-dashoffset: 0; }
|
|
.ia-card-big { margin: 0; font-weight: 497; font-size: 44px; line-height: 1; letter-spacing: -.05em; color: var(--ia-4); text-wrap: balance; transition: color 400ms var(--ia-out); }
|
|
.ia-card-big > span { display: inline-block; transform-origin: 0 100%; transition: transform 500ms var(--ia-em); }
|
|
.ia-card[data-on] .ia-card-big { color: var(--ink); }
|
|
.ia-card[data-on] .ia-card-big > span { transform: scale(1.4545); }
|
|
.ia-card .v2-title { margin-bottom: 10px; }
|
|
.ia-card-d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ia-6); text-wrap: pretty; opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ia-em), transform 400ms var(--ia-em); }
|
|
.ia-card[data-on] .ia-card-d { opacity: 1; transform: none; }
|
|
.ia-card-arr { display: block; color: var(--ink); transition: transform 150ms var(--ia-out); }
|
|
.ia-card-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
|
|
.ia-card-go:active { transform: translateY(1px); transition-duration: 90ms; }
|
|
@media (hover: hover) {
|
|
.ia-card:hover { background: var(--ia-2); }
|
|
.ia-card:hover .ia-card-n, .ia-card:hover .ia-obj { color: var(--ink); }
|
|
.ia-card:hover .ia-obj path { stroke-dashoffset: 0; }
|
|
.ia-card:hover .ia-card-d { opacity: 1; transform: none; }
|
|
.ia-card-go:hover .ia-card-arr { transform: translateY(4px); }
|
|
}
|
|
|
|
/* paste and ship: related capabilities as one list of rows; each row fills, its arrow moves and its page's path shows */
|
|
.ia .sp.v2-sec { padding-top: clamp(72px, 8vw, 116px); padding-bottom: clamp(44px, 5vw, 72px); }
|
|
.ia-rel { padding: 0 0 clamp(72px, 8vw, 116px); }
|
|
.ia .sp-rel ul { grid-template-columns: minmax(0, 1fr); }
|
|
.ia .sp-rel-a { position: relative; flex-wrap: nowrap; align-items: center; gap: 24px; padding: 18px 12px; border-radius: 12px; transition: background-color 150ms var(--ia-out); }
|
|
.ia .sp-rel-a b { flex: none; min-width: 6ch; }
|
|
.ia .sp-rel-a span { flex-basis: auto; order: 0; transition: color 150ms var(--ia-out); }
|
|
/* the arrow sits on one line at the right edge of every row; the page's path shows beside it on hover */
|
|
.ia-rel-to { margin-left: auto; font-style: normal; }
|
|
.ia-rel-to::after { content: attr(data-to); font: 500 12px/1 var(--mono); color: var(--ia-5); opacity: 0; display: inline-block; transform: translateX(-6px); transition: opacity 150ms var(--ia-out), transform 150ms var(--ia-out); }
|
|
.ia .sp-rel-a svg { flex: none; margin-left: 0; transition: transform 150ms var(--ia-out); }
|
|
.ia .x-codeblock .x-copy { color: rgba(255, 255, 255, .78); min-height: 44px; height: 44px; }
|
|
.ia .sp-code { transition: transform 150ms var(--ia-out); }
|
|
@media (hover: hover) {
|
|
.ia .sp-rel-a:hover { background: var(--ia-1); }
|
|
.ia .sp-rel-a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
|
|
.ia .sp-rel-a:hover span { color: var(--ink); }
|
|
.ia .sp-rel-a:hover .ia-rel-to::after { opacity: 1; transform: none; }
|
|
.ia .sp-rel-a:hover svg { transform: translateX(4px); }
|
|
.ia .sp-code:hover { transform: translateY(-2px); }
|
|
.ia .x-codeblock .x-copy:hover { color: #fafafa; }
|
|
.ia a.gi-chip { transition: border-color 150ms var(--ia-out), background-color 150ms var(--ia-out); }
|
|
.ia a.gi-chip:hover { background: var(--ia-1); border-color: var(--ia-k); }
|
|
}
|
|
|
|
/* the dark room: enters as a rounded card inside the gutters and opens to full width (clip-path, from the scroll) */
|
|
.ia-room { --ia-m: 16px; position: relative; z-index: 1; padding: clamp(72px, 8vw, 116px) 0; scroll-margin-top: 64px; }
|
|
.ia-fam-grid { align-items: center; row-gap: 32px; }
|
|
.ia-fam-copy { grid-column: 1 / span 5; align-self: start; padding-top: 8px; }
|
|
.ia-fam-copy .v2-headline { margin: 0 0 16px; color: #fafafa; }
|
|
.ia-fam-p { color: rgba(255, 255, 255, .55); }
|
|
.ia-fam-k { color: #fafafa; background: linear-gradient(#fafafa, #fafafa) 0 100% / 0 1px no-repeat; transition: background-size 500ms var(--ia-io); }
|
|
.ia-fam-p.dead .ia-fam-k { background-size: 100% 1px; }
|
|
.ia-fam-box { position: relative; grid-column: 7 / -1; padding: 72px clamp(24px, 3vw, 40px) 32px; border-radius: 24px; background: #171717; transition: background-color 500ms var(--ia-out); }
|
|
.ia-fam-box.dead { background: #262626; }
|
|
.ia-fam-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #a3a3a3; cursor: pointer; transition: background-color 150ms var(--ia-out), color 150ms var(--ia-out), transform 150ms var(--ia-out); }
|
|
.ia-fam-x:active { transform: scale(.97); transition-duration: 90ms; }
|
|
.ia-fam-x:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
@media (hover: hover) { .ia-fam-x:hover { background: rgba(255, 255, 255, .14); color: #fafafa; } }
|
|
.ia-fam-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); row-gap: 32px; }
|
|
.ia-fam-track li { position: relative; display: grid; place-items: center; height: 72px; }
|
|
.ia-fam-seg { position: absolute; top: 50%; right: 50%; width: 100%; height: 1px; background: rgba(255, 255, 255, .14); }
|
|
.ia-fam-track li.spent .ia-fam-seg, .ia-fam-track li.live .ia-fam-seg { background: rgba(255, 255, 255, .55); }
|
|
.ia-tok { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 99px; background: #171717; color: inherit; cursor: pointer; transition: transform 150ms var(--ia-out); }
|
|
.ia-fam-box.dead .ia-tok { background: #262626; }
|
|
.ia-tok i { position: relative; display: block; width: 28px; height: 28px; border-radius: 99px; transition: background-color 300ms var(--ia-out), box-shadow 300ms var(--ia-out), transform 300ms var(--ia-em); }
|
|
li.slot .ia-tok { cursor: default; }
|
|
li.slot .ia-tok i { width: 6px; height: 6px; background: rgba(255, 255, 255, .14); }
|
|
li.live .ia-tok i { background: #fafafa; animation: ia-pulse 1.8s var(--ia-io) infinite; }
|
|
li.spent .ia-tok i { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
|
|
li.dead .ia-tok i { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
|
|
li.dead .ia-tok i::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 1.5px; background: #a3a3a3; transform: rotate(-45deg); }
|
|
@keyframes ia-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .3); } 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
|
|
button.ia-tok:active:not(:disabled) { transform: scale(.94); transition-duration: 90ms; }
|
|
button.ia-tok:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
button.ia-tok:disabled { cursor: default; }
|
|
@media (hover: hover) {
|
|
li.spent button.ia-tok:hover i { box-shadow: inset 0 0 0 1.5px #fafafa; transform: scale(1.12); }
|
|
li.live button.ia-tok:hover i { transform: scale(1.12); }
|
|
}
|
|
/* the key under the family: Hanzo's own words for each shape; the one that is true now is lit */
|
|
.ia-fam-key { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 28px; font: 500 13px/1.2 var(--mono); color: rgba(255, 255, 255, .55); }
|
|
.ia-fam-key li { display: flex; align-items: center; gap: 10px; transition: color 300ms var(--ia-out); }
|
|
.ia-fam-key li.on { color: #fafafa; }
|
|
.ia-fam-key i { position: relative; width: 12px; height: 12px; border-radius: 99px; }
|
|
.ia-fam-key i.live { background: #fafafa; }
|
|
.ia-fam-key i.spent { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
|
|
.ia-fam-key i.dead { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
|
|
.ia-fam-key i.dead::after { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 1.5px; background: #a3a3a3; transform: rotate(-45deg); }
|
|
|
|
/* the close: Get IAM rests at the section head size; the token at rest is its object, inside the container */
|
|
.ia .gi-h { font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
|
|
.ia-close { padding: clamp(72px, 9vw, 132px) 0 clamp(44px, 5vw, 72px); }
|
|
.ia-close-art { grid-column: 8 / -1; align-self: center; min-width: 0; }
|
|
.ia-ct { display: block; width: 100%; max-width: 420px; height: auto; margin-left: auto; }
|
|
.ia-ct .p { fill: var(--ia-2); }
|
|
.ia-ct .s, .ia-ct .k { fill: var(--ia-k); }
|
|
.ia-ct .d { fill: var(--ia-4); }
|
|
.ia-ct .l { fill: none; stroke: var(--ia-4); stroke-width: 1.5; }
|
|
.ia-ct .t { fill: none; stroke: var(--ia-ko); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
|
|
.ia-ct .h { stroke: var(--x-e10); stroke-width: 1; }
|
|
|
|
@media (max-width: 900px) {
|
|
.ia-hero { padding: 24px 0 0; }
|
|
.ia-hero-g { min-height: 0; row-gap: 32px; }
|
|
.ia-sub { margin: 14px 0 24px; }
|
|
.ia-stage { grid-column: 1 / -1; }
|
|
.ia-si { padding: 22px 18px 18px; gap: 12px; border-radius: 20px; }
|
|
.ia-si-mark { font-size: 21px; }
|
|
.ia-si-way { min-height: 44px; font-size: 14px; padding: 0 12px; }
|
|
/* phones: the dots carry the line; only the station being reached names itself, on one line */
|
|
.ia-path { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: 22px; }
|
|
.ia-st { gap: 0; }
|
|
.ia-lab { position: absolute; top: 20px; left: 50%; max-width: none; white-space: nowrap; font-size: 12px; transform: translateX(-50%); opacity: 0; transition: opacity 300ms var(--ia-out); }
|
|
.ia-st:first-child .ia-lab { left: 0; transform: none; }
|
|
.ia-st:last-child .ia-lab { left: auto; right: 0; transform: none; }
|
|
.ia-st.now .ia-lab { opacity: 1; }
|
|
.ia-pause { top: 14px; right: 14px; }
|
|
/* the facts: the same snap rail, the next card peeking 40px; the counter follows the swipe */
|
|
.ia-fr { padding: 72px 0 24px; }
|
|
.ia-fr-stage { gap: 20px; }
|
|
.ia-fr-view { --ia-g: 16px; }
|
|
.ia-fr-rail { --cw: calc(100vw - 68px); column-gap: 12px; }
|
|
.ia-card { height: auto; min-height: 380px; transform: none; }
|
|
.ia-card-big { font-size: 32px; overflow-wrap: anywhere; }
|
|
.ia-card[data-on] .ia-card-big > span { transform: none; }
|
|
.ia-card-d { opacity: 1; transform: none; }
|
|
.ia .sp-code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.ia .sp-rel-a { flex-wrap: wrap; gap: 4px 12px; }
|
|
.ia .sp-rel-a span { flex-basis: 100%; order: 3; }
|
|
.ia-rel-to { display: none; }
|
|
.ia .sp-rel-a svg { margin-left: auto; }
|
|
.ia-room { --ia-m: 8px; padding: 72px 0; }
|
|
.ia-fam-box { padding: 68px 16px 24px; }
|
|
.ia-fam-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
.ia-fam-track li:nth-child(5) .ia-fam-seg { display: none; }
|
|
.ia-close-art { margin-top: 44px; }
|
|
.ia-ct { margin: 0 auto; max-width: 320px; }
|
|
html:not(.js) .ia .ia-st:last-child .ia-lab { opacity: 1; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ia-sign, .ia-recede { transform: none !important; }
|
|
.ia-room { clip-path: none !important; }
|
|
.ia-card, .ia-card[data-on] { transform: none; }
|
|
.ia-card-d { opacity: 1; transform: none; }
|
|
/* only the current card's word and object in ink; the rest rest grey */
|
|
.ia-card[data-on] .ia-card-big > span { transform: none; }
|
|
.ia-obj path { stroke-dashoffset: 0; transition: none; }
|
|
li.live .ia-tok i { animation: none; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
|
|
.ia .ia-st:last-child .ia-lab { opacity: 1; }
|
|
}
|
|
|
|
/* dark: the shared pause puck is white in both modes (LivePause.css); on this page it sits on Hanzo's dark surface,
|
|
so it takes the dark icon-tile fill (--secondary) under its light glyph, as /kms does */
|
|
html:not(.light) .ia .lx-pause:not([aria-pressed='true']) { background: var(--secondary); color: var(--foreground); }
|
|
|
|
/* dark: live hanzo.ai's heroes carry a halftone dot field in dark, densest at the edges (the same rule as /investors);
|
|
light mode draws nothing here */
|
|
html:not(.light) .ia-hero { position: relative; isolation: isolate; }
|
|
html:not(.light) .ia-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--white-20) 1px, transparent 1.6px) 0 0 / 5px 5px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 75% 70% at 45% 45%, transparent 35%, #000 100%), linear-gradient(#000 70%, transparent); mask-composite: intersect; }
|