.home-preview{width:100%;margin:0 0 24px;min-width:0}
.home-preview-stage{min-height:214px;display:grid;align-items:center;padding:16px;border:1px solid var(--fp-line);border-radius:16px;background:var(--fp-surface);overflow:hidden;pointer-events:none}
.home-preview-stage.home-preview-panel{display:flex;flex-direction:column;align-items:stretch;padding:0}
.home-preview-header{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:10px 16px;border-bottom:1px solid var(--fp-line);font-size:12px;font-weight:600;line-height:14px}
.home-preview-mark{width:10px;height:14px;flex-shrink:0}
.home-preview-mark img{width:10px;height:14px;object-fit:contain}
.home-preview-body{display:grid;align-items:center;flex:1;min-width:0;padding:16px}
.home-preview-stage .iv-provider{min-width:0;width:100%}
.home-preview-stage svg.iv-scene{display:block;width:100%;height:auto;margin-inline:auto}
.home-preview figcaption{margin-top:12px;font-size:11px;line-height:1.5;color:var(--fp-muted)}
.preview-motion-control{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;background:none;border:0;color:var(--fp-muted);font:500 12px/1.4 var(--fp-font-body);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.preview-motion-control:hover{color:var(--fp-text)}
.preview-motion-control:disabled{cursor:default;text-decoration:none}
.home-preview-toolbar{display:flex;justify-content:flex-end;margin:-36px 0 24px}
.home-preview-compact{margin:32px 0 0}
.home-preview-compact .home-preview-stage{padding:0;min-height:0;border:0;border-radius:0;background:transparent;overflow:visible}
.home-preview-compact svg.iv-scene{margin-inline:0}
.system-story{width:100%;min-width:0}
.system-story-position{display:flex;align-items:center;justify-content:space-between;margin:8px 0 16px;font-size:11px;color:var(--fp-muted)}
.system-story-position>span:last-child{display:flex;gap:5px}
.system-story-position i{width:16px;height:2px;background:var(--fp-line)}
.system-story-position i[data-active=true]{background:var(--fp-action)}
.system-story-canvas .system-story-surface{transition-duration:800ms;transition-timing-function:cubic-bezier(.22,1,.36,1)}
.system-story-dark{display:none}
[data-theme=dark] .system-story-light{display:none}
[data-theme=dark] .system-story-dark{display:block}
.system-proof .proof-actions{margin-top:24px}
.system-proof .proof-bottom{margin-top:28px}
.home-system-motion{margin-top:8px}
@media(max-width:1100px) and (min-width:801px){.home-preview-stage{padding:8px;min-height:160px}.home-preview-body{padding:8px}}
@media(max-width:800px){.service-column .home-preview{grid-column:2;margin-top:4px;max-width:440px}.home-preview-toolbar{justify-content:flex-start;margin:-20px 0 24px}.home-preview-stage{min-height:190px}.service-column>.text-link{grid-column:2}}
@media(max-width:600px){.proof-light-path{transform:none;inset:0 8px}}
@media(max-width:420px){.proof-light-path{inset:0 8px}.service-column .home-preview{grid-column:1/-1;margin-top:12px}.home-preview-compact{margin-top:24px}}

/* Live specimens of the shared Basis tokens, kept quieter than the product demo. */
.system-feature-copy{align-self:start;padding-top:28px;min-width:0}
.foundation-specimen{margin:0 0 48px;max-width:500px}
.foundation-specimen>figcaption{margin:0 0 24px;font-size:.625rem;color:var(--fp-muted)}
.foundation-samples{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:20px}
.foundation-sample{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:80px auto;gap:12px}
.foundation-sample+.foundation-sample{border-left:1px solid var(--fp-line);padding-left:20px}
.foundation-label{font-size:.75rem;line-height:1.5;color:var(--fp-muted)}
.foundation-colours{display:flex;align-items:center;gap:6px}
.foundation-colours>span{display:block;width:26px;max-width:calc((100% - 24px)/5);aspect-ratio:1;border-radius:6px;box-shadow:inset 0 0 0 1px var(--fp-line)}
.foundation-type{display:flex;align-items:center;font-family:var(--fp-font-display);font-size:64px;line-height:1;letter-spacing:var(--fp-tracking-heading);font-weight:400}
.foundation-spacing{display:flex;flex-direction:column;justify-content:center;gap:7px}
.foundation-spacing>span{display:block;height:6px;max-width:100%;background:var(--fp-muted);border-radius:2px}
@media(max-width:1100px) and (min-width:801px){.foundation-samples{gap:12px}.foundation-sample+.foundation-sample{padding-left:12px}.foundation-colours{gap:4px}.foundation-colours>span{max-width:calc((100% - 16px)/5)}.foundation-type{font-size:56px}}
@media(max-width:800px){.system-feature-copy{padding-top:0}.foundation-specimen{margin-bottom:40px}}
@media(max-width:420px){.foundation-samples{gap:12px}.foundation-sample{grid-template-rows:64px auto}.foundation-sample+.foundation-sample{padding-left:12px}.foundation-colours{gap:4px}.foundation-colours>span{max-width:calc((100% - 16px)/5);border-radius:4px}.foundation-type{font-size:48px}}

.system-story-edge{overflow:visible;pointer-events:none}
.system-story-edge-target{position:relative;isolation:isolate;width:100%;height:100%;border-radius:12px;pointer-events:none}

.edge-shimmer{position:relative;isolation:isolate;min-width:0}
