Files
zeekay 9268cde9c9 Sign in on hanzo.ai; serve the build's files under /assets
Sign-in is hanzo.ai's own page again: Log in, Sign up and every link to
them go to hanzo.ai/login and /signup, which the edge serves from the
app. hanzo.ai's /_next is the app's for those pages, so this build's
own files move to /assets/_next (assetPrefix, and `build` moves
out/_next under out/assets).

Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
2026-11-09 05:54:17 -08:00

195 lines
18 KiB
CSS

/* ---------- affiliates (v2, grey deck) ---------- */
/* hero: display type left, the action right, then the browser window as the hero object */
.xaf-hero { padding: clamp(44px, 5vw, 72px) 0 clamp(24px, 3vw, 44px); }
/* top-aligned: the h1 holds the top-left corner, the lede and Apply answer it on the right */
.xaf-top { align-items: start; row-gap: 40px; }
.xaf-side { padding-top: 10px; }
.xaf-copy { grid-column: 1 / span 8; }
.xaf-side { grid-column: 9 / span 4; display: grid; gap: 32px; justify-items: start; padding-bottom: 10px; }
.xaf-apply { position: relative; display: inline-grid; justify-items: start; gap: 10px; }
.xaf-to { font-size: 14px; color: var(--hz-500); opacity: 0; transform: translateY(-6px); clip-path: inset(0 100% 0 0); transition: opacity .25s var(--xp-ease), transform .35s var(--xp-ease), clip-path .45s var(--xp-ease); }
@media (hover: hover) { .xaf-apply:hover .xaf-to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.xaf-apply:focus-within .xaf-to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.xaf-lock { flex: none; display: inline-block; width: .5em; height: .62em; margin-right: .5em; border: 2px solid var(--hz-500); border-radius: 3px 3px 4px 4px; position: relative; top: .1em; }
.xaf-lock::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: .32em; height: .3em; margin-left: -.16em; border: 2px solid var(--hz-500); border-bottom: 0; border-radius: .2em .2em 0 0; }
.xaf-caret { flex: none; display: inline-block; width: .06em; height: .9em; margin-left: .04em; background: var(--hz-950); vertical-align: -.08em; animation: xaf-car 2s steps(1, end) .1s both, xaf-idle 1.6s steps(1, end) 2.1s infinite; }
/* the caret follows the typing, blinks twice; then, while the link is on screen, it keeps a slow idle blink */
@keyframes xaf-car { 0%, 55% { opacity: 1; } 65% { opacity: 0; } 75% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes xaf-idle { 0%, 55% { opacity: .9; } 56%, 100% { opacity: 0; } }
.xaf-rule { padding-bottom: 104px; }
.xaf-close { padding-top: 116px; }
@keyframes xaf-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* the link itself, the hero object, in its own screen */
.xaf-link { padding: 0; }
/* it writes itself from the first paint (the band is in the first screen at both sizes): typed by .8 s, code marked by 1.1 s */
.xaf-lnk-t { display: inline-block; animation: xaf-type .7s steps(22, end) .1s both; }
.xaf-lnk-code { display: inline-block; animation: xaf-wipe .35s cubic-bezier(.16, 1, .3, 1) .75s both, xaf-remark 5s cubic-bezier(.16, 1, .3, 1) 1.1s infinite; }
/* idle beat (CSS only, so no hydration branch): every 5 s the code is marked again with a quick wipe (at 3.6 s, 8.6 s, ...);
the caret keeps a slow blink beside it. Browsers stop painting it off screen; reduced motion turns both off. */
@keyframes xaf-remark { 0%, 48% { clip-path: inset(0 0 0 0); } 49% { clip-path: inset(0 100% 0 0); } 58%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes xaf-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes xaf-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .xaf-lnk-t, .xaf-lnk-code { animation: none; } }
.xaf-keep { white-space: nowrap; }
.xaf-link-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .2em; font: 400 clamp(1.75rem, 3vw, 2.75rem)/1.05 var(--mono); letter-spacing: -.05em; color: var(--hz-950); padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line); transform-origin: 50% 50%; }
.xaf-lnk { white-space: nowrap; }
/* the caption belongs to the link band: it sits inside the band, above its closing rule */
.xaf-link-k { display: flex; justify-content: space-between; margin: 0; padding-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); font: 606 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hz-500); }
.xaf-link-k .x-mono { text-transform: none; letter-spacing: 0; }
.xaf-lnk-code { display: inline-block; padding: 0 .18em; border-radius: .14em; background: var(--hz-950); color: #fff; }
/* how it works: one question at a time (the signature). Server HTML / JS off: the four steps stacked and the summary
whole; `.ready` (set on mount) turns the list into a sliding track, one step per screen. */
.xaf-q-sec { padding-top: clamp(72px, 8vw, 116px); }
.xaf-how-h { margin: 0 0 clamp(28px, 3vw, 44px); }
.xaf-q { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 24px clamp(32px, 4vw, 64px); align-items: start; }
.xaf-q-main { min-width: 0; }
.xaf-q-view { overflow: clip; border-radius: 28px; touch-action: pan-y; }
.xaf-q-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.xaf-q.ready .xaf-q-track { display: flex; gap: 0; transform: translateX(calc(var(--at, 0) * -100%)); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.xaf-q.ready .xaf-q-step { flex: 0 0 100%; min-width: 0; transition: opacity .45s var(--xp-ease); }
.xaf-q.ready .xaf-q-step:not(.on) { opacity: .25; }
.xaf-q-obj { position: relative; height: clamp(300px, 30vw, 400px); }
.xaf-q-t { margin: 24px 0 0; max-width: 30ch; font: 497 clamp(1.25rem, 1.8vw, 1.625rem)/1.3 var(--sans); letter-spacing: -.02em; color: var(--hz-950); }
.xaf-q-step.on .xaf-s { animation: xaf-q-in .5s cubic-bezier(.16, 1, .3, 1) .15s both; }
@keyframes xaf-q-in { from { transform: translateY(24px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.xaf-q-ctl { display: none; align-items: center; gap: 16px; margin-top: 24px; }
.xaf-q.ready .xaf-q-ctl { display: flex; }
.xaf-q-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--hz-950); font: 400 20px/1 var(--sans); cursor: pointer; transition: background-color .2s var(--xp-ease), border-color .2s var(--xp-ease), transform .15s var(--xp-ease); }
@media (hover: hover) { .xaf-q-btn:not(:disabled):hover { background: var(--hz-50); border-color: var(--hz-300); } }
.xaf-q-btn:not(:disabled):active { transform: scale(.94); }
.xaf-q-btn:disabled { opacity: .35; cursor: default; }
.xaf-q-btn:focus-visible, .xaf-q-row button:focus-visible { outline: 2px solid var(--hz-950); outline-offset: 3px; }
.xaf-q-n { min-width: 7ch; text-align: center; }
/* the summary: each answer lands in its row as you reach its step */
.xaf-q-sum { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.xaf-q-row { border-bottom: 1px solid var(--line); }
.xaf-q-row button { width: 100%; min-height: 64px; display: grid; grid-template-columns: 3ch minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 8px; border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--hz-950); border-radius: 12px; transition: background-color .2s var(--xp-ease); }
.xaf-q-row button:disabled { cursor: default; }
@media (hover: hover) { .xaf-q-row button:not(:disabled):hover { background: var(--hz-50); } }
.xaf-q-row.here .xaf-q-i { color: var(--hz-950); }
.xaf-q-a { min-width: 0; display: block; position: relative; }
.xaf-q-row:not(.filled) .xaf-q-a { visibility: hidden; }
.xaf-q-row:not(.filled) button { background: linear-gradient(var(--line), var(--line)) calc(3ch + 24px) 50% / 40% 1px no-repeat; }
.xaf-q.ready .xaf-q-row.filled .xaf-q-a { animation: xaf-q-land .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes xaf-q-land { from { transform: translateX(-16px); opacity: 0; clip-path: inset(0 100% 0 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 0 0); } }
.xaf-sum-code { font: 500 14px/1.4 var(--mono); letter-spacing: -.01em; overflow-wrap: anywhere; color: var(--hz-950); }
.xaf-sum-code b { font-weight: 500; padding: 0 .3em; border-radius: 6px; background: var(--hz-950); color: #fff; }
.xaf-sum-reply { display: inline-flex; align-items: center; gap: 10px; font: 560 16px/1.2 var(--sans); }
.xaf-sum-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hz-950); color: #fff; }
.xaf-sum-you { font: 497 21px/1.2 var(--sans); letter-spacing: -.02em; }
.xaf .xaf-q-t a { color: inherit; text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 1px; }
.xaf .xaf-q-t .x-copy { margin: 0 6px; vertical-align: .2em; }
@media (prefers-reduced-motion: reduce) { .xaf-q.ready .xaf-q-track, .xaf-q.ready .xaf-q-step { transition: none; } .xaf-q-step.on .xaf-s, .xaf-q.ready .xaf-q-row.filled .xaf-q-a { animation: none; } }
.xaf-stage { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--hz-50)); }
.xaf-step { position: absolute; left: 28px; bottom: 24px; }
.xaf-s { width: min(86%, 560px); }
.xaf-req { display: grid; gap: 18px; justify-items: center; }
.xaf-req-top { width: 100%; display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 24px; border-radius: 16px; background: #0a0a0a; color: #fafafa; font: 400 21px/1 var(--mono); letter-spacing: -.02em; }
.xaf-verb { padding: 8px 12px; border-radius: 10px; background: var(--hz-800); color: #fff; font-size: 14px; letter-spacing: .04em; }
.xaf-req-or { font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hz-500); }
.xaf-mail, .xaf-row { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.xaf-mail b { font: 560 19px/1.2 var(--sans); letter-spacing: -.015em; color: var(--hz-950); }
.xaf-mail-i, .xaf-av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hz-50); font: 600 16px/1 var(--mono); color: var(--hz-950); }
.xaf-mt { flex: 1; display: grid; gap: 4px; min-width: 0; }
.xaf-mt b { font: 560 18px/1.2 var(--sans); letter-spacing: -.015em; color: var(--hz-950); }
.xaf-mt small { font: 500 14px/1.2 var(--mono); color: var(--hz-500); }
.xaf-out { flex: none; font: 400 20px/1 var(--sans); color: var(--hz-500); }
.xaf-reply { display: grid; gap: 14px; }
.xaf-row.in { margin-left: 40px; width: calc(100% - 40px); border-color: var(--hz-300); }
.xaf-av.h { background: var(--hz-950); color: #fff; }
.xaf-code { display: grid; justify-items: center; gap: 22px; text-align: center; }
.xaf-code-v { font: 400 64px/1 var(--mono); letter-spacing: -.06em; color: var(--hz-950); }
.xaf-code-l { font: 500 clamp(.95rem, 1.4vw, 1.2rem)/1.3 var(--mono); color: var(--hz-500); padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.xaf-code-l em { font-style: normal; color: var(--hz-950); }
.xaf-land { display: grid; justify-items: center; gap: 22px; text-align: center; }
.xaf-org { display: inline-flex; align-items: center; gap: 14px; height: 68px; padding: 0 26px 0 10px; border-radius: 999px; background: var(--hz-950); color: #fff; font: 500 17px/1 var(--sans); }
.xaf-org-i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--hz-950); font: 600 13px/1 var(--mono); }
.xaf-you { font: 497 32px/1.1 var(--sans); letter-spacing: -.025em; color: var(--hz-950); }
.xaf-code-in { display: inline-block; max-width: 100%; vertical-align: baseline; font: 500 .78em/1.4 var(--mono); letter-spacing: -.02em; padding: 2px 10px; border-radius: 10px; background: var(--hz-50); border: 1px solid var(--line); color: var(--hz-950); overflow-wrap: anywhere; }
/* in-text links answer the pointer: the underline thickens and drops */
.xaf .xaf-q-t a, .xaf-close .x-link { transition: text-underline-offset .2s var(--xp-ease), text-decoration-thickness .2s var(--xp-ease); }
.xaf-close .x-link { background: none; color: var(--hz-950); text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 1px; }
@media (hover: hover) { .xaf .xaf-q-t a:hover, .xaf-close .x-link:hover { text-underline-offset: .22em; text-decoration-thickness: 2px; } }
/* the rule, drawn (the dark room) */
.xaf-rule-tabs .x-tablist { gap: 6px; padding: 6px; flex-wrap: wrap; width: auto; max-width: 100%; border-radius: 28px; }
.xaf-rule-tabs .x-tab { height: auto; min-height: 44px; padding: .3em .6em; font: 497 clamp(1.375rem, 2.2vw, 2rem)/1.1 var(--sans); letter-spacing: -.025em; }
.xaf-rule-p { margin-top: 24px; border-radius: 28px; outline: none; }
.xaf-rule-p:focus-visible { outline: 2px solid var(--hz-50); outline-offset: 4px; }
.xaf-dia-wrap { height: clamp(300px, 34vw, 460px); border-radius: 28px; background: var(--hz-900); border: 1px solid var(--room-line); display: grid; place-items: center; overflow: hidden; }
.xaf-dia { width: min(92%, 760px); height: auto; }
.xaf-ln { fill: none; stroke: var(--hz-50); stroke-width: 3; stroke-linecap: round; }
.xaf-ln.dash { stroke: var(--hz-500); stroke-dasharray: 2 10; }
.xaf-node { fill: var(--hz-900); stroke: var(--hz-500); stroke-width: 2; }
.xaf-node.on { fill: var(--hz-50); stroke: var(--hz-50); }
.xaf-t { font: 600 16px/1 var(--mono); text-anchor: middle; fill: var(--hz-950); }
.xaf-t.dim { fill: var(--hz-300); }
.xaf-t.inv { fill: var(--hz-950); }
.xaf-x { stroke: var(--hz-300); stroke-width: 3; stroke-linecap: round; fill: none; }
.xaf-own { fill: none; stroke: var(--hz-600); stroke-width: 2; stroke-dasharray: 4 6; }
.xaf-orgnode rect { fill: var(--hz-50); }
/* close */
.xaf-close .xp-grid { align-items: end; row-gap: 40px; }
.xaf-close-l { grid-column: 1 / span 7; }
.xaf-close-h { max-width: 16ch; font-size: clamp(2rem, 3vw, 2.75rem); }
.xaf-close-act { grid-column: 9 / span 4; display: grid; gap: 24px; justify-items: start; }
@media (prefers-reduced-motion: reduce) { .xaf-caret { animation: none !important; opacity: 0; } .xaf-lnk-code { animation: none !important; } }
@media (max-width: 900px) {
.xaf-hero { padding: 32px 0 24px; }
.xaf-side { gap: 24px; padding: 0; justify-items: stretch; }
.xaf-apply { display: grid; gap: 10px; }
.xaf-link { padding: 8px 0 0; }
.xaf-link-in { font-size: 26px; display: grid; justify-items: start; }
.xaf-side .xp-cta { width: 100%; }
.xaf-lnk { white-space: normal; overflow-wrap: anywhere; }
.xaf-rule-tabs .x-tab { font-size: 1.375rem; }
.xaf-stage { border-radius: 22px; }
.xaf-q { grid-template-columns: minmax(0, 1fr); }
.xaf-q-view { border-radius: 22px; }
.xaf-q-obj { height: 300px; }
.xaf-q-t { font-size: 1.25rem; }
.xaf-s { width: 88%; }
.xaf-req-top { height: 64px; padding: 0 16px; font-size: 15px; gap: 10px; }
.xaf-mail, .xaf-row { padding: 14px; gap: 12px; }
.xaf-mail b { font-size: 16px; }
.xaf-row.in { margin-left: 20px; width: calc(100% - 20px); }
.xaf-org { height: 56px; font-size: 15px; padding-right: 18px; }
.xaf-org-i { width: 40px; height: 40px; }
.xaf-you { font-size: 1.75rem; }
.xaf-dia-wrap { height: 260px; border-radius: 22px; }
.xaf-close-act { justify-items: stretch; }
}
/* the copy control is icon-only (its name stays in aria-label) until James approves the word */
.xaf .x-copy { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.xaf .x-copy-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .xaf-rule-tabs { overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; } .xaf-rule-tabs::-webkit-scrollbar { display: none; } .xaf-rule-tabs .x-tablist { width: max-content; } }
/* One solid at a time from the first paint: the header's ask is outlined on this route (the same look as the shared
html[data-ask=quiet]) until the page's hook says none of its own Apply buttons is on screen (html[data-xaf-solid]). */
html:has(main.xaf):not([data-xaf-solid]) header[data-slot=masthead] a[href="https://hanzo.ai/signup"],
html:has(main.xaf):not([data-xaf-solid]) header[data-slot=masthead] a[data-x-ask] { background-color: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--border, rgba(0, 0, 0, .14)); }
/* ---------- dark (Hanzo's tokens; light above is untouched) ---------- */
html:not(.light) .xaf-to, html:not(.light) .xaf-link-k, html:not(.light) .xaf-req-or, html:not(.light) .xaf-mt small, html:not(.light) .xaf-out, html:not(.light) .xaf-code-l { color: var(--soft); }
html:not(.light) .xaf-caret { background: var(--ink); }
html:not(.light) .xaf-link-in, html:not(.light) .xaf-q-t, html:not(.light) .xaf-q-btn, html:not(.light) .xaf-q-row button, html:not(.light) .xaf-q-row.here .xaf-q-i, html:not(.light) .xaf-sum-code, html:not(.light) .xaf-close .x-link, html:not(.light) .xaf-mail b, html:not(.light) .xaf-mail-i, html:not(.light) .xaf-av, html:not(.light) .xaf-mt b, html:not(.light) .xaf-code-v, html:not(.light) .xaf-code-l em, html:not(.light) .xaf-you, html:not(.light) .xaf-code-in { color: var(--ink); }
/* ink chips become Hanzo's primary pill */
html:not(.light) .xaf-lnk-code, html:not(.light) .xaf-sum-code b, html:not(.light) .xaf-sum-av, html:not(.light) .xaf-av.h, html:not(.light) .xaf-org { background: var(--primary); color: var(--primary-foreground); }
html:not(.light) .xaf-org-i { background: var(--primary-foreground); color: var(--primary); }
/* surfaces */
html:not(.light) .xaf-q-btn, html:not(.light) .xaf-mail, html:not(.light) .xaf-row, html:not(.light) .xaf-code-l { background: var(--x-raised); }
html:not(.light) .xaf-mail-i, html:not(.light) .xaf-av:not(.h), html:not(.light) .xaf-code-in { background: var(--muted); }
html:not(.light) .xaf-stage { background: linear-gradient(180deg, var(--card), var(--muted)); }
html:not(.light) .xaf-req-top { border: 1px solid var(--border); }
html:not(.light) .xaf-row.in { border-color: var(--border-strong); }
@media (hover: hover) {
html:not(.light) .xaf-q-btn:not(:disabled):hover { background: var(--muted); border-color: var(--border-strong); }
html:not(.light) .xaf-q-row button:not(:disabled):hover { background: var(--muted); }
}
html:not(.light) .xaf-q-btn:focus-visible, html:not(.light) .xaf-q-row button:focus-visible { outline-color: var(--ink); }