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_01P5YBdwj33XByFVTvu9bfci
360 lines
30 KiB
CSS
360 lines
30 KiB
CSS
/* ---------- search v2 (se2-): ink, greys and white only ---------- */
|
|
/* page-scoped deck tokens (docs/build-notes/original/brand-deck.html): every grey below reads from these */
|
|
.se2, .se2-note { --se-paper: light-dark(#ffffff, var(--surface-1)); --se-stage: light-dark(#fbfbfb, var(--surface-card-quiet)); --se-room: light-dark(#f5f5f5, var(--surface-2)); --se-card: light-dark(#f2f2f2, var(--surface-2)); --se-tile: light-dark(#ededed, var(--surface-3)); --se-track: light-dark(#d4d4d4, var(--surface-3)); --se-on: #fafafa; --se-graphite: #171717; --se-on-dim: #a3a3a3; --se-mid: light-dark(#404040, var(--text-secondary)); --se-body: light-dark(#525252, var(--muted-foreground)); }
|
|
.se2 .l2-stage-obj > * { width: min(100%, 1040px); }
|
|
|
|
/* Stage object: a search bar the size of the screen */
|
|
.se2-ask { padding: 14px; background: var(--se-stage); }
|
|
.se2-bar { display: flex; align-items: center; gap: 16px; height: 84px; padding: 0 76px 0 28px; border-radius: 20px; background: var(--se-paper); border: 1.5px solid var(--ink); box-shadow: 0 0 0 5px rgba(10, 10, 10, .06); color: var(--ink); }
|
|
.se2-q { font-size: 32px; font-weight: 500; letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
|
|
.se2-caret { width: 2.5px; height: 34px; margin-left: -12px; border-radius: 0; background: var(--ink); animation: se2-blink 1s steps(1) infinite; }
|
|
.se2-caret.sm { display: inline-block; width: 2px; height: 1.05em; margin: 0 0 0 3px; vertical-align: -.15em; }
|
|
@keyframes se2-blink { 50% { opacity: 0; } }
|
|
.se2-api { margin-left: auto; font-size: 13px; color: var(--se-body); }
|
|
.se2-ask .l2-pause { top: 34px; right: 30px; }
|
|
.se2-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 5px; border-radius: 16px; background: var(--se-tile); }
|
|
.se2-modes button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-height: 60px; padding: 12px 16px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; color: var(--se-body); transition: transform var(--dur-press, .1s) var(--ease); }
|
|
.se2-modes button:active { transform: scale(.98); }
|
|
.se2-modes button > :not(.se2-mode-bg) { position: relative; }
|
|
.se2-mode-bg { position: absolute; inset: 0; border-radius: 12px; background: var(--se-paper); box-shadow: inset 0 0 0 1px light-dark(rgba(0, 0, 0, .1), var(--border)); transition: box-shadow .15s cubic-bezier(0, 0, .2, 1); }
|
|
.se2-modes b { font: 500 15px/1 var(--mono); color: var(--se-mid); }
|
|
.se2-modes button[aria-selected='true'] b { font-weight: 700; color: var(--ink); }
|
|
.se2-modes button[aria-selected='true'] span { color: var(--ink); }
|
|
.se2-modes span { font-size: 14px; }
|
|
@media (hover: hover) { .se2-modes button:hover b { color: var(--ink); } .se2-modes button:not([aria-selected='true']):hover { background: rgba(255, 255, 255, .6); } }
|
|
.se2-out { position: relative; height: 312px; margin-top: 12px; padding: 10px; border-radius: 20px; background: var(--se-paper); border: 1px solid var(--hair); overflow: hidden; }
|
|
.se2-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
|
|
.se2-rows li { display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 18px; border-radius: 12px; }
|
|
.se2-rows li:first-child { background: var(--se-card); }
|
|
.se2-rk { width: 22px; font-size: 14px; color: var(--se-body); }
|
|
.se2-doc { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.se2-doc b { font-size: 17px; font-weight: 606; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.se2-doc em { font: 400 13px/1 var(--mono); font-style: normal; color: var(--se-body); }
|
|
.se2-fix, .se2-fused { margin-left: auto; flex: none; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--ink); border: 1.5px solid var(--ink); }
|
|
.se2-fused { border-color: light-dark(rgba(0, 0, 0, .2), var(--border-control)); color: var(--se-mid); }
|
|
.se2-rows li:not(:first-child) .se2-fused { display: none; }
|
|
.se2-rag { padding: 14px; }
|
|
.se2-rag-q { display: table; margin: 0 0 16px auto; padding: 14px 18px; border-radius: 16px 16px 6px 16px; background: var(--ink); color: var(--se-paper); font-size: 17px; font-weight: 500; }
|
|
.se2-rag-a { margin: 0; padding: 20px 22px; border-radius: 16px 16px 16px 6px; background: var(--se-card); font-size: 17px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); min-height: 4.6em; }
|
|
.se2-rag.big .se2-rag-a { font-size: 26px; padding: 26px 28px; }
|
|
.se2-srcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; transition: opacity .3s, transform .45s var(--ease); }
|
|
html.js .se2-srcs:not(.on) { opacity: 0; transform: translateY(6px); }
|
|
.se2-srcs span { padding: 9px 12px; border-radius: 8px; border: 1px solid light-dark(rgba(0, 0, 0, .16), var(--border-control)); font-size: 13px; color: var(--ink); background: var(--se-paper); }
|
|
|
|
/* chapter pictures */
|
|
.se2-way { height: min(560px, 66svh); background: var(--se-stage); }
|
|
.se2-way-in { position: absolute; inset: 0; padding: clamp(28px, 3.4vw, 48px); }
|
|
.se2-w0-q { margin: 0; font-size: 64px; font-weight: 220; letter-spacing: -.05em; line-height: 1; }
|
|
.se2-w0-q mark { display: inline-block; background: none; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: .08em; text-underline-offset: .12em; transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s cubic-bezier(0, 0, .2, 1), text-decoration-color .3s cubic-bezier(0, 0, .2, 1) .3s; }
|
|
html.js .se2-w0-q mark:not(.on) { opacity: 0; transform: translateY(-.4em); }
|
|
.se2-w0-q mark.on { text-decoration-color: var(--ink); }
|
|
/* the streamed answer reserves its full height (a hidden copy under it), so nothing below moves while it streams */
|
|
.se2-rag-a { display: grid; }
|
|
.se2-rag-a > .se2-ghost, .se2-rag-a > .se2-live { grid-area: 1 / 1; }
|
|
.se2-ghost { visibility: hidden; }
|
|
.se2-w0-f { display: flex; gap: 8px; margin: 24px 0 28px; }
|
|
.se2-w0-f span { padding: 9px 14px; border-radius: 999px; border: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); font-size: 13px; color: var(--se-body); }
|
|
.se2-w0-f span.on { border-color: var(--ink); color: var(--ink); background: var(--se-paper); }
|
|
.se2-w0 ol, .se2-w2 ol, .se2-w2 ol.m { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.se2-w0 li, .se2-w2 li { display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 18px; border-radius: 12px; background: var(--se-paper); border: 1px solid var(--hair); font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
|
|
.se2-w0 li > span, .se2-w2 li > span { font-size: 13px; color: var(--se-body); }
|
|
.se2-w0 li em, .se2-w2 li em { margin-left: auto; font-size: 13px; font-style: normal; color: var(--se-mid); }
|
|
.se2-fixc { flex: none; white-space: nowrap; padding: 6px 9px; border-radius: 8px; border: 1.5px solid var(--ink); color: var(--ink) !important; }
|
|
.se2-w1 { position: absolute; inset: 0; }
|
|
.se2-w1 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
|
|
.se2-w1 i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--se-track); }
|
|
.se2-w1 i.near { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--se-mid); }
|
|
.se2-w1 i.q { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--ink); box-shadow: 0 0 0 6px light-dark(rgba(10, 10, 10, .1), var(--border)); }
|
|
.se2-w1-list { display: none; }
|
|
.se2-w1 line { stroke: var(--ink); vector-effect: non-scaling-stroke; stroke-width: 1.5; opacity: 0; }
|
|
.se2-w1.go line { animation: se2-in .5s var(--ease) forwards; }
|
|
html:not(.js) .se2-w1 line { opacity: 1; }
|
|
.se2-w1 i.near { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
|
|
html.js .se2-w1:not(.go) i.near { transform: scale(.4); }
|
|
@keyframes se2-in { to { opacity: 1; } }
|
|
.se2-w1-l { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
|
|
.se2-w1-l li { position: absolute; transform: translate(14px, -50%); padding: 8px 12px; border-radius: 8px; background: var(--se-paper); border: 1px solid var(--hair); font-size: 14px; font-weight: 500; white-space: nowrap; }
|
|
.se2-w1-l li.q { transform: translate(-50%, -150%); background: var(--ink); color: var(--se-paper); border-color: var(--ink); font-family: var(--mono); }
|
|
.se2-w2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; height: 100%; }
|
|
.se2-w2 ol.a li { border-color: light-dark(rgba(0, 0, 0, .16), var(--border-control)); }
|
|
.se2-w2 ol.b { align-self: start; }
|
|
.se2-w2 ol.b li { background: var(--se-card); }
|
|
.se2-w2.fused { grid-template-columns: 1fr; }
|
|
.se2-w2 ol.m li:first-child { background: var(--ink); color: var(--se-paper); border-color: var(--ink); }
|
|
.se2-w2 ol.m li:first-child > span, .se2-w2 ol.m li:first-child em { color: var(--se-track); }
|
|
.se2-w3 { display: flex; flex-direction: column; justify-content: center; height: 100%; }
|
|
|
|
/* dark room: the bar driven by its three steps */
|
|
.se2-how-l { grid-column: 1 / span 7; }
|
|
.se2-how-l .l2-lede { margin-top: 20px; }
|
|
.se2-hb { margin-top: 48px; padding: 12px; border-radius: 24px; background: var(--se-room); color: var(--ink); }
|
|
.se2-hb-bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-radius: 16px; background: var(--se-paper); border: 1.5px solid var(--ink); }
|
|
.se2-hb-bar span { font-size: 16px; }
|
|
.se2-hb-bar b { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--se-body); }
|
|
.se2-hb-in { min-height: 300px; padding: 16px 6px 6px; }
|
|
.se2-hb-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.se2-hb-docs li { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-radius: 12px; background: var(--se-paper); border: 1px solid light-dark(rgba(0, 0, 0, .08), var(--border)); font-size: 17px; font-weight: 500; }
|
|
.se2-hb-docs li span, .se2-hb-docs li em { font-size: 13px; font-style: normal; color: var(--se-body); padding: 5px 8px; border-radius: 6px; border: 1px solid light-dark(rgba(0, 0, 0, .12), var(--border-control)); }
|
|
.se2-hb-docs li em { margin-left: auto; }
|
|
.se2-hb-call { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; padding-top: 10px; }
|
|
.se2-hb-call span { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 10px 0; border-radius: 16px 16px 0 0; background: var(--se-paper); border: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); border-bottom: 0; text-align: center; font-size: 16px; }
|
|
.se2-hb-call span i { display: block; width: 2px; height: 70px; margin-top: 18px; background: var(--ink); }
|
|
.se2-hb-call b { grid-column: 1 / -1; padding: 22px; border-radius: 16px; background: var(--ink); color: var(--se-paper); text-align: center; font-size: 17px; font-weight: 500; }
|
|
.se2-hb .se2-rag { padding: 0; }
|
|
.se2-note { margin: 16px 0 0; font-size: 14px; color: var(--se-body); }
|
|
.se2-steps { grid-column: 9 / span 4; list-style: none; margin: 0; padding: 0; align-self: center; display: flex; flex-direction: column; gap: 10px; }
|
|
.se2-steps li { position: relative; padding: 24px 24px 26px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); transition: background .3s, border-color .3s, color .3s; }
|
|
.se2-steps li.on { background: var(--se-room); color: var(--ink); border-color: var(--se-room); }
|
|
.se2-steps li.on .l2-body, .se2-steps li.on .se2-step { color: var(--se-mid); }
|
|
.se2-step { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .08em; color: var(--se-on-dim); }
|
|
.se2-steps .l2-body { margin-top: 10px; font-size: 16px; }
|
|
.se2-step-hit { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 20px; background: transparent; cursor: pointer; }
|
|
@media (hover: hover) { .se2-steps li:not(.on):hover { border-color: rgba(255, 255, 255, .42); } }
|
|
|
|
/* frameworks: a picker with its bar */
|
|
.se2-fw-bar { display: flex; align-items: center; gap: 12px; height: 60px; margin-top: 36px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--ink); background: var(--se-paper); overflow: hidden; }
|
|
.se2-fw-bar b { font-size: 17px; font-weight: 606; letter-spacing: -.02em; white-space: nowrap; }
|
|
.se2-fw-bar span { padding: 5px 9px; border-radius: 6px; border: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); font-size: 13px; color: var(--se-mid); white-space: nowrap; }
|
|
.se2-fw-bar i { margin-left: auto; font-size: 13px; font-style: normal; color: var(--se-body); }
|
|
.se2-fw-h { grid-column: 1 / span 5; }
|
|
.se2-fw-h .l2-body { margin-top: 18px; }
|
|
.se2-fw-l { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; }
|
|
.se2-fw-l li { border-bottom: 1px solid var(--hair); }
|
|
.se2-fw-l button { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; transition: transform var(--dur-press, .1s) var(--ease); }
|
|
.se2-fw-l button:active { transform: translateY(1px); }
|
|
.se2-fw-l li.on span { transform: translateX(10px); }
|
|
.se2-fw-l li.on em { color: var(--ink); }
|
|
.se2-fw-l li:first-child { border-top: 1px solid var(--hair); }
|
|
.se2-fw-l span { font-size: 32px; font-weight: 497; letter-spacing: -.04em; transition: transform .4s var(--ease); }
|
|
.se2-fw-l em { font-size: 13px; font-style: normal; color: var(--se-body); }
|
|
.se2-fw-l li.rest span { color: var(--soft); }
|
|
|
|
|
|
/* the close's object: the bar answering the query */
|
|
.se2-end { padding: 12px; border-radius: 24px; background: var(--se-room); color: var(--ink); }
|
|
.se2-end .se2-hb-bar span { font-size: 17px; font-weight: 500; font-family: var(--sans); }
|
|
.se2-end ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
.se2-end li { display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 16px; border-radius: 12px; background: var(--se-paper); border: 1px solid light-dark(rgba(0, 0, 0, .08), var(--border)); font-size: 16px; font-weight: 500; }
|
|
.se2-end ol.m:not(.wait) li:first-child { background: var(--ink); color: var(--se-paper); border-color: var(--ink); }
|
|
.se2-end li > span { font-size: 13px; color: var(--se-body); }
|
|
.se2-end li em { margin-left: auto; font-size: 13px; font-style: normal; color: var(--se-body); }
|
|
.se2-end ol.m:not(.wait) li:first-child > span, .se2-end ol.m:not(.wait) li:first-child em { color: var(--se-track); }
|
|
.se2-end-out ol.a li, .se2-end-out ol.b li { color: var(--ink); }
|
|
|
|
/* pricing */
|
|
.se2-price { background: var(--se-room); }
|
|
.se2-price-h { grid-column: 1 / span 4; }
|
|
.se2-price-h .l2-body { margin-top: 18px; }
|
|
.se2-fit { margin-top: 44px; padding: 26px; border-radius: 24px; background: var(--se-paper); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: 18px; }
|
|
.se2-fit label { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 10px; font-size: 16px; color: var(--soft); }
|
|
.se2-fit label b { font-size: 21px; font-weight: 497; color: var(--ink); }
|
|
.se2-fit .l2-range { grid-column: 1 / -1; color: var(--ink); }
|
|
.se2-fit-r { margin: 0; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 26px; font-weight: 497; letter-spacing: -.03em; }
|
|
.se2-fit-r span { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--se-body); }
|
|
.se2-plans { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
|
|
.se2-plan { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 24px; align-items: center; padding: 30px 32px; border-radius: 24px; background: var(--se-paper); border: 1.5px solid transparent; transition: border-color .4s var(--ease), transform .5s var(--ease); }
|
|
.se2-plan.fit { border-color: var(--ink); transform: translateX(-8px); }
|
|
.se2-amt { margin: 12px 0 0; font-size: 44px; white-space: nowrap; transform-origin: 0 100%; transition: transform .5s var(--ease); }
|
|
.se2-plan.fit .se2-amt { transform: scale(1.18); }
|
|
.se2-amt span { margin-left: 6px; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--se-body); }
|
|
.se2-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--soft); }
|
|
.se2-plan ul li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--ink); vertical-align: 2px; }
|
|
.se2-meili { grid-column: 6 / span 7; margin: 24px 0 0; font-size: 16px; color: var(--se-body); }
|
|
|
|
/* selected states answer hover too */
|
|
@media (hover: hover) {
|
|
.se2-modes button[aria-selected='true']:hover .se2-mode-bg { box-shadow: inset 0 0 0 1.5px var(--ink); }
|
|
.se2-fw-l li.on button:hover span { transform: translateX(16px); }
|
|
.se2-fw-l li.on button:hover em { text-decoration: underline; text-underline-offset: 3px; }
|
|
}
|
|
|
|
/* dark room pause: first in the room */
|
|
.se2-how-l { position: relative; }
|
|
.se2-how .se2-how-pause { position: relative; top: auto; right: auto; float: right; margin: 0 0 12px 12px; }
|
|
|
|
/* the close: Search ends centred, the hero's bar again at full width over one merged rank (not the split band) */
|
|
.se2-fin .l2-band-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; row-gap: 56px; }
|
|
.se2-fin .l2-band-copy, .se2-fin .l2-band-obj { grid-column: 1 / -1; }
|
|
.se2-fin .l2-band-copy { display: flex; flex-direction: column; align-items: center; }
|
|
.se2-fin .l2-band-h { max-width: 22ch; }
|
|
.se2-fin .l2-band-acts { justify-content: center; }
|
|
.se2-fin .l2-band-obj { width: min(100%, 960px); order: -1; }
|
|
.se2-end-bar { height: 76px; }
|
|
.se2-end-bar span { font-size: 26px !important; letter-spacing: -.02em; }
|
|
.se2-end .se2-caret.sm { height: 28px; width: 2.5px; margin-left: 2px; }
|
|
.se2-end-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; text-align: left; min-height: 240px; }
|
|
.se2-end-out.fused { grid-template-columns: 1fr; }
|
|
.se2-end-out ol { margin: 0 !important; }
|
|
.se2-end-out ol.b li { background: var(--se-card); }
|
|
.se2-end-out ol.wait { grid-column: 1 / -1; opacity: .14; }
|
|
.se2-end-out ol.wait li:first-child { background: var(--se-paper); color: var(--ink); border-color: light-dark(rgba(0, 0, 0, .08), var(--border)); }
|
|
|
|
@media (max-width: 900px) {
|
|
.se2 .l2-acts a, .se2-fin .l2-band-acts a, .se2-fin .l2-get-meta a { display: inline-flex; align-items: center; min-height: 44px; }
|
|
.se2-fixc, .se2-fix { white-space: nowrap; flex: none; }
|
|
.se2-rows .se2-fix { display: none; } /* chapter 01 shows the fix; the phone hero row reads the title in full */
|
|
.se2-doc b { white-space: normal; overflow: visible; }
|
|
.se2-w0 li { min-width: 0; }
|
|
.se2 .l2-stage-obj { padding-inline: 16px; box-sizing: border-box; }
|
|
.se2-end-bar { height: 60px; }
|
|
.se2-end-bar span { font-size: 21px !important; }
|
|
.se2-end-out { grid-template-columns: 1fr; min-height: 234px; align-content: start; }
|
|
.se2-end-out ol.b { display: none; }
|
|
.se2-fin .l2-band-top { row-gap: 40px; }
|
|
.se2-ask { padding: 8px; border-radius: 24px; }
|
|
.se2-bar { height: 64px; padding: 0 64px 0 18px; gap: 12px; }
|
|
.se2-ask .l2-pause { top: 18px; right: 18px; }
|
|
.se2-q { font-size: 21px; }
|
|
.se2-caret { height: 26px; margin-left: -8px; }
|
|
.se2-api { display: none; }
|
|
.se2-modes { grid-template-columns: 1fr 1fr; }
|
|
.se2-modes button { min-height: 56px; padding: 10px 12px; }
|
|
.se2-out { height: 320px; }
|
|
.se2-rows li { height: 64px; gap: 12px; padding: 0 12px; }
|
|
.se2-doc b { font-size: 16px; }
|
|
.se2-fused { display: none; }
|
|
.se2-rag-a { font-size: 17px; }
|
|
.se2 .l2-pin.stack { padding-bottom: 72px; }
|
|
.se2 .l2-pin-stick { top: auto; } /* stacked chapters: the sticky offset would push the last picture 60px into the dark room */
|
|
.se2-way { height: auto; min-height: 470px; }
|
|
.se2-way-in { position: relative; inset: auto; min-height: 470px; } /* stacked: the picture grows to hold its content */
|
|
.se2-rag.big .se2-rag-a { font-size: 21px; padding: 20px 22px; }
|
|
.se2-w3 { height: auto; min-height: 426px; }
|
|
.se2-way-in { padding: 22px; }
|
|
.se2-w0-q { font-size: 44px; }
|
|
.se2-w0 li, .se2-w2 li { height: 52px; font-size: 16px; padding: 0 14px; }
|
|
.se2-w0 li em:not(.se2-fixc), .se2-w2 li em { display: none; }
|
|
.se2-w2 { grid-template-columns: 1fr; }
|
|
.se2-w2 ol.b { display: none; }
|
|
.se2-w1-l li:not(.q) { display: none; }
|
|
.se2-w1-list { display: flex; flex-direction: column; gap: 6px; position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; padding: 0; list-style: none; }
|
|
.se2-w1-list li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 8px; background: var(--se-paper); border: 1px solid var(--hair); font-size: 14px; font-weight: 500; }
|
|
.se2-w1-list li span { font-size: 14px; color: var(--se-body); }
|
|
.se2-w1 i:not(.q):not(.near) { opacity: .6; }
|
|
.se2-fit-r span, .se2-fw-bar span, .se2-fw-bar i, .se2-end li > span, .se2-end li em { font-size: 14px; }
|
|
.se2-end li em { display: none; }
|
|
.se2-fixc, .se2-hb-bar b, .se2-hb-bar span, .se2-fix, .se2-w0-f span, .se2-doc em, .se2-srcs span, .se2-step, .se2-w0 li > span, .se2-w2 li > span, .se2-hb-docs li span, .se2-hb-docs li em, .se2-fw-l em { font-size: 14px; }
|
|
.se2-w1-l li { font-size: 14px; padding: 6px 8px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
|
|
.se2-how-l, .se2-steps, .se2-fw-h, .se2-fw-l, .se2-price-h, .se2-plans, .se2-meili { grid-column: auto; }
|
|
.se2-hb { margin-top: 36px; }
|
|
.se2-hb-in { min-height: 260px; }
|
|
.se2-hb-docs li { font-size: 16px; height: 52px; }
|
|
.se2-hb-docs li span { display: none; }
|
|
.se2-hb-call span { font-size: 14px; padding-top: 16px; }
|
|
.se2-steps { margin-top: 40px; }
|
|
.se2-fw-l { margin-top: 40px; }
|
|
.se2-plans { margin-top: 48px; }
|
|
.se2-plan { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 22px; }
|
|
.se2-plan.fit { transform: none; }
|
|
.se2-plan .x-btn { width: 100%; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .se2-caret { animation: none; } .se2-w1 line { animation: none; opacity: 1; } }
|
|
/* phone: the shared header keeps its solid "Try Hanzo", so the hero's ask is the quiet one (one solid per screen) */
|
|
@media (max-width: 700px) {
|
|
.se2 .l2-acts [data-thumb] { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink) !important; border-color: var(--ink) !important; }
|
|
}
|
|
/* the hero's text link answers hover: the arrow steps out and the label underlines */
|
|
@media (hover: hover) {
|
|
.se2 .l2-acts .x-arrow span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s cubic-bezier(0, 0, .2, 1); }
|
|
.se2 .l2-acts .x-arrow svg { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
|
|
.se2 .l2-acts .x-arrow:hover span { text-decoration-color: currentColor; }
|
|
.se2 .l2-acts .x-arrow:hover svg { transform: translateX(4px); }
|
|
}
|
|
/* phone close: the header's "Try Hanzo" is the solid there, so the band's "Read the docs" is outlined in white */
|
|
@media (max-width: 700px) {
|
|
.se2-fin .l2-band-acts .x-btn.solid { background: transparent !important; color: var(--se-on) !important; box-shadow: inset 0 0 0 1.5px var(--se-on) !important; border-color: var(--se-on) !important; }
|
|
}
|
|
.se2 .l2-pin.stack .l2-pin-stick { top: auto; } /* reduced motion stacks on desktop too */
|
|
|
|
/* ---------- motion map: flip board (signature) ---------- */
|
|
.se2-board-wrap { display: flex; flex-direction: column; gap: 12px; height: 100%; transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
|
|
.se2-board-wrap.wait { opacity: .3; }
|
|
.se2-board { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 16px; background: var(--ink); }
|
|
.se2-board-row { display: flex; gap: 2px; perspective: 400px; }
|
|
.se2-tile { position: relative; flex: 1 1 0; min-width: 0; height: 52px; display: grid; place-items: center; background: var(--se-graphite); color: var(--se-on); font: 500 18px/1 var(--mono); transform-origin: 50% 0; animation: se2-flap 70ms cubic-bezier(.4, 0, .2, 1); }
|
|
.se2-tile::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
|
|
.se2-tile.rk { flex-grow: 1.6; font-weight: 606; }
|
|
.se2-tile.src { color: var(--se-on-dim); }
|
|
.se2-board-row.top .se2-tile:not(.src) { color: var(--se-paper); }
|
|
@keyframes se2-flap { from { transform: rotateX(80deg); } to { transform: none; } }
|
|
.se2-board-cap { margin: 0 0 0 4px; font-size: 13px; color: var(--se-body); }
|
|
|
|
/* ---------- motion map: entrances, in page order ---------- */
|
|
/* 1 hero object: blinds (eight strips open like a venetian blind) */
|
|
.se2-blinds { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; pointer-events: none; }
|
|
.se2-blinds i { flex: 1; background: var(--se-paper); transform-origin: 50% 0; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
|
|
.se2-e-blinds.in .se2-blinds i { transform: scaleY(0); }
|
|
html:not(.js) .se2-blinds { display: none; }
|
|
|
|
/* 2 four ways: sticky-stack (each card sticks a little lower than the last, so they pile up at the top) */
|
|
.se2-ways-h { max-width: 640px; }
|
|
.se2-ways-h .l2-lede { margin-top: 18px; }
|
|
.se2-stack { list-style: none; margin: 56px 0 0; padding: 0 0 48px; display: flex; flex-direction: column; gap: 40px; }
|
|
.se2-card { position: sticky; top: calc(88px + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 32px; border-radius: 24px; background: var(--se-paper); border: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.se2-card-n { margin: 12px 0 0; font-size: 13px; letter-spacing: .12em; color: var(--se-body); }
|
|
.se2-card .l2-body { margin-top: 16px; }
|
|
.se2-card .se2-way { height: min(480px, 60svh); }
|
|
|
|
/* 3 dark room: zoom-through (its content flies in from far behind the screen) */
|
|
.se2-e-zoom .se2-e-in { transform: perspective(1200px) translateZ(0); transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .5s cubic-bezier(0, 0, .2, 1); }
|
|
html.js .se2-e-zoom:not(.in) .se2-e-in { transform: perspective(1200px) translateZ(-2400px); opacity: 0; }
|
|
|
|
/* 4 pricing: pull-back (starts zoomed right into the plans and pulls back to the whole sheet) */
|
|
.se2-e-pull { overflow: hidden; }
|
|
.se2-e-pull .se2-e-in { transform-origin: 72% 30%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity .6s cubic-bezier(0, 0, .2, 1); }
|
|
html.js .se2-e-pull:not(.in) .se2-e-in { transform: scale(2.6); opacity: .35; }
|
|
|
|
/* 5 frameworks: grow-from-point (opens as a circle from where you last pressed or pointed) */
|
|
.se2-e-grow .se2-e-in { clip-path: circle(150% at var(--gx, 50%) var(--gy, 50%)); transform-origin: var(--gx, 50%) var(--gy, 50%); transition: clip-path .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
|
|
html.js .se2-e-grow:not(.in) .se2-e-in { clip-path: circle(0 at var(--gx, 50%) var(--gy, 50%)); transform: scale(.8); }
|
|
|
|
@media (max-width: 900px) {
|
|
.se2-tile { height: 44px; font-size: 13px; }
|
|
.se2-tile.src { display: none; }
|
|
.se2-board { padding: 8px; gap: 5px; }
|
|
.se2-board-row { gap: 1px; }
|
|
.se2-stack { margin-top: 40px; gap: 24px; }
|
|
.se2-card { top: calc(68px + var(--i) * 12px); grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
|
|
.se2-card .se2-way { height: auto; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.se2-blinds { display: none; }
|
|
.se2-tile { animation: none; }
|
|
html.js .se2-e-zoom:not(.in) .se2-e-in, html.js .se2-e-pull:not(.in) .se2-e-in, html.js .se2-e-grow:not(.in) .se2-e-in { transform: none; opacity: 1; clip-path: none; }
|
|
}
|
|
|
|
/* use it: the example console (7) and the agent prompt (5), side by side before the closing band */
|
|
.se2-use { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
|
|
.se2-use-con { min-width: 0; }
|
|
.se2-use-pr { min-width: 0; }
|
|
.se2-con-api span { color: inherit; }
|
|
@media (max-width: 899px) { .se2-use { grid-template-columns: minmax(0, 1fr); } }
|
|
|
|
/* ---------- dark mode (docs/DARK-MODE.md): the l2 kit's page tokens and page white are literal values, so this page
|
|
gives them Hanzo's dark tokens (light values unchanged); the black rooms keep their own ---------- */
|
|
.l2-page.se2 { background: light-dark(#fff, var(--background)); --hair: light-dark(rgba(0, 0, 0, .1), var(--border)); --muted: light-dark(#525252, var(--muted-foreground)); --soft: light-dark(#525252, var(--muted-foreground)); }
|
|
/* the flip board stays a black board in both modes (its tiles are graphite); the top row's ink follows */
|
|
.se2-board { background: light-dark(#0a0a0a, var(--surface-1)); }
|
|
.se2-board-row.top .se2-tile:not(.src) { color: light-dark(#ffffff, var(--primary)); }
|
|
/* the kit's pause (outside the black rooms) and the example console (search/SeUse.jsx) are drawn in literal light
|
|
greys in Launch.css: their dark values, Hanzo's tokens */
|
|
.se2 .l2-pause { background: light-dark(rgba(255, 255, 255, .92), var(--surface-1)); }
|
|
@media (hover: hover) { .se2 .l2-pause:hover { background: light-dark(#ededed, var(--surface-3)); border-color: light-dark(rgba(0, 0, 0, .3), var(--border-control)); } }
|
|
.se2 [data-room='dark'] .l2-pause, .se2 .l2-pause.dk { background: rgba(28, 28, 31, .92); }
|
|
@media (hover: hover) { .se2 [data-room='dark'] .l2-pause:hover, .se2 .l2-pause.dk:hover { background: #262626; border-color: rgba(255, 255, 255, .3); } }
|
|
.se2 .l2-con { background: light-dark(#fff, var(--surface-1)); border-color: light-dark(rgba(0, 0, 0, .1), var(--border)); }
|
|
.se2 .l2-con-bar { border-bottom-color: light-dark(rgba(0, 0, 0, .08), var(--border)); background: light-dark(#fbfbfb, var(--surface-card-quiet)); }
|
|
.se2 .l2-con-bar > i { background: light-dark(#e4e4e7, var(--surface-3)); }
|
|
.se2 .l2-con-side { border-right-color: light-dark(rgba(0, 0, 0, .08), var(--border)); }
|
|
.se2 .l2-con-ico { color: light-dark(#525252, var(--muted-foreground)); }
|
|
.se2 .l2-con-ico.on { color: light-dark(#fff, var(--primary-foreground)); }
|
|
.se2 .l2-con-tip { color: light-dark(#fff, var(--primary-foreground)); }
|
|
@media (hover: hover) { .se2 .l2-con-ico:hover { background: light-dark(#f2f2f2, var(--surface-2)); } .se2 .l2-con-ico.on:hover { color: light-dark(#fff, var(--primary-foreground)); } }
|
|
.se2 .l2-con-row { background: light-dark(#f2f2f2, var(--surface-2)); }
|
|
.se2 .l2-con-dot { border-color: light-dark(#525252, var(--muted-foreground)); }
|
|
.se2 .l2-con-dot.b { background: light-dark(#525252, var(--muted-foreground)); }
|
|
.se2 .l2-con-st, .se2 .l2-con-foot { color: light-dark(#525252, var(--muted-foreground)); }
|
|
.se2 .l2-con-cap { border-color: light-dark(rgba(0, 0, 0, .08), var(--border)); }
|
|
.se2 .l2-con-foot { border-top-color: light-dark(rgba(0, 0, 0, .08), var(--border)); }
|
|
.se2 .l2-con-open { border-color: light-dark(rgba(0, 0, 0, .12), var(--border-control)); }
|