Files

683 lines
56 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ---------- /extension: a fanned stack of three browsers, the side panel leads (deck scale, greys only) ---------- */
/* dark (Hanzo's selector and tokens): the shared Apps type (AppType.css) still paints light, so on this page it follows Hanzo's dark;
the drawn browsers wear their own dark theme; the black room (.xe-how) is black in both */
html:not(.light) .xe { background: var(--bg); color: var(--ink); }
html:not(.light) .xe .av-body, html:not(.light) .xe .av-lede { color: var(--soft); }
html:not(.light) .xe .av-dark .av-body, html:not(.light) .xe .av-dark .av-lede { color: var(--text-secondary); }
html:not(.light) .xe .av-obj { box-shadow: 0 0 0 1px var(--border); }
.xe { --xe-in: cubic-bezier(.16, 1, .3, 1); --xe-move: cubic-bezier(.4, 0, .2, 1); --xe-out: cubic-bezier(0, 0, .2, 1); }
/* hero: 5/7, the stack on the right */
.xe-hero { padding: 28px 0 clamp(72px, 9vw, 116px); }
.xe-hero-g { align-items: center; }
.xe-hero-l { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 17px; position: relative; z-index: 2; }
.xe-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; }
.xe-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.xe .x-arrow { min-height: 44px; }
.xe-hero-r { grid-column: 6 / -1; min-width: 0; }
.xe-stage { display: flex; flex-direction: column; }
.xe-tilt { transform-style: flat; will-change: transform; }
/* Firefox draws its own way: floating tabs, a lighter strip, a shield before the address */
.s-firefox .xe-strip { background: light-dark(#fafafa, var(--background)); padding-top: 4px; }
.s-firefox .xe-tab { border-radius: 8px; background: var(--x-raised); }
.s-firefox .xe-tab:not(.dim) { box-shadow: 0 0 0 1px light-dark(rgba(0, 0, 0, .14), var(--border-control)), 0 1px 0 light-dark(rgba(0, 0, 0, .06), var(--border)); }
.s-firefox .xe-tool { background: light-dark(#f2f2f2, var(--muted)); border-bottom: 0; }
.xe-shield { flex: none; position: relative; width: 14px; height: 16px; border-radius: 3px 3px 8px 8px; box-shadow: inset 0 0 0 1.5px light-dark(#525252, var(--muted-foreground)); }
.xe-stack { position: relative; aspect-ratio: 16 / 11.6; }
.xe-win { position: absolute; left: 3%; top: 9%; width: 89%; height: 85%; border-radius: 16px; background: var(--x-raised); overflow: hidden; transform-origin: 50% 130%; box-shadow: 0 0 0 1px var(--x-e12); }
.xe-win:not(.front) .xe-view::after { content: ''; position: absolute; inset: 0; background: light-dark(rgba(245, 245, 245, .5), var(--surface-header)); }
/* neutral browser chrome, three ways */
.xe-bar { position: relative; z-index: 2; }
.xe-dots { display: flex; gap: 7px; }
.xe-dots i { width: 11px; height: 11px; border-radius: 50%; background: light-dark(#d4d4d4, var(--secondary)); }
.xe-nav { display: flex; gap: 6px; }
.xe-nav i { width: 22px; height: 22px; border-radius: 50%; position: relative; }
.xe-nav i::after { content: ''; position: absolute; left: 8px; top: 8px; width: 6px; height: 6px; border-left: 1.5px solid light-dark(#737373, var(--text-tertiary)); border-bottom: 1.5px solid light-dark(#737373, var(--text-tertiary)); transform: rotate(45deg); }
.xe-nav i:nth-child(2)::after { transform: rotate(-135deg); left: 6px; }
.xe-nav i:nth-child(3)::after { left: 6px; top: 6px; width: 9px; height: 9px; border: 1.5px solid light-dark(#737373, var(--text-tertiary)); border-right-color: transparent; border-radius: 50%; transform: none; }
.xe-url { flex: 1; min-width: 0; display: flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: light-dark(#f2f2f2, var(--secondary)); font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); white-space: nowrap; overflow: hidden; }
.xe-puz { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #a3a3a3; }
.xe-ext { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -6px; border: 0; background: none; cursor: pointer; transition: transform .09s var(--xe-out); }
.xe-ext span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--ink); transition: background .15s var(--xe-out), color .15s var(--xe-out); }
.xe-ext.on span { background: var(--ink); color: var(--x-on-ink); }
.xe-ext:active { transform: scale(.97); }
.xe-ext:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.xe-strip { display: flex; align-items: flex-end; gap: 6px; height: 38px; padding: 0 12px; }
.xe-strip .xe-dots { align-self: center; margin-right: 10px; }
.xe-tab { display: flex; align-items: center; gap: 8px; width: 34%; height: 30px; padding: 0 12px; border-radius: 10px 10px 0 0; background: var(--x-raised); color: var(--ink); font-size: 13px; white-space: nowrap; overflow: hidden; }
.xe-tab span { overflow: hidden; text-overflow: ellipsis; }
.xe-tab.dim { width: 24%; background: transparent; color: light-dark(#525252, var(--muted-foreground)); }
.xe-tool { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; background: var(--x-raised); border-bottom: 1px solid var(--line); }
.s-chrome .xe-strip { background: light-dark(#e5e5e5, var(--background)); }
.s-firefox { background: light-dark(#f2f2f2, var(--background)); }
.s-firefox .xe-strip { align-items: center; }
.s-firefox .xe-tab { height: 28px; border-radius: 6px; box-shadow: 0 0 0 1px var(--x-e12); }
.s-firefox .xe-tab.dim { box-shadow: none; }
.s-firefox .xe-tool { background: light-dark(#fafafa, var(--muted)); }
.s-firefox .xe-url { border-radius: 6px; background: light-dark(#fff, var(--secondary)); box-shadow: inset 0 0 0 1px var(--x-e10); }
.s-safari { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; background: light-dark(#f7f7f7, var(--muted)); border-bottom: 1px solid var(--line); }
.s-safari .xe-dots { margin-right: 4px; }
.xe-side { width: 18px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #a3a3a3; }
.s-safari .xe-url { justify-content: center; max-width: 46%; margin: 0 auto; border-radius: 8px; background: light-dark(#ededed, var(--secondary)); }
/* the page inside: Hanzo's own page, picture and words */
.xe-view { position: absolute; left: 0; right: 0; bottom: 0; top: 82px; overflow: hidden; }
.w-safari .xe-view { top: 52px; }
.xe-page { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px 18px; }
.xe-page-nav { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.xe-page-nav b { font-weight: 600; }
.xe-page img { width: 46%; flex: 1; min-height: 0; object-fit: cover; border-radius: 12px; background: #000; }
.xe-page-t { display: flex; flex-direction: column; gap: 4px; width: 46%; }
.xe-page-t b { font-size: 15px; font-weight: 600; color: var(--ink); }
.xe-page-t span { font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-probe { position: absolute; left: 12px; top: 40px; width: calc(46% + 12px); height: calc(100% - 112px); border-radius: 16px; box-shadow: 0 0 0 2px var(--ink); opacity: 0; pointer-events: none; }
.xe-win.front .xe-probe { animation: xe-probe 3.6s var(--xe-move) infinite; }
@keyframes xe-probe { 0%, 10% { opacity: 0; } 30%, 62% { opacity: .9; } 84%, 100% { opacity: 0; } }
/* the side panel, over the front window's page (the extension's own panel) */
.xe-pclip { position: absolute; z-index: 5; right: 8%; top: calc(9% + 82px); bottom: 6%; width: 42%; overflow: hidden; border-radius: 0 0 16px 0; pointer-events: none; }
.xe-stack.f-safari .xe-pclip { top: calc(9% + 52px); }
.xe-panel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 10px; background: var(--x-raised); box-shadow: -1px 0 0 var(--x-e10); pointer-events: auto; }
.xe-p-top { display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--sans); color: var(--ink); }
.xe-p-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--ink); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 8px var(--x-raised); }
.xe-p-n { margin-left: auto; font-size: 13px; font-weight: 500; color: light-dark(#525252, var(--muted-foreground)); }
.xe-avail { margin: 0; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-cards { position: relative; flex: 1; min-height: 0; }
.xe-card { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.js .xe-card { position: absolute; inset: 0; transition: opacity .15s var(--xe-out), transform .15s var(--xe-out); }
.js .xe-card:not(.on) { opacity: 0; transform: translateY(12px); }
.js .xe-card.past { transform: translateY(-12px); }
.js .xe-card.on { transition: opacity .3s var(--xe-out) .15s, transform .4s var(--xe-in) .15s; }
html:not(.js) .xe-cards { overflow-y: auto; }
html:not(.js) .xe-card { margin-bottom: 17px; }
.xe-card-t { margin: 6px 0 0; font-size: 17px; font-weight: 497; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.xe-card p { margin: 0; font-size: 14px; line-height: 1.5; color: light-dark(#525252, var(--muted-foreground)); }
.js .xe-card:not(.on) { pointer-events: none; }
.xe-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.xe-steps button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: light-dark(#737373, var(--text-tertiary)); font-size: 13px; transition: transform .09s var(--xe-out); }
.xe-steps button[aria-selected='true'] { color: var(--ink); }
.xe-steps button:active { transform: translateY(1px); }
.xe-steps button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.xe-steps i { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--x-e10); overflow: hidden; }
.xe-steps button[aria-selected='true'] i { background: #a3a3a3; }
.xe-steps b { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; animation: xe-fill 3.6s linear both; }
@keyframes xe-fill { from { transform: scaleX(0); } }
/* the controls under the stack: pause, then the three browsers */
.xe-deal { order: 2; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.xe-pause { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: light-dark(#f5f5f5, var(--muted)); color: var(--ink); cursor: pointer; transition: transform .09s var(--xe-out); }
.xe-pause:active { transform: scale(.97); }
.xe-pause:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xe-deal-tabs { display: flex; padding: 4px; border-radius: 999px; background: light-dark(#f5f5f5, var(--muted)); }
.xe-deal-tabs button { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: 500 15px/1 var(--sans); color: light-dark(#525252, var(--muted-foreground)); cursor: pointer; transition: color .15s var(--xe-out), transform .09s var(--xe-out); }
.xe-deal-tabs button[aria-selected='true'] { color: var(--ink); }
.xe-deal-tabs button:active { transform: scale(.97); }
.xe-deal-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.xe-deal-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e10); }
.xe-deal-n { position: relative; }
.xe-mine { position: relative; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--ink); }
/* how it works: the black room, entering as a rounded card and opening to full width */
.xe-how { clip-path: inset(0 0 0 0); }
@supports (animation-timeline: view()) {
.js .xe-how { animation: xe-room linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
}
@keyframes xe-room { from { clip-path: inset(0 clamp(16px, 4vw, 32px) 0 clamp(16px, 4vw, 32px) round 24px); } to { clip-path: inset(0 0 0 0 round 0); } }
.xe-how-top { align-items: end; }
.xe-how-h { grid-column: 1 / span 6; color: #fafafa; }
.xe .xe-how-h, .xe .av-sc-t .av-head { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.xe-how-l { grid-column: 7 / -1; padding-bottom: 4px; }
.xe-path { position: relative; list-style: none; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; }
.xe-path li { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 32px; }
.xe-path li::before { content: ''; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #404040; }
.xe-path li::after { content: ''; position: absolute; left: -7px; top: -12px; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1.5px #fafafa; opacity: 0; animation: xe-lit 4.2s var(--xe-out) infinite; animation-delay: calc((5 - var(--i)) * .52s + .45s); }
@keyframes xe-lit { 0% { opacity: .9; transform: scale(.5); } 30%, 100% { opacity: 0; transform: scale(1.3); } }
.xe-path li .x-mono { font-size: 13px; color: rgba(255, 255, 255, .55); }
.xe-path li b { font-size: 21px; font-weight: 497; line-height: 1.2; letter-spacing: -.015em; color: rgba(255, 255, 255, .78); text-wrap: balance; }
.xe-path li.end b { color: #fafafa; }
.xe-path li.end .x-mono { color: #fafafa; }
.xe-path li.end::before { background: #fafafa; }
.xe-track { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.xe-run { position: absolute; inset: 0; animation: xe-run 4.2s var(--xe-move) infinite; }
.xe-run i { position: absolute; left: 0; top: 0; width: 140px; height: 2px; background: linear-gradient(90deg, #fafafa, rgba(255, 255, 255, 0)); }
@keyframes xe-run { 0% { transform: translateX(100%); opacity: 0; } 6%, 78% { opacity: 1; } 86%, 100% { transform: translateX(0%); opacity: 0; } }
@keyframes xe-run-v { 0% { transform: translateY(100%); opacity: 0; } 6%, 78% { opacity: 1; } 86%, 100% { transform: translateY(0%); opacity: 0; } }
/* chapters: the pictures */
.xe-vis { position: relative; display: grid; place-items: center; border-radius: 24px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e10); overflow: hidden; }
.xe-tools { --r: clamp(130px, 12vw, 180px); }
.xe-hub { position: relative; z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--ink); color: var(--x-on-ink); }
.xe-sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.xe-spoke { position: absolute; left: 0; top: -1px; width: var(--r); height: 2px; background: var(--x-e10); transform: rotate(var(--a)); transform-origin: 0 50%; overflow: hidden; }
.xe-spoke::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.xe-tools.on .xe-spoke::after { animation: xe-grow .5s var(--xe-in) calc(.3s + var(--i) * .15s) forwards; }
@keyframes xe-grow { to { transform: scaleX(1); } }
.xe-sat b { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e12); font: 500 14px/1 var(--sans); color: var(--ink); white-space: nowrap;
transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.xe-sat.tab b { background: var(--ink); color: var(--x-on-ink); box-shadow: none; }
.xe-text { padding: clamp(24px, 3vw, 44px); background: #171717; box-shadow: none; }
.xe-text .xe-outs { max-width: 520px; }
.xe-text .xe-outs li { flex-direction: column; align-items: stretch; gap: 10px; min-height: 0; padding: 17px 0; border-radius: 0; background: none; border-top: 1px solid rgba(255, 255, 255, .1); }
.xe-outs-h { display: flex; align-items: center; gap: 10px; }
.xe-text .xe-outs-i { color: rgba(255, 255, 255, .55); }
.xe-text .xe-outs em { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.xe-outs-v { display: flex; flex-direction: column; gap: 6px; padding-left: 26px; font-size: 14px; line-height: 1.5; color: #fafafa; }
.xe-outs-v .xe-type + .xe-type { color: rgba(255, 255, 255, .78); }
.xe-type { display: block; width: max-content; max-width: 100%; white-space: nowrap; overflow: hidden; }
.js .xe-type { clip-path: inset(0 100% 0 0); }
.xe-text.on .xe-type { animation: xe-typed calc(var(--n) * 28ms) steps(var(--n)) var(--d) forwards; }
@keyframes xe-typed { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 899px) { .xe-type { white-space: normal; width: auto; } .xe-outs-v { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .js .xe-type { clip-path: none; } }
.xe-mini { display: flex; flex-direction: column; border-radius: 12px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--x-e10); overflow: hidden; }
.xe-mini-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: light-dark(#f5f5f5, var(--muted)); border-bottom: 1px solid var(--line); }
.xe-mini-bar i { width: 8px; height: 8px; border-radius: 50%; background: light-dark(#d4d4d4, var(--secondary)); }
.xe-mini-bar span { flex: 1; margin-left: 8px; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); white-space: nowrap; overflow: hidden; }
.xe-mini img { display: block; width: calc(100% - 24px); aspect-ratio: 4 / 3; height: auto; margin: 12px 12px 0; border-radius: 8px; object-fit: cover; background: #000; }
.xe-mini-t { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.xe-mini-t b { font-size: 14px; font-weight: 600; color: var(--ink); }
.xe-mini-t span { font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-arrow { position: relative; height: 2px; background: light-dark(rgba(0, 0, 0, .14), var(--border-control)); }
.xe-arrow::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid light-dark(rgba(0, 0, 0, .3), var(--border-selected)); border-right: 2px solid light-dark(rgba(0, 0, 0, .3), var(--border-selected)); transform: rotate(45deg); }
.xe-outs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.xe-outs li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 17px; border-radius: 12px; background: light-dark(#f5f5f5, var(--muted)); }
.js .xe-outs li { opacity: 0; transform: translateX(-12px); }
.xe-outs-i { display: grid; place-items: center; color: var(--ink); }
.xe-outs em { font-style: normal; font-size: 16px; font-weight: 500; color: var(--ink); }
.xe-text.on .xe-outs li { animation: xe-in .4s var(--xe-in) calc(.3s + var(--i) * .2s) forwards; }
@keyframes xe-in { to { opacity: 1; transform: none; } }
.xe-build { align-content: center; gap: 0; padding: 44px; }
.xe-src { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); font-size: 15px; }
.xe-fork { display: block; width: min(100%, 640px); height: 72px; }
.xe-fork path { fill: none; stroke: light-dark(rgba(0, 0, 0, .16), var(--border-control)); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.xe-zips { list-style: none; margin: 0; padding: 0; width: min(100%, 520px); border-top: 1px solid var(--x-e10); }
.xe-zips li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--x-e10); font-size: 14px; }
.xe-zips li > span.x-mono { flex: 1; min-width: 0; overflow-wrap: break-word; }
.xe-zips em, .xe-files em { font-style: normal; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.xe-zip-i { flex: none; position: relative; width: 18px; height: 22px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.xe-zip-i::after { content: ''; position: absolute; left: 8px; top: 3px; width: 2px; height: 9px; background: repeating-linear-gradient(var(--ink) 0 2px, transparent 2px 4px); }
.js .xe-zips li { opacity: 0; transform: translateY(-12px); }
.xe-build.on .xe-zips li { animation: xe-in .4s var(--xe-in) calc(.3s + var(--i) * .15s) forwards; }
/* builds: rows that reorder for your browser */
.xe-builds-l { grid-column: 1 / span 4; align-self: start; position: sticky; top: 112px; display: flex; flex-direction: column; gap: 17px; }
.xe-rows { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--x-e10); }
.xe-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; padding: 27px 0; border-bottom: 1px solid var(--x-e10); background: var(--x-raised); }
.xe-rows h3 { grid-column: 1; }
.xe-rows p { grid-column: 1; margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.55; color: light-dark(#525252, var(--muted-foreground)); }
.xe-rows .x-btn { grid-column: 2; grid-row: 1 / span 2; }
.xe-rows li.yours .x-btn { grid-row: 1 / span 3; }
.xe-yours { grid-column: 1; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
/* uses: a browser window of four tabs */
.xe-uses-l { display: flex; flex-direction: column; gap: 10px; }
.xe-uses-l .av-head { max-width: 22ch; }
.xe-uses-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#737373, var(--text-tertiary)); }
.xe-tabwin { margin-top: clamp(27px, 3vw, 44px); border-radius: 24px; background: var(--x-raised); overflow: hidden; box-shadow: 0 0 0 1px var(--x-e10); }
.xe-tabs { display: flex; gap: 4px; padding: 10px 10px 0; background: light-dark(#ededed, var(--secondary)); }
.xe-tabs button { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 0; border-radius: 12px 12px 0 0; background: none; color: light-dark(#525252, var(--muted-foreground)); font: 500 14px/1 var(--sans); text-align: left; cursor: pointer; transition: color .15s var(--xe-out); }
.xe-tabs button[aria-selected='true'] { color: var(--ink); }
.xe-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.xe-tab-bg { position: absolute; inset: 0; border-radius: 12px 12px 0 0; background: var(--x-raised); }
.xe-fav { position: relative; flex: none; font-size: 12px; color: light-dark(#737373, var(--text-tertiary)); transition: color .15s var(--xe-out); }
.xe-tabs button[aria-selected='true'] .xe-fav { color: var(--ink); }
.xe-tt { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xe-tabbody { display: grid; padding: clamp(27px, 3vw, 44px) clamp(24px, 4vw, 44px); min-height: 320px; }
.xe-use { grid-area: 1 / 1; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 420px); column-gap: 24px; row-gap: 17px; align-content: start; }
.xe-use[hidden] { display: grid; visibility: hidden; }
.js .xe-use.on { animation: xe-use .4s var(--xe-in) both; }
.xe-use-n { grid-row: 1 / span 2; padding-top: 6px; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-use .av-head { max-width: 20ch; }
.xe-use .av-lede { max-width: 44ch; }
@keyframes xe-use { from { opacity: 0; transform: translateY(16px); } }
/* before the end: the docs, the repo and the spec */
.xe-get-g { align-items: start; }
.xe-start { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.xe-card2 { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(24px, 3vw, 32px); border-radius: 24px; background: light-dark(#f2f2f2, var(--muted)); }
.xe-card2-i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 17px; border-radius: 12px; background: var(--ink); color: var(--x-on-ink); }
.xe-card2 > p { margin: 0; font-size: 16px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-meta { margin: 10px 0 0; display: grid; gap: 0; font-size: 13px; }
.xe-meta div { display: flex; align-items: center; gap: 8px; } .xe-meta dt { color: light-dark(#525252, var(--muted-foreground)); } .xe-meta dd { margin: 0; }
.xe-meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.xe-card2-a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 17px; }
.xe .av-spec a { color: var(--ink); text-underline-offset: 3px; }
/* the closing band */
.xe .xe-band { padding: clamp(72px, 11vw, 188px) 0; background: light-dark(#f5f5f5, var(--muted)); color: var(--ink); text-align: center; }
.xe-band-in { display: flex; flex-direction: column; align-items: center; gap: 17px; }
.xe .xe-band h2 { margin: 0; max-width: 16ch; color: var(--ink); }
.xe .xe-band .av-lede { margin: 0 auto; color: light-dark(#525252, var(--muted-foreground)); }
.xe-band-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 10px; }
.xe .xe-band .x-btn.solid { background: var(--ink); color: var(--x-on-ink); border-color: var(--ink); }
@media (hover: hover) {
.xe-deal-tabs button:hover, .xe-tabs button:hover { color: var(--ink); }
.xe-ext:hover span { background: light-dark(#ededed, var(--secondary)); }
.xe-ext.on:hover span { background: light-dark(#262626, var(--primary-hover)); }
.xe-pause:hover { background: light-dark(#ededed, var(--secondary)); }
.xe-steps button:hover { color: var(--ink); }
.xe-meta a:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion: reduce) {
.xe *, .xe *::before, .xe *::after { animation: none !important; transition: none !important; }
.xe-how { clip-path: none; }
.js .xe-outs li, .js .xe-zips li { opacity: 1; transform: none; }
.xe-spoke::after { transform: none; }
}
@media (max-width: 899px) {
.xe-hero { padding: 20px 0 72px; }
.xe-hero-l { gap: 12px; }
.xe-acts { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 6px; }
.xe-links { gap: 0 20px; }
.xe-stack { aspect-ratio: 3 / 4.3; }
.xe-win { left: 4%; width: 90%; top: 7%; height: 88%; }
.xe-strip { height: 32px; padding: 0 10px; }
.xe-strip .xe-dots, .xe-tab.dim { display: none; }
.xe-tab { width: 62%; height: 26px; font-size: 14px; }
.xe-tool { height: 44px; gap: 6px; padding: 0 8px; }
.xe-nav i:nth-child(n+2), .xe-puz { display: none; }
.xe-view { top: 76px; }
.s-safari { height: 48px; gap: 8px; padding: 0 8px; }
.s-safari .xe-dots, .xe-side { display: none; }
.s-safari .xe-url { max-width: none; }
.w-safari .xe-view { top: 48px; }
.xe-url { font-size: 14px; }
.xe-page { padding: 10px 12px; gap: 8px; }
.xe-page-nav { font-size: 14px; }
.xe-page img, .xe-page-t { width: 100%; }
.xe-page img { flex: none; height: 26%; }
.xe-page-t b { font-size: 14px; } .xe-page-t span { display: none; }
.xe-probe { left: 6px; top: 30px; width: calc(100% - 12px); height: calc(26% + 12px); }
.xe-pclip { left: 4%; right: 6%; width: auto; top: 40%; bottom: 5%; border-radius: 0 0 16px 16px; }
.xe-stack.f-safari .xe-pclip { top: 40%; }
.xe-page img { height: 20%; }
.xe-probe { height: calc(20% + 12px); }
.xe-panel { padding: 14px 14px 8px; gap: 8px; box-shadow: 0 -1px 0 var(--x-e10); }
.xe-p-n, .xe-avail, .xe-steps button { font-size: 14px; }
.xe-avail { display: none; }
.xe-card-t { font-size: 17px; margin-top: 4px; }
.xe-card p { font-size: 14px; line-height: 1.45; }
.xe-steps button { gap: 5px; }
}
/* phones up to 599: the path runs down a left rail (one stop per row, dots clear of the numbers), and the chapter
pictures keep their full height whatever the motion setting (the hub's chips sit around it, so it needs the room) */
@media (max-width: 599px) {
.xe-path { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 44px; padding-left: 28px; }
.xe-path li { padding: 0 0 17px; gap: 6px; }
.xe-path li::before { left: -32px; top: 4px; }
.xe-path li::after { left: -39px; top: -3px; }
.xe-path li > button { flex-direction: row; align-items: baseline; gap: 12px; padding: 0 0 6px; }
.xe-path li b { font-size: 17px; }
.xe-track { left: 0; top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
.xe-run { animation-name: xe-run-v; }
.xe-run i { width: 2px; height: 120px; background: linear-gradient(180deg, #fafafa, rgba(255, 255, 255, 0)); }
.xe-vis { min-height: 380px; }
.xe-tools { --r: 112px; min-height: 360px; }
.xe-sat b { height: 36px; padding: 0 12px; font-size: 14px; }
}
@media (max-width: 359px) {
.xe-stack { aspect-ratio: 3 / 5; }
.xe-pclip, .xe-stack.f-safari .xe-pclip { top: 36%; }
.xe-page img { height: 16%; }
.xe-deal { margin-top: 17px; }
.xe-deal-tabs button { padding: 0 14px; }
.xe-tools { --r: 100px; }
.xe-text { grid-template-columns: minmax(0, 1fr); padding: 20px; }
.xe-arrow { width: 2px; height: 27px; justify-self: center; }
.xe-arrow::after { right: -4px; top: auto; bottom: 0; transform: rotate(135deg); }
.xe-mini img { aspect-ratio: 16 / 9; }
.xe-mini-bar span, .xe-mini-t span { font-size: 14px; }
.xe-build { padding: 24px; }
.xe-zips { grid-template-columns: minmax(0, 1fr); }
.xe-zips li { font-size: 14px; }
.xe-fork { height: 40px; }
.xe-builds-l { position: static; }
.xe-rows li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
.xe-rows .x-btn, .xe-rows li.yours .x-btn, .xe-row-a, .xe-rows li.yours .xe-row-a { grid-column: 1; grid-row: auto; justify-self: start; }
.xe-tabs { overflow-x: auto; scrollbar-width: none; }
.xe-tabs::-webkit-scrollbar { display: none; }
.xe-tabs button { flex: none; max-width: 220px; }
.xe-tabbody { padding: 27px 20px; min-height: 0; }
.xe-use { grid-template-columns: minmax(0, 1fr); }
.xe-use-n { grid-row: auto; padding: 0; font-size: 14px; }
.xe-meta { font-size: 14px; }
}
/* round 3: everything below the fold has an object, and every one of them answers */
.js .xe-stack { animation: xe-arrive .5s var(--xe-in) .25s both; }
@keyframes xe-arrive { from { opacity: 0; transform: translateY(16px); } }
.xe-how { padding-bottom: clamp(72px, 7vw, 116px); }
.xe-path li { padding-top: 0; }
.xe-path li > button { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 32px 0 6px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .09s var(--xe-out); }
.xe-path li > button b { transition: color .15s var(--xe-out); }
.xe-path li > button:active { transform: scale(.98); }
.xe-path li > button:focus-visible { outline: 2px solid #fafafa; outline-offset: 4px; border-radius: 8px; }
/* the rail's three dot states, one rule for every stop: passed (filled grey), current (ink-white, larger), ahead (hollow) */
.xe-path li.past::before { background: rgba(255, 255, 255, .55); box-shadow: none; }
.xe-path li.ahead::before { background: #000; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.xe-path li.hot::before { background: #fafafa; box-shadow: none; transform: scale(1.4); }
.xe-path li.end:not(.hot) b, .xe-path li.end:not(.hot) .x-mono { color: rgba(255, 255, 255, .78); }
.xe-path li::before { transition: transform .3s var(--xe-in), background .15s var(--xe-out); }
.xe-path li.hot b, .xe-path li.hot .x-mono { color: #fafafa; }
.xe-hop-say { display: flex; gap: 17px; align-items: baseline; max-width: 68ch; min-height: 3.2em; margin: 27px 0 0; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.xe-hop-say .x-mono { flex: none; font-size: 13px; color: rgba(255, 255, 255, .55); }
.js .xe-hop-say span + span { animation: xe-say .3s var(--xe-in) both; }
@keyframes xe-say { from { opacity: 0; transform: translateY(6px); } }
.xe-sat b { cursor: pointer; transition: background .15s var(--xe-out), color .15s var(--xe-out), box-shadow .15s var(--xe-out); }
.xe-sat b:active { transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)) scale(.98); }
.xe-tools .xe-sat.hot b { background: var(--ink); color: var(--x-on-ink); box-shadow: none; }
.xe-tools .xe-sat.hot .xe-spoke { background: var(--ink); }
.xe-tools.has-hot .xe-sat:not(.hot) .xe-spoke::after { opacity: .3; }
.xe-spoke::after { transition: opacity .3s var(--xe-out); }
.xe-pulse { position: absolute; top: -2px; left: 0; width: 18px; height: 6px; border-radius: 3px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--ink); animation: xe-pulse .6s var(--xe-out) both; }
@keyframes xe-pulse { from { transform: translateX(0); } to { transform: translateX(calc(var(--r) - 18px)); } }
/* builds: the window you are pointing at, with its build size */
.xe-peek { position: relative; display: flex; flex-direction: column; gap: 6px; margin-top: 27px; padding: 27px; border-radius: 24px; background: light-dark(#f5f5f5, var(--muted)); overflow: hidden; }
.xe-peek-n { font-size: 17px; font-weight: 497; color: light-dark(#525252, var(--muted-foreground)); }
.xe-peek-f { font-size: 64px; font-weight: 220; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 6ch; }
.js .xe-peek-n, .js .xe-peek-f { animation: xe-roll .3s var(--xe-in) both; }
@keyframes xe-roll { from { opacity: 0; transform: translateY(40%); } }
.xe-peek-bars { display: grid; gap: 10px; margin-top: 17px; }
.xe-peek-bars span { display: grid; grid-template-columns: minmax(0, 1fr) 7ch; align-items: center; gap: 12px; }
.xe-peek-bars i { display: block; height: 4px; border-radius: 2px; background: light-dark(#d4d4d4, var(--secondary)); transform: scaleX(var(--xw)); transform-origin: 0 50%; transition: background .3s var(--xe-out); }
.xe-peek-bars span.on i { background: var(--ink); }
.xe-peek-bars em { font-style: normal; font-size: 12px; color: light-dark(#737373, var(--text-tertiary)); text-align: right; transition: color .3s var(--xe-out); }
.xe-peek-bars span.on em { color: var(--ink); }
.xe-row-a { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 12px; }
.xe-rows li.yours .xe-row-a { grid-row: 1 / span 3; }
.xe-row-sz { font-style: normal; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); opacity: 0; transform: translateX(-6px); transition: opacity .15s var(--xe-out), transform .3s var(--xe-in); }
.xe-rows li.hot .xe-row-sz { opacity: 1; transform: none; }
@media (hover: none) { .xe-row-sz { opacity: 1; transform: none; } }
.xe-rows li { padding-inline: 17px; margin-inline: -17px; border-radius: 0; cursor: default; transition: background .15s var(--xe-out); }
.xe-rows li.hot { background: light-dark(#f5f5f5, var(--muted)); }
/* uses: what the agent sees */
.xe-use .av-lede { grid-column: 2; }
/* each use has its own object on a flat quiet tile: no browser frame (that lives in the hero only), no placeholder bars */
.xe-ur { grid-column: 3; grid-row: 1 / span 3; align-self: start; position: relative; min-height: 236px; padding: 20px; border-radius: 16px; background: light-dark(#f5f5f5, var(--muted)); overflow: hidden; }
.xe-use.on .xe-type { animation: xe-typed calc(var(--n) * 28ms) steps(var(--n)) var(--d) forwards; }
@keyframes xe-in2 { from { opacity: 0; transform: translateY(8px); } }
/* 01 */
.xe-ur-check { display: flex; flex-direction: column; gap: 12px; }
.xe-ur-page { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; background: var(--x-raised); }
.xe-ur-page img { width: 38%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 8px; background: #000; }
.xe-ur-page > span { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.xe-ur-page b { font-size: 14px; font-weight: 600; color: var(--ink); }
.xe-ur-page > span > span { font-size: 13px; line-height: 1.4; color: light-dark(#525252, var(--muted-foreground)); }
.xe-ur-ring { position: absolute; inset: 4px; border-radius: 12px; box-shadow: 0 0 0 2px var(--ink); opacity: 0; }
.xe-use.on .xe-ur-ring { animation: xe-ring .5s var(--xe-in) .3s forwards; }
@keyframes xe-ring { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.xe-ur-log { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: light-dark(#171717, var(--background)); font-size: 13px; color: #fafafa; }
.xe-ur-log em, .xe-ur-trace em { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
/* 02 */
.xe-ur-locks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xe-ur-locks li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 17px; border-radius: 12px; background: var(--x-raised); }
.xe-ur-locks b { font-size: 16px; font-weight: 500; color: var(--ink); }
.xe-ur-lock { position: relative; flex: none; width: 16px; height: 13px; margin-top: 6px; border-radius: 3px; background: var(--ink); }
.xe-ur-lock::before { content: ''; position: absolute; left: 3px; top: -8px; width: 6px; height: 8px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; transform-origin: 100% 100%; }
.xe-use.on .xe-ur-locks li { animation: xe-in2 .4s var(--xe-in) both; animation-delay: calc(.2s + var(--i) * .5s); }
.xe-use.on .xe-ur-lock::before { animation: xe-unlock .3s var(--xe-in) forwards; animation-delay: inherit; }
.xe-use.on .xe-ur-locks li:nth-child(1) .xe-ur-lock::before { animation-delay: .7s; }
.xe-use.on .xe-ur-locks li:nth-child(2) .xe-ur-lock::before { animation-delay: 1.2s; }
.xe-use.on .xe-ur-locks li:nth-child(3) .xe-ur-lock::before { animation-delay: 1.7s; }
@keyframes xe-unlock { to { transform: translateY(-3px) rotate(-28deg); } }
/* 03 */
.xe-ur-trace { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.xe-ur-trace em { margin-bottom: 8px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-ur-trace li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: center; gap: 12px; min-height: 30px; padding: 0 8px; border-radius: 6px; color: var(--ink); }
.xe-ur-trace li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xe-ur-trace li i { display: block; height: 4px; border-radius: 2px; background: var(--ink); transform: scaleX(var(--xw)); transform-origin: 0 50%; }
.xe-use.on .xe-ur-trace li { animation: xe-in2 .3s var(--xe-in) both; animation-delay: calc(.3s + var(--i) * .18s); }
.xe-use.on .xe-ur-trace li i { animation: xe-bar .5s var(--xe-in) both; animation-delay: calc(.45s + var(--i) * .18s); }
.xe-use.on .xe-ur-trace li:nth-of-type(4) { animation: xe-in2 .3s var(--xe-in) both .84s, xe-hl .4s var(--xe-out) 1.8s forwards; }
@keyframes xe-bar { from { transform: scaleX(0); } }
@keyframes xe-hl { to { background: var(--x-raised); } }
/* 04 */
.xe-ur-form { display: flex; flex-direction: column; gap: 10px; }
.xe-ur-f { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--x-raised); font-size: 14px; color: var(--ink); }
.xe-ur-f.stuck { gap: 10px; box-shadow: inset 0 0 0 1.5px var(--ink); opacity: 0; }
.xe-ur-f.stuck em { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#525252, var(--muted-foreground)); }
.xe-ur-caret { width: 2px; height: 18px; background: var(--ink); animation: xe-blink 1s steps(1) 6; }
@keyframes xe-blink { 50% { opacity: 0; } }
.xe-use.on .xe-ur-f.stuck { animation: xe-show .4s var(--xe-in) 2s forwards; }
@keyframes xe-show { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.xe-ur-step { display: flex; gap: 6px; margin-bottom: 4px; }
.xe-ur-step i { display: grid; place-items: center; min-width: 36px; height: 24px; border-radius: 999px; background: light-dark(#e5e5e5, var(--secondary)); font-style: normal; font-size: 12px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-use.on .xe-ur-step i { animation: xe-on .2s var(--xe-out) forwards; animation-delay: calc(.4s + var(--i) * .8s); }
@keyframes xe-on { to { background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); } }
.xe .xe-uses { padding-top: clamp(27px, 3vw, 44px); padding-bottom: clamp(44px, 5vw, 72px); }
.xe .xe-builds { padding-bottom: clamp(44px, 5vw, 72px); }
.xe .xe-get { padding-top: clamp(27px, 3vw, 44px); }
.xe-get-g { align-items: center; }
.xe .xe-band { padding-bottom: clamp(72px, 8vw, 116px); }
@media (prefers-reduced-motion: reduce) { .xe-ur-ring, .xe-ur-f.stuck { opacity: 1; } .xe-ur-step i { background: var(--ink); color: light-dark(#fafafa, var(--primary-foreground)); } }
/* get started: the builds as files */
.xe-files { list-style: none; margin: 17px 0 0; padding: 0; width: 100%; max-width: 480px; border-top: 1px solid var(--x-e10); }
.xe-file { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 10px; border-bottom: 1px solid var(--x-e10); color: var(--ink); text-decoration: none; font-size: 14px; transition: background .15s var(--xe-out); }
.xe-file > span.x-mono { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.xe-file:active { transform: translateY(1px); }
.xe-file:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.xe .av-spec a { display: inline-flex; align-items: center; min-height: 44px; }
.xe-card2-a .x-btn, .xe-card2-a .av-sh-btn { transition: background .15s var(--xe-out), border-color .15s var(--xe-out), transform .09s var(--xe-out); }
.xe-card2-a .av-sh-btn:active { transform: scale(.98); }
@media (hover: hover) {
.xe-path li > button:hover b, .xe-path li > button:hover .x-mono { color: #fafafa; }
.xe-sat b:hover { box-shadow: 0 0 0 1px var(--ink); }
.xe-file:hover { background: light-dark(#f5f5f5, var(--muted)); }
.xe-card2-a .x-btn:hover, .xe-card2-a .av-sh-btn:hover { background: light-dark(#f5f5f5, var(--muted)); }
}
@media (prefers-reduced-motion: reduce) {
.js .xe-stack, .xe-peek .xe-win { animation: none; }
}
/* round 5: the line-masked headlines, CSS only, so the server HTML and the first client render are the same */
.xe-ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.xe-cut { display: block; }
.js .xe-cut:not(.now) { transform: translateY(108%); }
.js .xe-cut.go { transform: none; transition: transform .7s var(--xe-in) var(--d); }
.js .xe-cut.now { animation: xe-cut .7s var(--xe-in) var(--d) both; }
@keyframes xe-cut { from { transform: translateY(108%); } }
@media (prefers-reduced-motion: reduce) { .js .xe-cut, .js .xe-cut:not(.now) { transform: none; } }
/* your browser's row: a strong ink outline, not a second solid (the header holds the solid ask here) */
.xe .xe-rows .x-btn.xe-lead { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); transition: background .15s var(--xe-out), transform .09s var(--xe-out); }
.xe .xe-rows .x-btn.xe-lead:active { transform: scale(.98); }
/* get started: one card, the docs ask on the left and the repo on the right */
.xe .xe-card2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 27px 44px; align-items: end; width: 100%; padding: clamp(27px, 4vw, 44px); }
.xe-card2 .xe-start { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.xe-card2 .xe-card2-i { margin-bottom: 10px; }
.xe-card2-r { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-left: clamp(0px, 3vw, 44px); border-left: 1px solid var(--x-e10); }
.xe-card2-r > p { margin: 0; font-size: 16px; color: light-dark(#525252, var(--muted-foreground)); }
/* text links answer: the underline draws in from the left and the arrow moves (transform only, 150 ms) */
.xe .x-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .15s var(--xe-out); }
.xe .x-arrow svg { transition: transform .15s var(--xe-out); }
.xe .x-arrow:active { transform: translateY(1px); }
@media (hover: hover) {
.xe .x-arrow:hover span { text-decoration: none; background-size: 100% 1px; }
.xe .xe-rows .x-btn.xe-lead:hover { background: light-dark(#f5f5f5, var(--muted)); }
}
.xe .x-arrow:focus-visible span { background-size: 100% 1px; }
@media (max-width: 899px) {
.xe .xe-card2 { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 24px 20px; }
.xe-card2-r { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--x-e10); }
}
@media (max-width: 1199px) {
.xe-use { grid-template-columns: 72px minmax(0, 1fr); }
.xe-ur { grid-column: 2; grid-row: auto; max-width: 420px; width: 100%; }
}
@media (max-width: 899px) {
.xe-how + .av-sc .av-sc-grid { padding-top: 72px; }
.xe-how { padding-bottom: 72px; }
.xe-path li > button { padding: 0 0 6px; }
.xe-hop-say { margin-top: 10px; font-size: 14px; }
.xe-win:not(.front) .xe-page-t, .xe-win:not(.front) .xe-page-nav, .xe-win:not(.front) .xe-url, .xe-win:not(.front) .xe-tab span { visibility: hidden; }
.xe-tabs { flex-direction: column; gap: 0; padding: 6px; overflow: visible; }
.xe-tabs button { flex: none; max-width: none; height: auto; min-height: 48px; padding: 12px 14px; border-radius: 12px; align-items: baseline; }
.xe-tab-bg { border-radius: 12px; }
.xe-tt { white-space: normal; overflow: visible; line-height: 1.35; }
.xe-use { grid-template-columns: minmax(0, 1fr); }
.xe-use .av-lede, .xe-ur { grid-column: 1; }
.xe-ur { min-height: 0; padding: 14px; }
.xe-ur-trace li { grid-template-columns: minmax(0, 1fr) 30%; }
.xe-peek { max-width: 420px; padding: 20px; }
.xe-peek-f { font-size: 44px; }
.xe-rows li { padding-inline: 10px; margin-inline: -10px; }
.xe-start { gap: 6px; }
.xe-start .x-arrow { min-height: 44px; }
/* builds on a phone: one column, heading, words, then the ask */
.xe-rows li, .xe-rows li.yours { grid-template-columns: minmax(0, 1fr); }
.xe-rows .xe-row-a, .xe-rows li.yours .xe-row-a, .xe-rows li .x-btn, .xe-rows li.yours .x-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
.xe .xe-builds-l { position: static; }
}
/* round 6 (critic round 4) */
/* Hanzo's own "Browser extension" label, a caption under the lede (never above the h1) */
.xe-kick { margin: -6px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#737373, var(--text-tertiary)); }
/* the hero's text links: the underline draws in and the arrow nudges, 150 ms ease-out */
.xe-links .x-arrow span { position: relative; background: none; }
.xe-links .x-arrow span::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .15s var(--xe-out); }
.xe-links .x-arrow svg { transition: transform .15s var(--xe-out); }
@media (hover: hover) {
.xe-links .x-arrow:hover span { text-decoration: none; }
.xe-links .x-arrow:hover span::after { transform: scaleX(1); }
.xe-links .x-arrow:hover svg { transform: translateX(4px); }
}
.xe-links .x-arrow:focus-visible span::after { transform: scaleX(1); }
/* the switcher's dot rides with the browser you pick */
.xe-mine { flex: none; }
/* the chapter pictures: flat tiles on one room tone, no outline (no stray hairline at the wipe's edge) */
.xe-vis:not(.xe-text) { box-shadow: none; background: light-dark(#f5f5f5, var(--muted)); }
.xe .av-sc-t .av-head { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
/* "Read a page as text": its three rows are there before the wipe arrives; the values type in once it is shown */
.js .xe-text .xe-outs li { opacity: 1; transform: none; }
.js .xe-text .xe-type { clip-path: none; }
.xe-text.on .xe-type { animation: xe-typed2 calc(var(--n) * 24ms) steps(var(--n)) calc(var(--d) * .35) backwards; }
@keyframes xe-typed2 { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* file names never break mid-name: one line, an ellipsis on a narrow screen */
.xe-zips li > span.x-mono { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; }
.xe-zips em { flex: none; }
.xe-zips { min-width: 0; max-width: 100%; }
@media (max-width: 599px) { .xe-build { padding: 24px 20px; } .xe-fork { width: 100%; } }
/* browser rows: one ask style, every size shown; your browser's row is marked by a filled dot and bold weight */
.xe-row-sz { opacity: 1; transform: none; }
.xe-rows li.yours .av-title { font-weight: 606; }
.xe-rows li.yours .x-arrow { font-weight: 606; }
.xe-yours-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--ink); vertical-align: .12em; }
.xe-rows .x-arrow span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* get started: one quiet hairline strip */
.xe-proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 17px 44px; align-items: center; padding: 27px 0; border-top: 1px solid var(--x-e10); border-bottom: 1px solid var(--x-e10); }
.xe-proof-l { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.xe-proof-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.xe-proof-h { margin: 0; font-size: 17px; font-weight: 497; letter-spacing: -.01em; color: var(--ink); }
.xe-proof-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-proof-row li { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.xe-proof-row li + li::before { content: '·'; margin: 0 10px; color: #a3a3a3; }
.xe-proof-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness .15s var(--xe-out); }
@media (hover: hover) { .xe-proof-row a:hover { text-decoration-thickness: 2px; } }
@media (max-width: 899px) {
.xe-proof { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 0; }
.xe-proof-r { gap: 0 20px; }
.xe-proof-row { flex-direction: column; align-items: flex-start; }
.xe-proof-row li { min-height: 32px; }
.xe-proof-row li + li::before { display: none; }
/* the hero on a phone: the switcher first, then the window at true size, its film whole and framed, the panel under it */
.xe-deal { order: 0; margin: 0 0 17px; justify-content: flex-start; }
.xe-stack { aspect-ratio: auto; height: 640px; }
.xe-page img { flex: none; width: 100%; height: 160px; }
.xe-probe { left: 6px; top: 32px; width: calc(100% - 12px); height: 172px; }
.xe-pclip, .xe-stack.f-safari .xe-pclip { top: calc(7% + 292px); }
.xe-stack.f-safari .xe-pclip { top: calc(7% + 264px); }
}
@media (max-width: 359px) {
.xe-deal { gap: 6px; }
.xe-deal-tabs button { padding: 0 11px; font-size: 14px; }
.xe-stack { height: 680px; aspect-ratio: auto; }
.xe-page img { height: 160px; }
.xe-pclip, .xe-stack.f-safari .xe-pclip { top: calc(7% + 292px); }
.xe-stack.f-safari .xe-pclip { top: calc(7% + 264px); }
}
@media (prefers-reduced-motion: reduce) { .xe-text .xe-type { clip-path: none !important; } }
/* ---------- round 7 (critic round 5) ---------- */
/* the hero ring: its box comes from the picture (set in JS), the CSS only draws it */
.xe-probe { border-radius: 16px; }
/* the hero's 01–05 steps: each at least 44px wide */
.xe-panel { padding-inline: 16px; }
.xe-steps { grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 4px; }
/* how it works: a fill that ends at the lit stop's dot (its end measured into --fx / --fy), under the running light */
.xe-fill { position: absolute; inset: 0; background: rgba(255, 255, 255, .55); transform: translateX(calc(-100% + var(--fx, 0px))); transition: transform .4s var(--xe-in); }
@media (max-width: 599px) { .xe-fill { transform: translateY(calc(-100% + var(--fy, 0px))); } }
@media (prefers-reduced-motion: reduce) { .xe-run { display: none; } }
/* pointing at a stop answers on the stop too: its dot grows and its name underlines */
.xe-path li > button b { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color .15s var(--xe-out), text-decoration-color .15s var(--xe-out); }
@media (hover: hover) {
.xe-path li > button:hover b { text-decoration-color: currentColor; }
.xe-path li:has(> button:hover)::before { transform: scale(1.4); }
}
/* text links: a visible hover that is not opacity: the underline shows and thickens, the arrow moves 3px (150 ms) */
.xe .x-arrow span { background: none; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .15s var(--xe-out), text-decoration-thickness .15s var(--xe-out); }
.xe-links .x-arrow span::after { display: none; }
.xe .x-arrow svg { transition: transform .15s var(--xe-out); }
.xe .xe-rows .x-arrow span { text-decoration-color: currentColor; }
@media (hover: hover) {
.xe .x-arrow:hover span { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.xe .x-arrow:hover svg { transform: translateX(3px); }
}
.xe .x-arrow:focus-visible span { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
/* the closing band carries "Get started" as one quiet caption row under its ask */
.xe-band-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 27px; padding-top: 17px; border-top: 1px solid var(--x-e10); width: min(100%, 860px); font-size: 12px; color: light-dark(#525252, var(--muted-foreground)); }
.xe-bm { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 20px; margin: 0; }
.xe .xe-band .xe-bm, .xe .xe-band .xe-bm * { font-size: 12px; line-height: 1.4; color: light-dark(#525252, var(--muted-foreground)); }
.xe .xe-band .xe-bm .xe-bm-h, .xe .xe-band .xe-bm a, .xe .xe-band .xe-bm a * { color: var(--ink); }
.xe-bm-h { color: var(--ink); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.xe-bm .x-arrow { min-height: 44px; font-family: inherit; font-weight: 500; }
.xe-bm-a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness .15s var(--xe-out); }
@media (hover: hover) { .xe-bm-a:hover { text-decoration-thickness: 2px; } }
/* the file names wrap whole on a phone: the name breaks at its hyphens and dots, the size gets its own line */
@media (max-width: 599px) {
.xe-zips li { flex-wrap: wrap; align-items: flex-start; padding: 12px 0; row-gap: 2px; }
.xe-zips li > span.xe-zip-n { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.4; }
.xe-zips em { flex-basis: 100%; padding-left: 30px; }
.xe-bm { flex-direction: column; gap: 0; }
}
/* the phone hero: one flat window right under its browser switch. The windows behind fade out instead of fanning past the
screen's edges, and picking a browser swaps the front window flat in 300 ms (CSS outranks the fan's inline transforms) */
@media (max-width: 899px) {
.xe-deal { width: 100%; margin: 0 0 10px; gap: 8px; }
.xe-deal-tabs { flex: 1; min-width: 0; }
.xe-deal-tabs button { flex: 1; justify-content: center; padding: 0 10px; }
.xe-stack { height: 600px; }
.xe-win { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; opacity: 0 !important; transition: opacity .3s var(--xe-move); }
.xe-win.front { opacity: 1 !important; }
.xe-pclip, .xe-stack.f-safari .xe-pclip { left: 0; right: 0; bottom: 0; top: 292px; }
.xe-stack.f-safari .xe-pclip { top: 264px; }
}
@media (max-width: 359px) {
.xe-stack { height: 640px; }
.xe-pclip, .xe-stack.f-safari .xe-pclip { top: 292px; }
.xe-stack.f-safari .xe-pclip { top: 264px; }
.xe-deal-tabs button { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .xe-win { transition: none !important; } }
/* the lit tab answers the pointer too (its colour is already ink): its name draws an underline */
@media (hover: hover) and (pointer: fine) {
.xe-deal-tabs button[aria-selected='true']:hover, .xe-tabs button[aria-selected='true']:hover .xe-tt { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.xe .xe-band .x-btn.solid:hover { background: light-dark(#262626, var(--primary-hover)); border-color: light-dark(#262626, var(--primary-hover)); }
}
.xe-bm-a:active { transform: translateY(1px); }