Files
Claude 345ee4a2bd dark tokens: home, /slack, /skills, /machines, /brand, /tag, /bot, /hsm, /press, /comparison, /iro, /koe, /koma
- Home: product mockups stay dark; their green/red diff lines, POST labels and Posted badge
  keep the same colours, written as the rgb Hanzo's color-mix() resolves to in dark; the
  GitHub mark on its dark tile uses var(--foreground).
- /tag, /brand: labels on light chips and the Hanzo White sample use --neutral-600 /
  --x-on-ink / --primary-foreground; swatch colours unchanged.
- /bot, /hsm: dimmed names use --text-tertiary instead of white at 30%.
- /comparison, /iro, /koe, /koma: secondary lines in dark rooms use --muted-foreground.
- /slack, /skills, /machines, /hsm, /brand, /press: selected tabs and pills drawn by a
  sibling or ::before; the selected element now carries the same colour in dark.
Every rule is under html:not(.light): light mode is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
2026-11-08 14:05:55 +00:00

496 lines
39 KiB
CSS

/* Machines v2. One dark room: the hero. Greys only: the card LED is a grey light.
Page tokens: the deck's neutral ramp (docs/build-notes/original/brand-deck.html). tokens.css is not on main yet, so the values
live here once, as custom properties, and every rule below reads them. */
.mc {
--mc-k: #000; --mc-ink: #0a0a0a; --mc-k1: #0f0f0f; --mc-k2: #171717; --mc-k3: #262626; --mc-k4: #404040;
--mc-g5: #525252; --mc-g6: #737373; --mc-s1: #a3a3a3; --mc-s2: #d4d4d4; --mc-brand: #e4e4e7; --mc-s3: #e5e5e5;
--mc-w1: #ededed; --mc-w2: #f2f2f2; --mc-w3: #f5f5f5; --mc-w4: #f7f7f7; --mc-w5: #fafafa; --mc-w: #fff;
--mc-out: cubic-bezier(0, 0, .2, 1); --mc-io: cubic-bezier(.4, 0, .2, 1);
--acc: var(--mc-ink); --glow: var(--mc-g5); --card: var(--mc-w3);
}
.mc .v2-dark, .mc [data-room='dark'] { --acc: var(--mc-w5); --glow: var(--mc-s3); }
/* hero: the black product shot */
.mc-hero { padding: 84px 0 clamp(72px, 8vw, 116px); background: radial-gradient(60% 50% at 50% 78%, rgba(163, 163, 163, .16), transparent 70%), var(--mc-k); }
.mc-hero-t { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mc-h1 { margin: 0 auto; }
.mc-cap { margin-top: 14px; color: var(--mc-s1); }
.mc-sub { margin-top: 14px; color: var(--mc-w5); text-align: center; max-width: 30ch; }
.mc-acts { margin-top: 22px; justify-content: center; gap: 28px; }
/* one solid fill: the primary; its hover rises 2px and rings on black */
.mc-acts .x-btn.solid { background: var(--mc-w5); color: var(--mc-k); border-color: var(--mc-w5); outline: 1px solid transparent; outline-offset: 3px; transition: transform .15s var(--mc-out), outline-color .15s var(--mc-out); }
.mc-acts .x-btn.solid:active, .mc-acts .x-btn.solid:hover:active { transform: scale(.97); transition-duration: 90ms; }
.mc-acts .x-btn.solid:focus-visible { outline: 2px solid var(--mc-w); outline-offset: 3px; }
/* the quiet ask: ink-on-black text with a 1px underline */
.mc-acts .x-arrow { min-height: 44px; color: rgba(255, 255, 255, .78); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); transition: color .15s var(--mc-out), text-decoration-color .15s var(--mc-out); }
.mc-acts .x-arrow span { text-decoration: none; }
.mc-acts .x-arrow:active { transform: translateY(1px); }
.mc-acts .x-arrow:focus-visible { outline: 2px solid var(--mc-w); outline-offset: 4px; border-radius: 6px; }
@media (hover: hover) {
.mc-acts .x-btn.solid:hover { background: var(--mc-w5); transform: translateY(-2px); outline-color: rgba(255, 255, 255, .55); }
.mc-acts .x-arrow:hover { color: var(--mc-w5); text-decoration-color: var(--mc-w); }
.mc-acts .x-arrow:hover span { text-decoration: none; }
}
/* the object sits inside the gutters */
.mc-lift { width: min(100% - 120px, 1280px); margin: 36px auto 0; }
.mc-rent { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(20px, 2.4vw, 40px); align-items: center; }
.mc-rack { display: grid; gap: 14px; perspective: 1200px; }
.mc-card { --glow: var(--mc-s3); position: relative; display: flex; align-items: center; gap: 18px; height: clamp(64px, 6vw, 84px); padding: 0 24px; border-radius: 16px; background: linear-gradient(180deg, var(--mc-k2), var(--mc-k1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 255, 255, .06); transform: rotateX(18deg); transform-origin: 50% 100%; transition: box-shadow .5s var(--mc-out), background .5s var(--mc-out); transition-delay: calc(var(--i) * 90ms); }
.mc-card.on { background: linear-gradient(180deg, var(--mc-k3), var(--mc-k2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(163, 163, 163, .45), 0 20px 60px -20px rgba(163, 163, 163, .45); }
.mc-card-n { font: 606 clamp(16px, 1.4vw, 21px)/1 var(--sans); letter-spacing: -.02em; color: var(--mc-s1); transition: color .5s var(--mc-out); transition-delay: inherit; }
.mc-card.on .mc-card-n { color: var(--mc-w5); }
.mc-fins { flex: 1; display: flex; gap: 5px; height: 46%; }
.mc-fins i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .06); }
.mc-card.on .mc-fins i { background: rgba(163, 163, 163, .18); }
.mc-led { width: 10px; height: 10px; border-radius: 99px; background: var(--mc-k3); transition: background .5s var(--mc-out), box-shadow .5s var(--mc-out); transition-delay: inherit; }
.mc-card.on .mc-led { background: var(--glow); box-shadow: 0 0 14px var(--glow); }
.mc-req { padding: clamp(20px, 2vw, 30px); border-radius: 28px; background: var(--mc-k2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.mc-req-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 13px/1 var(--mono); color: var(--mc-s1); }
.mc-dry { padding: 6px 10px; border-radius: 999px; background: rgba(163, 163, 163, .16); color: var(--glow); }
.mc-sizes { display: flex; gap: 4px; padding: 4px; margin-top: 14px; border-radius: 999px; background: var(--mc-k); width: max-content; }
.mc-sizes button { position: relative; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--mc-s1); font: 500 16px/1 var(--sans); cursor: pointer; transition: color .15s var(--mc-out); }
.mc-sizes button[aria-selected='true'] { color: var(--mc-k); }
.mc-sizes button span { position: relative; }
.mc-sizes button:focus-visible { outline: 2px solid var(--mc-w); outline-offset: 2px; }
@media (hover: hover) { .mc-sizes button[aria-selected='false']:hover { color: var(--mc-w5); } }
.mc-size-bg { position: absolute !important; inset: 0; border-radius: 999px; background: var(--mc-w5); }
.mc-body { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--mc-k); font: 400 14px/1.4 var(--mono); color: var(--mc-s1); white-space: pre-wrap; }
.mc-body b { color: var(--glow); font-weight: 500; }
.mc-quote { margin-top: 18px; }
.mc-roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: bottom; }
.mc-roll > span { display: inline-block; }
.mc-hour { display: flex; align-items: baseline; gap: 10px; margin: 0; font-weight: 220; font-size: 84px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--mc-w5); }
.mc-hour > span:last-child { font-size: .26em; letter-spacing: 0; color: var(--mc-s1); font-weight: 500; }
.mc-vram { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font: 500 16px/1 var(--mono); color: var(--glow); }
.mc-quote dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mc-quote dt { font: 500 12px/1 var(--mono); color: var(--mc-s1); }
.mc-quote dd { margin: 8px 0 0; font: 497 clamp(21px, 1.8vw, 26px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--mc-w5); }
.mc-rate { margin: 14px 0 0; font-size: 14px; color: var(--mc-s1); }
/* the zoom (signature): a fleet of racks on a white stage; one lit card grows until it is the screen, then its sheet */
.mc-zoom { position: relative; background: var(--mc-w); }
.mc-zstage { position: relative; height: clamp(560px, 78svh, 720px); overflow: hidden; background: var(--mc-w); }
/* fine pointers with motion allowed: 1.3 screens of scroll travel while the stage holds the screen */
@media (min-width: 901px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
.js .mc-zoom { height: 230svh; }
.js .mc-zstage { position: sticky; top: 0; height: 100svh; }
}
.mc-fleet { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 168px)); place-content: center; gap: 22px 16px; }
.mc-zrack { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: var(--mc-w2); box-shadow: inset 0 0 0 1px var(--line); }
.mc-zrack .mc-card { height: 26px; padding: 0 10px; gap: 8px; border-radius: 6px; transform: none; transition-delay: 0s; }
.mc-zrack .mc-card-n { font: 500 11px/1 var(--mono); letter-spacing: .08em; }
.mc-zrack .mc-fins { gap: 3px; }
.mc-zrack .mc-led { width: 6px; height: 6px; }
.mc-ztarget { width: 100%; border: 0; font: inherit; cursor: zoom-in; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .15s var(--mc-out); }
.mc-ztarget .mc-led { animation: mc-led 2.4s var(--mc-io) infinite; }
.mc-ztarget:focus-visible { outline: 2px solid var(--mc-ink); }
.mc-ztarget:active { transform: scale(.98); }
@media (hover: hover) { .mc-ztarget:hover { outline-color: var(--mc-g6); } }
@keyframes mc-led { 50% { opacity: .35; } }
/* the card's own sheet: the same surface as a lit card, filling the stage */
.mc-zsheet { position: absolute; inset: 0; display: flex; background: linear-gradient(180deg, var(--mc-k3), var(--mc-k2)); color: var(--mc-w5); pointer-events: none; }
.mc-zsheet[data-on] { pointer-events: auto; }
.mc-zsheet-in { display: flex; flex-direction: column; padding-top: 92px; padding-bottom: 56px; }
.mc-zbar { display: flex; align-items: center; justify-content: space-between; }
.mc-zbar .mc-card-n { font-size: 21px; color: var(--mc-w5); }
.mc-zbar-r { display: flex; align-items: center; gap: 20px; }
.mc-zbar .mc-led { background: var(--mc-s3); box-shadow: 0 0 14px var(--mc-s3); }
.mc-zback { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: none; color: var(--mc-w5); cursor: zoom-out; transition: border-color .15s var(--mc-out), transform 90ms var(--mc-out); }
.mc-zback:active { transform: scale(.97); }
.mc-zback:focus-visible { outline: 2px solid var(--mc-w); outline-offset: 2px; }
@media (hover: hover) { .mc-zback:hover { border-color: var(--mc-w5); } }
.mc-zfins { display: flex; flex: none; height: 44px; margin-top: 24px; }
.mc-zfins i { background: rgba(163, 163, 163, .18); }
.mc-zbody { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-top: auto; }
.mc-zhead { grid-column: 1 / span 5; }
.mc-zhead .v2-headline { color: var(--mc-w5); }
.mc-zdesc { margin: 10px 0 0; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .78); max-width: 30ch; }
.mc-zfig { grid-column: 7 / -1; }
.mc-zsheet .mc-moment { margin: 0; }
.mc-zsheet .mc-moment dd { font-size: 112px; color: var(--mc-w5); }
.mc-zsheet .mc-moment dt, .mc-zsheet .mc-rows dt { color: var(--mc-s1); }
.mc-zsheet .mc-rows { margin-top: 28px; border-top-color: rgba(255, 255, 255, .1); }
.mc-zsheet .mc-rows > div { border-bottom-color: rgba(255, 255, 255, .1); }
.mc-zsheet .mc-rows > div::before { background: rgba(255, 255, 255, .05); }
.mc-zsheet .mc-rows dd { color: var(--mc-w5); }
/* JS off: the sheet prints under the fleet */
html:not(.js) .mc-zstage { height: auto; }
html:not(.js) .mc-fleet { position: relative; padding: 72px 0; }
html:not(.js) .mc-zsheet { position: relative; opacity: 1 !important; }
/* the other machines' specs: two hairline lists side by side */
.mc-specs { padding: 116px 0 72px; }
.mc-moment dt, .mc-rows dt { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mc-g5); }
.mc-moment dd { margin: 12px 0 0; font-weight: 220; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mc-cnt { display: inline-block; }
.mc-specs-list { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.mc-specs-list .mc-group:first-child { grid-column: 1 / span 6; }
.mc-specs-list .mc-group:last-child { grid-column: 8 / -1; }
.mc-group-d { margin: 8px 0 18px; font-size: 16px; line-height: 1.5; color: var(--mc-g5); }
.mc-rows { margin: 0; border-top: 1px solid var(--line); }
.mc-specs-h .mc-rows { margin-top: 28px; }
.mc-rows > div { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-rows > div::before { content: ''; position: absolute; inset: 0 -12px; border-radius: 12px; background: var(--mc-w3); opacity: 0; transition: opacity .15s var(--mc-out); }
.mc-rows dt, .mc-rows dd { position: relative; }
.mc-rows dd { margin: 0; font-weight: 497; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: transform .3s var(--e); }
@media (hover: hover) {
.mc-rows > div:hover::before { opacity: 1; }
.mc-rows > div:hover dd { transform: translateX(-6px); }
}
/* how renting one works: 26px heading, 21px steps; the step text cuts (out, then in) instead of crossfading */
.mc-ch { --acc: var(--mc-g6); background: var(--mc-w4); }
.mc-ch-h { padding-bottom: 8px; }
.mc-ch-l { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--mc-g5); max-width: 40ch; }
@media (min-width: 901px) {
.mc-ch .pc-vis { height: min(62svh, 480px); }
.mc-ch .pc-t { font-size: 21px; }
.js .mc-ch .pc-art { transition: opacity .15s var(--mc-out), transform .3s var(--e); }
.js .mc-ch .pc-art[data-on] { transition: opacity .3s var(--e) .18s, transform .5s var(--e) .18s; }
.js .mc-ch .pc-d { clip-path: inset(0 0 100% 0); transition: clip-path .15s var(--mc-out); }
.js .mc-ch .pc-art[data-on] .pc-d { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--e) .3s; }
}
.mc-con { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.mc-con-bar { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); font: 500 13px/1 var(--mono); color: var(--mc-g5); }
.mc-con-bar b { margin-left: auto; font-weight: 500; color: var(--mc-g6); font-variant-numeric: tabular-nums; }
.mc-con-body { flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); }
.mc-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mc-mask > span { display: block; }
.mc-con-ask { margin: 0; padding: 18px 22px; border-radius: 16px; background: var(--mc-ink); color: var(--mc-w5); font: 500 clamp(14px, 1.2vw, 17px)/1.35 var(--mono); }
.mc-con-back { list-style: none; margin: 24px 0 0; padding: 0; }
.mc-con-back li { padding: 16px 2px; border-bottom: 1px solid var(--line); font: 500 clamp(14px, 1.2vw, 17px)/1.35 var(--mono); color: var(--mc-g5); }
.mc-con-back li:last-child { border-bottom: 0; }
.mc-con-back li .mc-mask > span { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mc-con-back li b { font: 497 clamp(21px, 1.8vw, 26px)/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--mc-ink); }
/* a list with no request above it (the sizes): the answer is the whole console */
.mc-con-back.solo { margin-top: 0; }
.mc-con-back.solo li { padding: 20px 2px; font: 497 clamp(21px, 1.8vw, 26px)/1.1 var(--sans); letter-spacing: -.02em; color: var(--mc-ink); }
.mc-con-fig { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-top: 24px; }
.mc-con-rack { width: 100%; }
.mc-con-rack .mc-card { height: 56px; }
.mc-meter { display: grid; gap: 22px; }
/* the org's balance: a hairline that draws down while the card is up */
.mc-meter-t { display: block; height: 4px; border-radius: 99px; background: var(--mc-s2); overflow: hidden; }
.mc-meter-t i { display: block; height: 100%; border-radius: inherit; background: var(--mc-ink); transform-origin: 0 50%; animation: mc-drain 1.4s var(--mc-io) .5s both; }
@keyframes mc-drain { from { transform: scaleX(1); } to { transform: scaleX(.62); } }
.mc-con-pair { justify-content: center; }
.mc-con-pair i { animation: mc-draw .8s var(--e) .4s both; }
/* how renting one works: the heading holds the left while the six numbered rows pass on the right */
.mc-steps { padding: 116px 0; }
.mc-steps-in { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.mc-steps-h { grid-column: 1 / span 4; position: sticky; top: 112px; }
.mc-steps-l { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mc-step .v2-body { max-width: 60ch; }
@media (hover: hover) {
.mc-step:hover::before { opacity: 1; }
.mc-step:hover .v2-title { transform: translateX(6px); }
.mc-step:hover .mc-own-n { color: var(--mc-ink); }
}
/* ---- the five entrances (MachinesEnter.jsx). Pre-states only with JS on and motion allowed; each plays once. ---- */
/* glitch-in (hero): two sliced grey copies of the h1 and the lede jump sideways for half a second, then hold still */
.mc-gl-t { position: relative; }
.mc-gl-t::before, .mc-gl-t::after { content: attr(data-text) / ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.mc-gl-t::before { color: var(--mc-s1); }
.mc-gl-t::after { color: var(--mc-g6); }
@media (prefers-reduced-motion: no-preference) {
/* held hidden until the section arrives, with a 2.5 s failsafe in case the script is slow */
.js .mc-gl:not([data-in]) .mc-gl-t, .js .mc-gl:not([data-in]) .mc-cap, .js .mc-gl:not([data-in]) .mc-acts, .js .mc-gl:not([data-in]) .mc-lift { animation: mc-hold 2.5s steps(1, end) both; }
.js .mc-gl[data-in] .mc-gl-t { animation: mc-gl-flick .6s steps(1) both; }
.js .mc-gl[data-in] .mc-sub { animation-delay: .12s; }
.js .mc-gl[data-in] .mc-gl-t::before { animation: mc-gl-a .6s steps(1) both; }
.js .mc-gl[data-in] .mc-gl-t::after { animation: mc-gl-b .6s steps(1) both; }
.js .mc-gl[data-in] .mc-sub::before, .js .mc-gl[data-in] .mc-sub::after { animation-delay: .12s; }
.js .mc-gl[data-in] .mc-cap { animation: mc-gl-up .5s var(--e) .35s both; }
.js .mc-gl[data-in] .mc-acts { animation: mc-gl-up .5s var(--e) .45s both; }
.js .mc-gl[data-in] .mc-lift { animation: mc-gl-up .8s var(--e) .55s both; }
}
@keyframes mc-gl-flick { 0% { opacity: 0; } 8% { opacity: 1; transform: translateX(-3px); } 16% { opacity: .4; transform: translateX(4px); } 28% { opacity: 1; transform: none; } 44% { transform: translateX(-2px); } 52%, 100% { opacity: 1; transform: none; } }
@keyframes mc-gl-a { 0% { opacity: 1; clip-path: inset(10% 0 62% 0); transform: translateX(-14px); } 16% { clip-path: inset(58% 0 18% 0); transform: translateX(10px); } 32% { clip-path: inset(30% 0 46% 0); transform: translateX(-6px); } 48% { clip-path: inset(72% 0 6% 0); transform: translateX(8px); } 64%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; } }
@keyframes mc-gl-b { 0% { opacity: 1; clip-path: inset(64% 0 12% 0); transform: translateX(12px); } 16% { clip-path: inset(6% 0 70% 0); transform: translateX(-10px); } 32% { clip-path: inset(44% 0 30% 0); transform: translateX(6px); } 48% { clip-path: inset(20% 0 60% 0); transform: translateX(-8px); } 64%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; } }
@keyframes mc-hold { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-gl-up { from { opacity: 0; transform: translateY(16px); } }
/* diagonal-wipe (the zoom): the stage is uncovered by a diagonal edge that sweeps in from the top-left corner */
@media (prefers-reduced-motion: no-preference) {
.js .mc-dw:not([data-in]) { clip-path: polygon(0 0, 0 0, 0 0); }
.js .mc-dw[data-in] { animation: mc-dw 1.1s cubic-bezier(.65, 0, .25, 1) both; }
}
@keyframes mc-dw { from { clip-path: polygon(0 0, 0 0, 0 0); } to { clip-path: polygon(0 0, 200% 0, 0 200%); } }
/* snap-sections (uses): the page settles the section under the header and its content snaps up with a small overshoot */
@media (prefers-reduced-motion: no-preference) {
.js .mc-snap:not([data-in]) .mc-snap-in { opacity: 0; transform: translateY(56px); }
.js .mc-snap[data-in] .mc-snap-in { animation: mc-snap .7s cubic-bezier(.34, 1.4, .64, 1) both; }
}
@keyframes mc-snap { from { opacity: 0; transform: translateY(56px); } 40% { opacity: 1; } }
/* page-curl (renting): the white page above lies over the section and peels away from the bottom-right corner, its
folded back a grey band that rides the fold */
.mc-curl { position: relative; }
.mc-curl-sheet, .mc-curl-flap { display: none; }
@media (prefers-reduced-motion: no-preference) {
.js .mc-curl-sheet, .js .mc-curl-flap { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.js .mc-curl-sheet { background: var(--mc-w); clip-path: polygon(0 0, 200% 0, 0 200%); }
.js .mc-curl-flap { background: linear-gradient(315deg, var(--mc-s2), var(--mc-w2) 45%, var(--mc-w) 70%); clip-path: polygon(170% 0, 200% 0, 0 200%, 0 170%); box-shadow: none; }
.js .mc-curl[data-in] .mc-curl-sheet { animation: mc-curl-s 1.2s cubic-bezier(.55, 0, .25, 1) both; }
.js .mc-curl[data-in] .mc-curl-flap { animation: mc-curl-f 1.2s cubic-bezier(.55, 0, .25, 1) both; }
}
@keyframes mc-curl-s { to { clip-path: polygon(0 0, 0 0, 0 0); visibility: hidden; } }
@keyframes mc-curl-f { to { clip-path: polygon(-30% 0, 0 0, 0 0, 0 -30%); visibility: hidden; } }
/* noise-dissolve (ownership): a field of grey grain over the section clears cell by cell (canvas, MachinesEnter) */
.mc-noise { position: relative; }
.mc-noise-cv { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
.mc-noise:not([data-ready]) .mc-noise-cv { display: none; }
/* when you want a whole machine: tiles that tilt and run their diagram */
.mc-uses { padding: 188px 0 116px; }
.mc-uses-h { align-items: end; margin-bottom: 44px; row-gap: 24px; }
.mc-uses-h .v2-headline { grid-column: 1 / span 5; max-width: 16ch; }
.mc-uses-h .v2-lede { grid-column: 7 / -1; }
/* the rail: one tile in focus, the next peeking 16%; snap, arrows, a counter and a sliding hairline */
.mc-rail { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 8px 0; margin: -8px 0; }
.mc-rail::-webkit-scrollbar { display: none; }
.mc-rail:focus-visible { outline: 2px solid var(--mc-ink); outline-offset: 4px; border-radius: 24px; }
.mc-tile { flex: 0 0 84%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: var(--mc-w3); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--e), opacity .4s var(--mc-io); }
.mc-tile.t1, .mc-tile.t2 { background: var(--mc-w2); }
.mc-tile:not([data-on]) { opacity: .5; cursor: pointer; }
.mc-tile-txt { display: flex; flex-direction: column; min-width: 0; }
.mc-tile-art { height: 200px; display: flex; align-items: center; }
.mc-tile-d { margin: 10px 0 20px; font-size: 17px; line-height: 1.45; color: var(--mc-g5); }
.mc-tile ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mc-rail-nav { display: flex; align-items: center; gap: 4px; margin-top: 20px; }
.mc-rail-n { font: 500 13px/1 var(--mono); color: var(--mc-g5); font-variant-numeric: tabular-nums; min-width: 7ch; }
.mc-rail-bar { position: relative; flex: 1; height: 1px; margin: 0 20px 0 12px; background: var(--line); overflow: hidden; }
.mc-rail-bar i { position: absolute; inset: 0 auto 0 0; background: var(--mc-ink); transition: transform .5s var(--e); }
.mc-rail-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--mc-w); color: var(--mc-ink); cursor: pointer; transition: border-color .15s var(--mc-out), transform 90ms var(--mc-out); }
.mc-rail-nav button:disabled { color: var(--mc-s1); cursor: default; }
.mc-rail-nav button:not(:disabled):active { transform: scale(.97); }
.mc-rail-nav button:focus-visible { outline: 2px solid var(--mc-ink); outline-offset: 2px; }
@media (hover: hover) { .mc-rail-nav button:not(:disabled):hover { border-color: var(--mc-ink); } }
.mc-tile li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.mc-tile li:last-child { border-bottom: 0; }
.mc-art.a0 { display: flex; gap: 8px; width: 100%; }
.mc-art.a0 i { position: relative; flex: 1; height: 72px; border-radius: 12px; background: var(--mc-brand); overflow: hidden; }
.mc-art.a0 i::after { content: ''; position: absolute; inset: 0; background: var(--acc); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--e); }
.mc-art.a0 i.on::after { transform: none; }
.mc-art.a1 { display: flex; align-items: flex-end; gap: 4px; width: 100%; height: 100px; }
.mc-art.a1 i { flex: 1; border-radius: 3px; background: var(--mc-g6); transform-origin: 50% 100%; }
.mc-art.a2 { display: grid; gap: 8px; width: 100%; }
.mc-art.a2 p { display: grid; grid-template-columns: 70px repeat(3, 1fr); gap: 6px; align-items: center; margin: 0; }
.mc-art.a2 em { font: 500 12px/1 var(--mono); font-style: normal; color: var(--mc-g5); }
.mc-art.a2 i { position: relative; height: 26px; border-radius: 8px; background: var(--mc-w); box-shadow: inset 0 0 0 1px rgba(115, 115, 115, .25); transition: transform .5s var(--e); }
.mc-art.a2 p:first-child i:first-of-type, .mc-art.a2 p:last-child i:nth-of-type(2) { z-index: 1; background: var(--acc); }
.mc-art.a3 { display: flex; align-items: center; gap: 12px; }
.mc-art.a3 b { padding: 18px 22px; border-radius: 16px; background: var(--mc-ink); color: var(--mc-w5); font: 606 17px/1 var(--mono); }
.mc-art.a3 b:last-child { background: var(--mc-k3); }
.mc-art.a3 i { width: 56px; height: 2px; background: var(--acc); transform-origin: 0 50%; }
@keyframes mc-breathe { 50% { transform: scaleY(.55); } }
@keyframes mc-draw { from { transform: scaleX(0); } }
/* the run: fine pointers on hover, touch once the tile is on screen */
@media (hover: hover) {
.mc-tile:hover .mc-art.a0 i::after { transform: none; transition-delay: calc(var(--k) * 60ms); }
.mc-tile:hover .mc-art.a1 i { animation: mc-breathe 1.2s var(--mc-io) 2; animation-delay: calc(var(--k) * 40ms); }
.mc-tile:hover .mc-art.a2 p:first-child i:first-of-type { transform: translateX(calc(100% + 6px)); }
.mc-tile:hover .mc-art.a2 p:last-child i:nth-of-type(2) { transform: translateX(calc(-100% - 6px)); }
.mc-tile:hover .mc-art.a3 i { animation: mc-draw .8s var(--e); }
}
/* the tile in focus runs its diagram once, on every pointer */
.mc-tile[data-on] .mc-art.a0 i::after { transform: none; transition-delay: calc(var(--k) * 60ms + .3s); }
.mc-tile[data-on] .mc-art.a1 i { animation: mc-breathe 1.2s var(--mc-io) 2; animation-delay: calc(var(--k) * 40ms); }
.mc-tile[data-on] .mc-art.a2 p:first-child i:first-of-type { transform: translateX(calc(100% + 6px)); transition-delay: .3s; }
.mc-tile[data-on] .mc-art.a3 i { animation: mc-draw .8s var(--e) .3s both; }
/* whose machine it is: rows, not three equal columns; each row fills on hover */
.mc-own { padding: 72px 0 116px; }
.mc-own-h { align-items: end; margin-bottom: 40px; row-gap: 24px; }
.mc-own-h .v2-headline { grid-column: 1 / span 5; }
.mc-own-h .v2-lede { grid-column: 7 / -1; }
/* the rows (left) drive one diagram (right): org, the accounts that fold in, the region you named */
.mc-own-in { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.mc-own-list { grid-column: 1 / span 7; border-top: 1px solid var(--line); }
.mc-own-i { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-items: baseline; padding: 24px 16px; border-bottom: 1px solid var(--line); cursor: default; }
.mc-own-i::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: var(--mc-w3); opacity: 0; transition: opacity .3s var(--mc-out); }
.mc-own-i > * { position: relative; }
.mc-own-i .v2-body { grid-column: 2; margin: 0; }
.mc-own-i:focus-visible { outline: 2px solid var(--mc-ink); outline-offset: -2px; border-radius: 16px; }
.mc-own-n { font: 500 13px/1 var(--mono); color: var(--mc-g5); }
.mc-own-i .v2-title { transition: transform .3s var(--e); }
.mc-own-i[data-on]::before { opacity: 1; }
.mc-own-i[data-on] .v2-title { transform: translateX(6px); }
.mc-own-i[data-on] .mc-own-n { color: var(--mc-ink); }
.mc-map { grid-column: 9 / -1; display: grid; justify-items: center; gap: 0; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: var(--mc-w3); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mc-g5); }
.mc-map > * { transition: opacity .4s var(--mc-io); }
.mc-map[data-at='0'] > :not(.g0), .mc-map[data-at='1'] > :not(.g1):not(.mc-map-org), .mc-map[data-at='2'] > :not(.g2):not(.mc-map-org) { opacity: .4; }
/* accounts, links and machines share three columns, so each account drops straight onto a machine */
.mc-map-accts, .mc-map-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; box-sizing: border-box; padding-inline: 16px; justify-items: center; }
.mc-map-accts span { max-width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 999px; background: var(--mc-w); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background-color .4s var(--mc-io), color .4s var(--mc-io); }
.mc-map[data-at='1'] .mc-map-accts span { background: var(--mc-ink); color: var(--mc-w5); }
.mc-map-links { height: 36px; }
.mc-map-links i { width: 1px; height: 100%; background: var(--mc-g6); transform-origin: 50% 0; transform: scaleY(.25); transition: transform .8s var(--e); }
.mc-map[data-at='1'] .mc-map-links i { transform: none; }
.mc-map[data-at='1'] .mc-map-links i:nth-child(2) { transition-delay: 90ms; }
.mc-map[data-at='1'] .mc-map-links i:nth-child(3) { transition-delay: 180ms; }
.mc-map-org { width: 100%; box-sizing: border-box; padding: 16px; border-radius: 16px; background: var(--mc-w); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--mc-io); }
.mc-map[data-at='0'] .mc-map-org { box-shadow: inset 0 0 0 1.5px var(--mc-ink); }
.mc-map-org em { display: block; font-style: normal; margin-bottom: 12px; color: var(--mc-ink); }
.mc-map-ms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mc-map-ms b { display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--mc-w1); font-weight: 500; color: var(--mc-g5); transition: background-color .4s var(--mc-io), color .4s var(--mc-io); transition-delay: calc(var(--k) * 90ms); }
.mc-map[data-at='0'] .mc-map-ms b, .mc-map[data-at='1'] .mc-map-ms b { background: var(--mc-k3); color: var(--mc-w5); }
.mc-map-reg { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.mc-map-reg em { font-style: normal; color: var(--mc-ink); }
.mc-map-dots { display: flex; gap: 14px; }
.mc-map-dots i { width: 10px; height: 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--mc-g6); transition: transform .3s var(--e), background-color .3s var(--mc-out); }
.mc-map[data-at='2'] .mc-map-dots i.pick { background: var(--mc-ink); box-shadow: none; transform: scale(1.4); }
/* paste and ship: the prompt wraps; related links are rows that fill */
.mc-ship.v2-sec { padding: 116px 0 72px; }
.mc-ship .mc-api { margin: 18px 0 0; font: 500 13px/1.4 var(--mono); color: var(--mc-g6); overflow-wrap: anywhere; }
.mc-ship .sp-code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-ship .sp-rel ul { grid-template-columns: minmax(0, 1fr); }
/* the fill reaches into the column gap on the left and stops at the gutter on the right */
.mc-ship .sp-rel-a { padding-left: 12px; padding-right: 12px; margin-left: -12px; margin-right: 0; border-radius: 12px; transition: background-color .15s var(--mc-out); }
.mc-ship .sp-rel-a b { display: inline-block; transition: transform .3s var(--e); }
/* the chapter dots answer too: a soft well under the dot */
.mc-ch .pc-dots button { transition: background-color .15s var(--mc-out); }
@media (hover: hover) {
.mc-ship .sp-rel-a:hover { background-color: var(--mc-w3); }
.mc-ship .sp-rel-a:hover b { transform: translateX(6px); }
.mc-ch .pc-dots button:hover { background-color: rgba(0, 0, 0, .05); }
}
/* the close: Get Machines beside the rack at rest */
.mc-close { padding: 116px 0; border-top: 1px solid var(--line); }
.mc-close-in { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.mc-close-copy { grid-column: 1 / span 5; }
.mc-close-tag { margin-top: 14px; }
.mc-close-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--mc-w); font: 500 13px/1 var(--mono); color: var(--mc-ink); text-decoration: none; transition: border-color .15s var(--mc-out); }
.mc-chip > span { color: var(--mc-g5); }
a.mc-chip:active { transform: translateY(1px); }
a.mc-chip:focus-visible { outline: 2px solid var(--mc-ink); outline-offset: 3px; }
@media (hover: hover) { a.mc-chip:hover { border-color: var(--mc-ink); } }
.mc-close-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.mc-close-acts .x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
.mc-close-acts .x-btn:active, .mc-close-acts .x-arrow:active { transform: scale(.97); transition: transform 90ms var(--mc-out); }
.mc-close-art { grid-column: 7 / -1; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: var(--mc-k); }
.mc-close-body { margin-top: 18px; }
.mc-close-body b { color: var(--mc-w5); }
.mc-rack.rest .mc-card { transform: none; }
@media (max-width: 900px) {
.mc-hero { padding: 96px 0 72px; }
.mc-lift { width: min(100% - 32px, 1280px); margin-top: 28px; }
.mc-rent { grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* the hero rack stands its four cards side by side, so the quote reaches the first phone screen */
.mc-rent > .mc-rack { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; perspective: none; }
.mc-rent > .mc-rack .mc-card { height: 56px; padding: 0 12px; gap: 8px; justify-content: space-between; border-radius: 12px; transform: none; }
.mc-rent > .mc-rack .mc-fins { display: none; }
.mc-card { height: 34px; padding: 0 14px; gap: 14px; border-radius: 10px; }
.mc-card-n { font-size: 14px; }
.mc-led { width: 8px; height: 8px; }
.mc-rack { gap: 6px; }
.mc-ch .pc-in { align-items: stretch; }
.mc-req { padding: 18px; border-radius: 22px; }
.mc-sizes { margin-top: 12px; }
.mc-body { margin-top: 12px; }
.mc-quote { margin-top: 14px; }
/* the three values share one baseline even where a label wraps */
.mc-quote dl { gap: 8px; }
.mc-quote dl > div { display: flex; flex-direction: column; justify-content: space-between; }
.mc-quote dd { font-size: 21px; }
.mc-hour { font-size: 64px; }
.mc-specs { padding: 72px 0 56px; }
.mc-specs-in, .mc-close-in { display: block; }
.mc-specs-h { position: static; }
.mc-specs-list { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.mc-specs-list .mc-group:first-child, .mc-specs-list .mc-group:last-child { grid-column: 1 / -1; }
/* the zoom on a phone: six racks in three columns (the lit card's rack sits in the middle of the second row) */
.mc-fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; padding-inline: 16px; }
.mc-zrack:nth-child(n+7) { display: none; }
.mc-zrack { padding: 8px; gap: 5px; border-radius: 12px; }
.mc-zrack .mc-card { padding: 0 8px; gap: 6px; }
.mc-zsheet-in { padding-top: 84px; padding-bottom: 32px; }
.mc-zbody { display: block; }
.mc-zfig { margin-top: 28px; }
.mc-zsheet .mc-moment dd { font-size: 52px; }
.mc-zsheet .mc-rows { margin-top: 16px; }
.mc-moment dd { font-size: 52px; }
.mc-rows dd { font-size: 17px; }
/* phone: one console, pinned under the header above the six steps (it is never printed per step) */
.mc-ch .pc-in { display: flex; flex-direction: column; }
.mc-ch .pc-copy { display: contents; }
.mc-ch .mc-ch-h { order: 0; padding-top: 72px; }
.mc-ch .pc-vis { order: 1; display: block; position: sticky; top: 68px; z-index: 1; height: 288px; margin-top: 24px; padding-bottom: 8px; background: var(--mc-w4); }
.mc-ch .pc-arts { order: 2; padding-bottom: 72px; }
.mc-ch .pc-vis-m { display: none; }
.mc-con { border-radius: 20px; }
.mc-con-bar { padding: 14px 16px; }
.mc-con-body { padding: 14px 16px; }
.mc-con-ask { padding: 12px 14px; font-size: 14px; border-radius: 12px; }
.mc-con-back { margin-top: 6px; }
.mc-con-back li { padding: 9px 2px; font-size: 14px; }
.mc-con-back li b, .mc-con-back.solo li { font-size: 17px; }
.mc-con-back.solo li { padding: 14px 2px; }
.mc-con-fig { margin-top: 14px; }
.mc-con-rack .mc-card { height: 30px; }
.mc-uses { padding: 116px 0 72px; }
.mc-steps { padding: 72px 0; }
.mc-steps-in { display: block; }
.mc-steps-h { position: static; margin-bottom: 32px; }
.mc-step .mc-own-n { padding-top: 4px; }
.mc-tile { flex-basis: 86%; display: flex; flex-direction: column; align-items: stretch; padding: 24px; }
.mc-tile-art { height: 120px; margin-bottom: 20px; }
.mc-tile-d { font-size: 16px; }
.mc-own { padding: 56px 0 72px; }
.mc-own-in { display: flex; flex-direction: column-reverse; gap: 24px; }
.mc-own-i { grid-template-columns: 40px minmax(0, 1fr); row-gap: 10px; padding: 20px 12px; }
.mc-map { width: 100%; box-sizing: border-box; padding: 20px; }
.mc-map-links { height: 24px; }
/* the first column is wider so "DigitalOcean" fits whole; machines follow the same columns */
.mc-map-accts, .mc-map-links, .mc-map-ms { grid-template-columns: 1.5fr 1fr 1fr; }
.mc-map-accts span { padding: 10px 6px; }
.mc-ship .sp-rel-a { margin-left: 0; }
.mc-ship.v2-sec { padding: 72px 0; }
.mc-close { padding: 72px 0; }
.mc-close-art { margin-top: 40px; padding: 20px; }
/* phones: no text under 14px except 11-12px mono capitals */
.mc-verb, .mc-dry, .mc-quote dt, .mc-own-n, .mc-con-bar, .mc-chip { font-size: 14px; }
}
/* 320: the size tabs and the account names keep inside their boxes */
@media (max-width: 360px) {
.mc-sizes button { padding: 0 13px; }
.mc-map-accts span { padding: 10px 4px; letter-spacing: .02em; }
}
/* the live object's pause control */
.mc-req-bar .mc-pause { margin-left: 8px; }
@media (prefers-reduced-motion: reduce) {
.mc-tile { transform: none !important; }
}
/* Dark (Hanzo's :not(.light), docs/DARK-MODE.md): every value is a token from @hanzo/design, by role. The shared .v2
scope pins its light ink and greys in both modes (components/v2/v2scale.css), so the page points them at Hanzo's
tokens here. Light surfaces become the page and Hanzo's muted and secondary surfaces; ink fills turn light with dark
type (Hanzo's primary). The black rooms (hero, the card's sheet, the close's rack) keep their values. */
html:not(.light) .mc {
--ink: var(--foreground); --soft: var(--muted-foreground); --faint: var(--text-tertiary); --line: var(--border); --card: var(--muted);
--mc-ink: var(--foreground); --mc-g5: var(--muted-foreground); --mc-g6: var(--text-tertiary); --mc-s2: var(--secondary); --mc-brand: var(--secondary);
--mc-w: var(--background); --mc-w1: var(--secondary); --mc-w2: var(--muted); --mc-w3: var(--muted); --mc-w4: var(--surface-card-quiet);
--acc: var(--mc-ink); background: var(--background);
}
html:not(.light) .mc .mc-hero, html:not(.light) .mc .mc-zsheet, html:not(.light) .mc .mc-close-art { --mc-w: #fff; }
html:not(.light) .mc .mc-con-ask, html:not(.light) .mc .mc-art.a3 b:first-child, html:not(.light) .mc .mc-map[data-at='1'] .mc-map-accts span { color: var(--primary-foreground); }
@media (hover: hover) { html:not(.light) .mc .mc-ch .pc-dots button:hover { background-color: var(--border); } }
html:not(.light) .mc .mc-art.a1 i { background: var(--muted-foreground); }
/* live's hero halftone (components/pages/HeroDither, dark only) fills the hero under its content */
html:not(.light) .mc .mc-hero { position: relative; }
/* dark: the selected size carries the same fill as its gliding pill, so its label sits on its own ground */
html:not(.light) .mc .mc-sizes button[aria-selected='true'] { background: var(--mc-w5); }