@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #fafafa;
  --surface: #fff;
  --ink: #191a1d;
  --muted: #696d76;
  --line: #e3e5e9;
  --accent: #5864d8;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
button:disabled { cursor: default; opacity: .35; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2 { font-weight: 550; letter-spacing: -.045em; }
button, .button { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out); }
body[data-input="pointer"] button:not(.content-card):not(.design-image-open):active, body[data-input="pointer"] .button:active { transform: scale(.98); }
.page-width { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #fafafae8; backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.header-inner { height: 76px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; letter-spacing: -.65px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; color: #575b63; }
.site-header nav > a { padding-block: 12px; }
.button { display: inline-flex; gap: 25px; align-items: center; justify-content: center; padding: 12px 18px; background: #25262b; border: 1px solid #25262b; border-radius: 7px; color: #fff; font-size: 13px; font-weight: 550; min-height: 44px; }
.quiet-link { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 500; padding-block: 11px; }
.hero { text-align: center; padding: 48px 0 47px; }
.eyebrow { font-size: 11px; font-weight: 550; letter-spacing: .025em; line-height: 1.5; color: var(--muted); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.status-dot { width: 6px; height: 6px; background: #787e85; border-radius: 50%; }
h1 { font-size: clamp(48px, 5.1vw, 70px); line-height: 1.04; margin-top: 20px; letter-spacing: -.055em; }
.hero-description { max-width: 625px; margin: 20px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 23px; }
.designer-credit { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; margin-top: 28px; padding: 7px 2px; color: #55534e; text-align: left; white-space: nowrap; transform-origin: left center; transition: color 180ms ease, transform 120ms var(--ease-out); }
.designer-credit-label { color: #73716d; font-size: 10px; font-weight: 400; letter-spacing: .015em; }
.designer-credit-name { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-style: italic; font-weight: 400; line-height: 1.15; letter-spacing: -.045em; }
.designer-credit .designer-credit-arrow { align-self: center; width: 12px; height: 12px; margin-left: 2px; stroke-width: 1.25; color: #73716d; transition: transform 180ms var(--ease-out), color 180ms ease; }
.designer-credit:focus-visible { outline-offset: 5px; }
body[data-input="pointer"] .designer-credit:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .designer-credit:hover { color: #36352f; }
  .designer-credit:hover .designer-credit-arrow { color: #55534e; transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: reduce) {
  .designer-credit, .designer-credit .designer-credit-arrow { transform: none !important; }
}
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 26px; }
.section-heading h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; }
.section-heading > p { font-size: 12px; line-height: 1.6; color: var(--muted); flex-shrink: 0; }
.load-state { padding: 40px; color: var(--muted); font-size: 13px; background: #f1f2f4; border: 1px solid var(--line); border-radius: 10px; }
.load-state p + p, .load-state p + a { margin-top: 10px; }
.studio { outline: none; }
.studio-frame { background: var(--surface); overflow: hidden; }
.viewer-toolbar { display: flex; align-items: center; gap: 20px; min-height: 61px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mode-controls { display: inline-flex; align-items: stretch; padding: 3px; border-radius: 6px; background: #f0f1f3; flex-shrink: 0; gap: 2px; }
.mode-controls button { background: transparent; border: 0; border-radius: 4px; padding: 6px 13px; min-height: 31px; color: #676f7d; font-size: 11px; font-weight: 500; }
.mode-controls button[aria-pressed="true"] { background: #fff; color: #292d33; box-shadow: 0 1px 3px #1c223117; }
.toolbar-hint { font-size: 11px; color: #676f7d; white-space: nowrap; }
.viewer-tools { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.tool-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; font-weight: 500; border: 1px solid transparent; background: transparent; border-radius: 5px; padding: 7px 8px; min-height: 34px; color: #626873; }
.tool-button svg { width: 16px; height: 16px; }
.tool-button[aria-expanded="true"] { border-color: #dcdfe7; background: #f1f3f7; color: #323846; }
.object-count { color: #676f7d; font-size: 10px; font-variant-numeric: tabular-nums; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 5px; width: 34px; height: 34px; flex: 0 0 auto; color: #676f7d; cursor: pointer; padding: 6px; }
.studio-workspace { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
.studio-workspace[data-inspector="open"] { grid-template-columns: 108px minmax(0, 1fr) 260px; }
.slide-strip { display: flex; flex-direction: column; gap: 14px; padding: 19px 13px 17px; background: #f9fafb; border-right: 1px solid var(--line); overflow-y: auto; max-height: none; }
.slide-thumb { background: none; border: 0; text-align: left; padding: 0; width: 100%; flex-shrink: 0; border-radius: 3px; }
.slide-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: white; border: 0; border-radius: 2px; opacity: .78; }
.slide-thumb[aria-current="true"] img { opacity: 1; }
.slide-thumb span { display: block; text-align: center; color: #676f7d; font-size: 9px; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.slide-thumb[aria-current="true"] span { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.canvas-column { min-width: 0; display: flex; flex-direction: column; background: #f0f2f5; }
.canvas-wrap { display: flex; align-items: center; justify-content: center; padding: 30px; flex: 1; }
.slide-surface { width: 100%; aspect-ratio: 16/9; position: relative; background: white; box-shadow: 0 1px 3px #20283910, 0 8px 25px #20283910; }
.slide-surface > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.image-error { position: absolute; inset: 0; display: grid; place-content: center; padding: 30px; text-align: center; font-size: 13px; color: var(--muted); background: #fafafa; z-index: 15; }
.slide-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 21px; border-top: 1px solid #e4e7eb; min-height: 65px; }
.slide-caption > div:first-child { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.slide-counter { font-size: 10px; font-variant-numeric: tabular-nums; color: #676f7d; flex: 0 0 auto; letter-spacing: .04em; }
.slide-caption h3 { font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: #676f7d; text-wrap: initial; }
.slide-arrows { display: flex; gap: 3px; }
.inspector-panel { min-width: 0; width: 260px; background: #fff; border-left: 1px solid var(--line); max-height: 750px; overflow-y: auto; padding: 20px; }
.comparison { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.comparison-render { clip-path: inset(0 50% 0 0); }
.comparison-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 0 1px #262e4240; pointer-events: none; z-index: 2; }
.comparison-divider > span { position: absolute; top: 50%; left: 1px; transform: translate(-50%, -50%); display: grid; place-content: center; width: 30px; height: 36px; border-radius: 7px; background: #fff; box-shadow: 0 1px 9px #18203933; color: #616976; }
.comparison-divider svg { width: 18px; height: 18px; }
.reveal { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; appearance: none; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.reveal:focus-visible { outline: none; }
.comparison:has(.reveal:focus-visible) .comparison-divider span,
.artwork-comparison:has(.reveal:focus-visible) .comparison-divider span { outline: 2px solid #676f7d; outline-offset: 3px; }
.comparison-help { display: flex; justify-content: space-between; gap: 12px; margin: -8px 30px 17px; font-size: 10px; color: #676f7d; }
.comparison-help span:nth-child(2) { color: #676f7d; }
.generated-content-note { margin: 0 21px 13px; font-size: 10px; line-height: 1.6; color: #676f7d; }
.download-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.download-links a { font-size: 10px; font-weight: 500; color: #4d5565; padding: 6px 7px; border-radius: 4px; }
.download-links a:first-child { color: #232b3b; background: #f1f3f7; }
.download-links a span { margin-left: 4px; color: #676f7d; }
.deck-context { display: flex; align-items: center; gap: 24px; padding: 17px 22px 20px; color: #676f7d; font-size: 11px; line-height: 1.7; border-top: 1px solid var(--line); }
.deck-context .fine-print { margin-top: 5px; }
.process { padding-top: 64px; padding-bottom: 74px; border-top: 1px solid var(--line); }
.process .section-heading { margin-bottom: 30px; }
.site-footer { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 17px; gap: 8px; }
.site-footer p { color: #676f7d; font-size: 11px; margin-left: auto; }
.site-footer > a:last-child { font-size: 11px; color: #676f7d; margin-left: 36px; }
dialog { border: 1px solid #dce1e8; border-radius: 12px; box-shadow: 0 15px 80px #17213235; color: var(--ink); background: #fff; }
dialog::backdrop { background: #141a2c70; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.artifact-dialog { width: min(1160px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); padding: 20px 24px; }
.dialog-header .eyebrow { font-size: 10px; }
.dialog-header h2 { font-size: 18px; line-height: 1.35; letter-spacing: -.025em; margin-top: 5px; }
.dialog-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.dialog-actions .tool-button { min-height: 34px; }
.artifact-body { background: #f1f3f6; padding: 24px; min-height: 250px; max-height: calc(100dvh - 235px); overflow: auto; display: flex; align-items: flex-start; justify-content: center; }
.artifact-body > img { object-fit: contain; max-height: calc(100dvh - 290px); width: 100%; align-self: center; }
.artifact-slide-frame { position: relative; width: 100%; max-height: calc(100dvh - 290px); background: #fff; box-shadow: 0 1px 3px #20283910; overflow: hidden; align-self: center; }
.artifact-slide-frame > img { position: absolute; object-fit: contain; }
.artifact-body object { width: 100%; height: calc(100dvh - 290px); border: 0; }
.dialog-description { margin: 0; padding: 16px 24px 19px; font-size: 12px; line-height: 1.6; color: #676f7d; }
.artifact-loading, .artifact-unavailable { width: 100%; min-height: 230px; display: grid; place-content: center; text-align: center; font-size: 13px; color: #676f7d; max-width: 500px; }
.artifact-unavailable p + p { margin-top: 12px; }
.outline-document { background: #fff; max-width: 780px; width: 100%; padding: 40px 48px; color: #374156; border: 1px solid #e0e5ed; box-shadow: 0 2px 5px #33456605; }
.outline-document h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.035em; margin-top: 12px; font-weight: 550; }
.outline-throughline { font-size: 13px; line-height: 1.6; margin-top: 20px; color: #676f7d; }
.outline-document ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: outline; }
.outline-document li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; border-top: 1px solid #e7ebf1; padding: 10px 0; counter-increment: outline; }
.outline-document li::before { content: counter(outline, decimal-leading-zero); color: #676f7d; font-size: 11px; font-variant-numeric: tabular-nums; }
.outline-document li p { font-size: 13px; font-weight: 500; }
.outline-slide { display: grid; grid-template-columns: 114px minmax(0, 1fr); align-items: center; gap: 17px; width: 100%; padding: 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; text-align: left; }
.outline-slide img { width: 100%; aspect-ratio: 16/9; object-fit: contain; border: 1px solid #e1e5ed; }
.outline-message { font-size: 13px; line-height: 1.55; font-weight: 500; }
.install-command { display: flex; align-items: center; gap: 10px; border: 1px solid #dce2eb; border-radius: 6px; padding: 12px; margin-top: 27px; background: #f7f9fb; }
.install-command code { font-size: 10px; line-height: 1.6; color: #676f7d; overflow-wrap: anywhere; min-width: 0; }
.install-command button { border: 1px solid #dce2eb; border-radius: 4px; background: #fff; color: #676f7d; font-size: 10px; padding: 6px 9px; margin-left: auto; flex: 0 0 auto; }
.copy-status { min-height: 25px; padding-top: 7px; font-size: 11px; color: #676f7d; }
.viewer-dialog { width: min(1600px, calc(100% - 48px)); height: calc(100dvh - 48px); max-width: none; max-height: none; padding: 0; overflow: hidden; }
.viewer-dialog[open] { display: flex; flex-direction: column; }
.viewer-dialog .studio-frame { width: 100%; flex: 1; min-height: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; box-shadow: none; overflow: hidden; }
.viewer-dialog .studio-workspace { flex: 1; min-height: 0; overflow: hidden; }
.viewer-dialog .slide-strip, .viewer-dialog .inspector-panel { max-height: none; }
.viewer-dialog .canvas-column, .viewer-dialog .canvas-wrap { min-height: 0; }
.viewer-dialog .slide-surface { width: min(100%, calc((100dvh - 290px) * 16 / 9)); }
.viewer-dialog .viewer-toolbar { min-height: 61px; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 100; padding: 12px 18px; border-radius: 5px; background: #fff; box-shadow: 0 3px 20px #0002; }
.skip-link:focus { top: 16px; }
.noscript { padding: 18px; position: fixed; bottom: 0; inset-inline: 0; background: #fff; border-top: 1px solid #ddd; font-size: 12px; }
.noscript a { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #42444a; border-color: #42444a; }
  .site-header nav > a:hover { color: #191a1d; }
  .quiet-link:hover { color: #555b64; }
  .tool-button:hover:not(:disabled), .icon-button:hover:not(:disabled), .download-links a:hover { background: #e9edf4; color: #3d475c; }
  .mode-controls button:hover:not(:disabled):not([aria-pressed="true"]) { color: #3d4554; background: #e4e7eb; }
  .slide-thumb:hover img { opacity: 1; }
}

.github-icon { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.github-link { display: inline-flex; align-items: center; justify-content: center; color: #353b46; }
.source-link { gap: 9px; }
.source-link .github-icon { width: 17px; height: 17px; }
section[tabindex="-1"]:focus { outline: none; }
.samples { padding-block: 72px 82px; border-top: 1px solid var(--line); }
.samples-container { border: 1px solid #dce0e6; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 2px 4px #1f273705, 0 12px 40px #1f273706; }
.sample-chooser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); background: #f5f6f8; }
.sample-option { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 19px; align-items: center; width: 100%; padding: 12px; border: 1px solid #e1e4e9; border-radius: 7px; text-align: left; background: #f9fafb; }
.sample-option > img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #fff; border: 1px solid #e0e3e9; box-shadow: 0 1px 4px #1f27370a; }
.sample-option-caption { min-width: 0; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.sample-option-title { font-size: 15px; font-weight: 550; letter-spacing: -.02em; line-height: 1.35; text-wrap: balance; }
.sample-option-meta { font-size: 10px; color: #626a78; line-height: 1.4; }
.sample-selected { visibility: hidden; font-size: 9px; color: #4e637f; line-height: 1.3; }
.sample-option[aria-pressed="true"] .sample-selected { visibility: visible; }
.sample-selected::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #536d93; margin-right: 6px; vertical-align: 1px; }
.sample-option[aria-pressed="true"] { background: #fff; border-color: #8d9eb6; box-shadow: 0 1px 3px #1e31420b; }
.architecture-heading { align-items: flex-start; }
.walkthrough > .walkthrough-step { padding-top: 22px; }
.walkthrough-heading { display: block; margin-bottom: 25px; }
.walkthrough-heading h3 { font-size: 21px; line-height: 1.4; font-weight: 550; letter-spacing: -.025em; }
.principle-number { font-size: 11px; color: #667185; font-variant-numeric: tabular-nums; padding-top: 6px; }
.design-demonstration { display: grid; grid-template-columns: .7fr 20px 1.3fr; gap: 20px; }
.actor-label { display: block; font-size: 10px; font-weight: 550; color: #556177; line-height: 1.6; }
.argument-panel { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.argument-message { font-size: 20px; line-height: 1.4; font-weight: 550; letter-spacing: -.02em; margin-top: 17px; }
.argument-decision { font-size: 12px; color: #5d6674; line-height: 1.6; margin-top: 10px; }
.argument-support { width: 100%; }
.brief-values { display: block; margin: 19px 0 0; width: 100%; }
.brief-value { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; font-size: 11px; border-top: 1px solid #dfe3e9; padding-block: 8px; }
.brief-value > :first-child { color: #566175; }
.brief-value > :last-child { font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap; margin: 0; }
.evidence-note { font-size: 10px; line-height: 1.65; color: #646f80; margin-top: 12px; }
.composition-panel { min-width: 0; }
.composition-panel { display: flex; flex-direction: column; align-items: flex-start; }
.composition-panel > .actor-label { margin-bottom: 15px; }
.composition-image { display: block; width: 100%; overflow: hidden; position: relative; border: 1px solid #dfe3ea; background: #fff; }
.composition-image > img { width: 100%; }
.walkthrough-chart-region { position: absolute; border: 1.5px solid #577297; box-shadow: 0 0 0 1px #fff9; pointer-events: none; }
.walkthrough > .reconstruction-step { margin-top: 7px; }
.reconstruction-demonstration { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-template-rows: repeat(2, 1fr); gap: 16px 0; align-items: center; }
#walkthrough-semantic-open { grid-column: 1; grid-row: 1; }
#walkthrough-measurement-open { grid-column: 1; grid-row: 2; }
#walkthrough-native-open { grid-column: 3; grid-row: 1 / 3; }
.reconstruction-join { grid-column: 2; grid-row: 1 / 3; align-self: stretch; position: relative; color: #969b9f; }
.reconstruction-join::before { content: ''; position: absolute; inset: 25% 50% 25% 0; border-block: 1px solid; border-right: 1px solid; }
.reconstruction-join::after { content: ''; position: absolute; top: 50%; left: 50%; right: 3px; border-top: 1px solid; }
.reconstruction-join i { position: absolute; right: 3px; top: calc(50% - 3px); width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
@media (min-width: 1100px) {
  .walkthrough > .reconstruction-step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.8fr); gap: 48px; margin-top: 44px; align-items: center; }
  .reconstruction-step > .walkthrough-heading { margin: 0; }
}
@media (max-width: 600px) {
  .reconstruction-demonstration { grid-template-columns: minmax(0, 1fr) 22px; grid-template-rows: auto auto 32px auto; gap: 14px 0; align-items: stretch; }
  #walkthrough-measurement-open { grid-column: 1; grid-row: 2; }
  #walkthrough-native-open { grid-column: 1 / 3; grid-row: 4; width: 100%; }
  .reconstruction-join { grid-column: 2; grid-row: 1 / 4; }
  .reconstruction-join::before { inset: 23% 50% 14% 0; }
  .reconstruction-join::after { top: 86%; left: 50%; right: auto; bottom: 3px; border-top: 0; border-left: 1px solid; }
  .reconstruction-join i { top: auto; bottom: 3px; right: calc(50% - 4px); transform: rotate(135deg); }
}
.reconstruction-evidence { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.explanation-graphic { display: block; width: 100%; margin-block: 20px 16px; border: 1px solid #e0e3db; border-radius: 6px; background: #f9faf7; overflow: hidden; }
.chart-explainer { display: block; width: 100%; height: auto; stroke: none; font-weight: 400; font-family: var(--font-body, Arial, sans-serif); }
#artifact-body > .chart-explainer { width: min(100%, 850px); margin: auto; background: #f9faf7; border-radius: 8px; }
.evidence-crop { display: block; position: relative; width: 100%; overflow: hidden; background: #fff; border: 1px solid #e0e5ed; margin-block: 20px 16px; }
.evidence-crop > img { position: absolute; max-width: none; object-fit: fill; }
.evidence-caption { display: block; font-size: 12px; line-height: 1.65; color: #596476; }
.architecture-review { margin-top: 25px; }
.asset-system { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.asset-system-copy > p { max-width: 850px; margin-top: 12px; color: #5f6671; font-size: 13px; line-height: 1.75; text-wrap: pretty; }
.illustration-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.illustration-comparison figure { min-width: 0; }
.illustration-surface { display: grid; place-items: center; height: clamp(200px, 29vw, 340px); padding: 24px; background: #faf8f4; border: 1px solid var(--line); border-radius: 8px; }
.illustration-transparent { background: #202630; border-color: #202630; }
.illustration-surface img { width: auto; height: 100%; max-width: 100%; object-fit: contain; min-height: 0; }
.illustration-comparison figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 16px; padding-top: 12px; font-size: 11px; color: var(--muted); }
.illustration-comparison figcaption strong { font-weight: 550; color: var(--ink); }
.illustration-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.illustration-heading .mode-controls { flex: 0 0 auto; }
.illustration-compare { width: min(100%, 608px); margin-inline: auto; }
.artwork-comparison { position: relative; height: clamp(200px, 29vw, 340px); overflow: hidden; border-radius: 8px; background: #202630; isolation: isolate; }
.artwork-comparison-layer { position: absolute; inset: 0; background: #202630; }
.artwork-comparison-layer img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.illustration-compare figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 11px; color: var(--muted); }

.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.workflow-stage { padding: 0; min-width: 0; }
.workflow-stage h4 { display: flex; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 550; letter-spacing: -.025em; }
.workflow-number { font-size: 10px; font-weight: 450; letter-spacing: 0; color: #626e80; font-variant-numeric: tabular-nums; }
.workflow-stage > p { font-size: 12px; line-height: 1.65; color: #646e7e; margin-top: 10px; min-height: 40px; }
.workflow-evidence { margin-top: 15px; font-size: 11px; }
.workflow-evidence summary { cursor: pointer; color: #40546f; font-weight: 500; list-style: none; border-radius: 6px; }
.workflow-evidence summary::-webkit-details-marker { display: none; }
.workflow-evidence ul { list-style: none; padding: 0; margin: 10px 0 0; }
.workflow-evidence li { border-top: 1px solid var(--line); }
.workflow-evidence button { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; text-align: left; width: 100%; padding: 11px 0; font-size: 11px; font-weight: 500; color: #424f63; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .sample-option:hover { background: #fff; border-color: #b5c0ce; }
  .sample-option[aria-pressed="true"]:hover { border-color: #7f93ae; }
  .workflow-evidence button:hover { color: #172a46; }
}
.motivation { padding-block: 64px 72px; border-top: 1px solid var(--line); }
.motivation-copy { max-width: 880px; margin-inline: auto; color: var(--muted); font-size: 16px; line-height: 1.75; }
.motivation-lead { color: var(--ink); font-size: clamp(21px, 2vw, 27px); line-height: 1.5; letter-spacing: -.025em; }
.motivation-copy p + p { margin-top: 24px; }
.subsection-intro { max-width: 780px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 800px) {
  .motivation { padding-block: 36px 44px; }
  .motivation-copy, .subsection-intro { font-size: 14px; }
}
.philosophy { border-top: 1px solid var(--line); padding-block: 67px 62px; }
.principle-number { color: #676f7d; font-size: 11px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.setup { border-top: 1px solid var(--line); padding-block: 64px 72px; }
.setup .section-heading h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.035em; }
.setup-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; margin-top: 33px; }
.setup-grid h3 { font-size: 17px; font-weight: 550; letter-spacing: -.02em; }
.setup-requirements dl { margin: 20px 0; }
.setup-requirements dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 12px; }
.setup-requirements dt { font-weight: 500; }
.setup-requirements dd { color: #626d80; margin: 0; font-size: 12px; }
.setup-instructions > p:not(.copy-status) { font-size: 13px; color: #626d80; line-height: 1.65; margin-top: 13px; max-width: 530px; }
.setup-instructions code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.setup .install-command { margin-top: 23px; padding: 13px 15px; }
.setup .install-command code { font-size: 11px; color: #465a75; }
.setup .install-command button { min-height: 33px; padding-inline: 11px; font-size: 11px; }
.setup-agent-prompt { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #f7f8f9; }
.setup-agent-prompt p { margin: 0; font-size: 13px; line-height: 1.7; color: #49515d; overflow-wrap: anywhere; }
.setup-agent-prompt button { display: block; margin: 14px 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #343b45; font-size: 12px; cursor: pointer; transition: background .15s; }
.setup-agent-prompt button:hover { background: #f0f1f2; }
.setup-instructions .setup-terminal-title { margin-top: 26px; }
.setup .setup-terminal-title + .install-command { margin-top: 14px; }
.setup-environment-note { max-width: 280px; font-size: 12px; line-height: 1.7; color: #626d80; }
.setup-details { margin-top: 12px; font-size: 12px; line-height: 1.75; border-block: 1px solid var(--line); padding-block: 13px; color: #626d80; }
.setup-details summary { color: #38465d; cursor: pointer; font-weight: 500; }
.setup-details ul { padding-left: 18px; margin-bottom: 10px; }
.setup-details li + li { margin-top: 8px; }
.setup-details code { font-size: 11px; overflow-wrap: anywhere; }
.setup-details p { font-size: 11px; margin-top: 10px; }
.setup-instructions > .quiet-link { font-size: 12px; margin-top: 8px; }
.source-document { background: #fff; border: 1px solid #e1e6ef; width: 100%; max-width: 900px; padding: 32px 36px; }
.source-document h3 { font-size: 23px; font-weight: 550; letter-spacing: -.03em; line-height: 1.3; margin: 10px 0 25px; }
.document-fields { margin: 0; }
.document-field { display: grid; grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr); gap: 13px 24px; border-top: 1px solid #e5eaf2; padding: 12px 0; font-size: 12px; }
.document-field > dt { font-weight: 500; color: #5c6b83; overflow-wrap: anywhere; }
.document-field > dd { margin: 0; color: #42526d; line-height: 1.7; overflow-wrap: anywhere; min-width: 0; }
.document-field > .document-branch { grid-column: 1 / -1; }
.document-group > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; cursor: pointer; color: #465875; font-weight: 500; list-style: none; }
.document-group > summary::before { content: "+"; font-size: 15px; font-weight: 400; margin-right: -11px; }
.document-group[open] > summary::before { content: "−"; }
.document-group > summary > span { margin-right: auto; overflow-wrap: anywhere; }
.document-group > summary > small { font-size: 10px; font-weight: 400; color: #676f7d; white-space: nowrap; }
.document-group > .document-fields { padding-left: 18px; margin-top: 13px; border-left: 1px solid #dfe6f0; }
.document-text { font-size: 13px; color: #465875; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (min-width: 1450px) { .hero { padding-top: 60px; padding-bottom: 58px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 48px); }
  .toolbar-hint { display: none; }
  .canvas-wrap { padding: 22px; }
  .studio-workspace { grid-template-columns: 90px minmax(0, 1fr); }
  .studio-workspace[data-inspector="open"] { grid-template-columns: 90px minmax(0, 1fr) 240px; }
  .inspector-panel { width: 240px; }
  .slide-strip { padding-inline: 11px; }
  .comparison-help span:nth-child(2) { display: none; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 85px; }
  .page-width { width: calc(100% - 40px); }
  .header-inner { height: 66px; }
  .site-header nav { gap: 22px; }
  .hero { padding: 58px 0 58px; }
  h1 { font-size: 62px; }
  .hero-description { font-size: 15px; max-width: 500px; }
  .section-heading { gap: 24px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > p { font-size: 11px; }
  .studio-workspace[data-inspector="open"] { grid-template-columns: 90px minmax(0, 1fr); }
  .inspector-panel { width: auto; grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); max-height: 320px; }
  .viewer-dialog .studio-workspace { overflow-y: auto; }
  .viewer-dialog .inspector-panel { max-height: 320px; }
  .viewer-dialog .canvas-column { flex-shrink: 0; }

  .process { padding-top: 46px; }
}
@media (max-width: 560px) {
  .page-width { width: calc(100% - 32px); }
  .header-inner { height: 63px; }
  .wordmark { font-size: 18px; gap: 8px; }
  .wordmark img { width: 24px; height: 24px; }
  .site-header nav { gap: 12px; font-size: 11px; }
  .hero { text-align: left; padding: 47px 0 53px; }
  .hero .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(46px, 12.8vw, 66px); line-height: 1.06; margin-top: 22px; }
  .hero-description { font-size: 14px; line-height: 1.7; margin-top: 21px; }
  .hero-actions { justify-content: flex-start; gap: 24px; margin-top: 24px; }
  .hero-actions .button { font-size: 12px; }
  .hero-actions .quiet-link { font-size: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .section-heading h2 { max-width: 320px; font-size: 24px; }
  .section-heading > p { font-size: 12px; }
  .section-heading > p br { display: none; }

  .viewer-toolbar { padding: 9px; gap: 9px; min-height: 57px; }
  .mode-controls { padding: 2px; }
  .mode-controls button { padding: 6px 9px; font-size: 10px; }
  .viewer-tools { gap: 1px; }
  .viewer-tools .tool-button { gap: 4px; font-size: 10px; padding-inline: 6px; }
  .viewer-tools .tool-button svg { width: 14px; height: 14px; }
  .object-count { display: none; }
  .viewer-tools > .icon-button { width: 29px; }
  .studio-workspace, .studio-workspace[data-inspector="open"] { display: flex; flex-direction: column; }
  .slide-strip { flex-direction: row; padding: 13px 14px 10px; gap: 12px; overflow: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .slide-thumb { width: 64px; }
  .slide-thumb span { margin-top: 7px; }
  .canvas-wrap { padding: 17px 13px; }
  .slide-caption { padding: 9px 11px; min-height: 57px; gap: 5px; }
  .slide-caption > div:first-child { gap: 8px; align-items: flex-start; }
  .slide-caption h3 { font-size: 10px; }
  .slide-counter { font-size: 9px; line-height: 1.6; }
  .slide-arrows { gap: 0; }
  .slide-arrows .icon-button { width: 27px; height: 30px; }
  .download-links { gap: 1px; }
  .download-links a { font-size: 9px; padding-inline: 6px; }
  .deck-context { font-size: 11px; padding: 14px; }
  .comparison-help { margin: -3px 13px 12px; font-size: 9px; }
  .process { padding-top: 36px; padding-bottom: 44px; }
  .site-footer { flex-wrap: wrap; padding-block: 25px; gap: 17px; }
  .site-footer p { margin-left: 0; order: 3; width: 100%; font-size: 10px; }
  .site-footer > a:last-child { margin-left: auto; font-size: 10px; }
  .artifact-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 9px; }
  .viewer-dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); border-radius: 9px; }
  .viewer-dialog .viewer-toolbar { padding-inline: 9px; }
  .viewer-dialog .slide-surface { width: 100%; }
  .viewer-dialog .slide-strip { flex-shrink: 0; }
  .dialog-header { padding: 15px; gap: 10px; }
  .dialog-header h2 { font-size: 14px; }
  .dialog-header .eyebrow { font-size: 8px; }
  .dialog-actions { gap: 4px; }
  .dialog-actions .tool-button { font-size: 10px; padding-inline: 4px; }
  .artifact-body { padding: 10px; max-height: calc(100dvh - 205px); min-height: 200px; }
  .artifact-body > img { max-height: calc(100dvh - 240px); }
  .dialog-description { padding: 13px 15px; font-size: 11px; }
  .outline-document { padding: 24px 21px; }
  .outline-document h3 { font-size: 22px; }
  .outline-throughline { font-size: 12px; margin-top: 16px; }
  .outline-document li p { font-size: 12px; }
  .install-command { padding: 9px; }
  .install-command code { font-size: 9px; }
}
body[data-input="keyboard"] *, body[data-input="keyboard"] *::before, body[data-input="keyboard"] *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: #fafafa; backdrop-filter: none; } dialog::backdrop { backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --muted: #3e4654; --line: #7d8593; } .site-header { background: #fff; backdrop-filter: none; } .tool-button, .slide-caption h3, .process-card > p, .deck-context, .dialog-description { color: #3e4654; } }
@media (max-width: 800px) {
  .setup-grid { gap: 35px; }
  .setup-requirements dl > div { grid-template-columns: 80px 1fr; gap: 15px; }
}
@media (max-width: 560px) {
  .site-header nav { gap: 14px; }
  .site-header nav > a { display: inline-flex; }
  .site-header nav > a[href="#setup"] { display: none; }
  .github-icon { width: 18px; height: 18px; }
  .philosophy { padding-block: 43px; }
  .principle-number { grid-row: span 2; }
  .setup { padding-block: 43px 47px; }
  .setup .section-heading h2 { font-size: 30px; }
  .setup-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 26px; }
  .setup-grid h3 { font-size: 17px; }
  .setup-requirements dl > div { grid-template-columns: 100px 1fr; }
  .setup .install-command { padding: 10px; }
  .setup .install-command code { font-size: 10px; }
  .source-document { padding: 22px 19px; }
  .source-document h3 { font-size: 20px; margin-bottom: 21px; }
  .document-field { grid-template-columns: minmax(70px, .4fr) minmax(0, 1fr); gap: 10px 14px; font-size: 11px; }
  .document-group > summary { gap: 14px; }
  .document-group > summary::before { margin-right: -6px; }
  .document-group > .document-fields { padding-left: 12px; }
  .document-text { font-size: 12px; }
}

@media (max-width: 1100px) {
  .sample-option { grid-template-columns: 115px minmax(0, 1fr); gap: 15px; }
  .sample-option-title { font-size: 13px; }
  .design-demonstration { grid-template-columns: .7fr 18px 1.3fr; gap: 15px; }
  .argument-message { font-size: 18px; }
}
@media (max-width: 800px) {
  .hero { padding-block: 42px; }
  h1 { font-size: 54px; }
  .sample-chooser { gap: 12px; padding: 14px; }
  .sample-option { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .sample-option-title { font-size: 12px; }
  .sample-option-caption { gap: 6px; }
  .sample-option-meta, .sample-selected { font-size: 9px; }
  .architecture-heading { display: block; }
  .design-demonstration { grid-template-columns: .7fr 16px 1.3fr; gap: 13px; }
  .argument-message { margin-top: 12px; }
  .argument-support { max-width: 440px; }
  .reconstruction-evidence .actor-label { font-size: 9px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .workflow-stage > p { min-height: 40px; }
}
@media (max-width: 740px) {
  .illustration-comparison { grid-template-columns: 1fr; gap: 24px; }
  .illustration-surface { height: 280px; }
  .artwork-comparison { height: 280px; }
}
@media (max-width: 560px) {
  .hero { padding-block: 36px 39px; }
  h1 { font-size: clamp(42px, 11.5vw, 58px); line-height: 1.07; margin-top: 19px; }
  .hero-description { font-size: 13px; margin-top: 19px; line-height: 1.7; }
  .hero-actions { margin-top: 21px; }
  .samples { padding-bottom: 46px; }
  .samples > .section-heading { gap: 8px; margin-bottom: 19px; }
  .samples > .section-heading h2 { font-size: 24px; }
  .sample-chooser { grid-template-columns: 1fr; gap: 9px; padding: 11px; }
  .sample-option { grid-template-columns: 107px minmax(0, 1fr); gap: 14px; padding: 10px; min-height: 97px; }
  .sample-option-title { font-size: 12px; }
  .sample-option-meta { font-size: 9px; }
  .walkthrough > .walkthrough-step { padding-top: 28px; }
  .walkthrough-heading { margin-bottom: 21px; }
  .walkthrough-heading h3 { font-size: 20px; }
  .argument-message { font-size: 19px; }
  .reconstruction-evidence .actor-label { font-size: 10px; }
  .evidence-crop { margin-block: 17px 15px; }
  .evidence-caption { font-size: 12px; }
  .architecture-review { margin-top: 22px; }
  .asset-system { margin-top: 28px; padding-top: 24px; }
  .workflow-grid { grid-template-columns: 1fr; gap: 0; }
  .workflow-stage, .workflow-stage:first-child, .workflow-stage:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .workflow-stage > p { min-height: 0; margin-top: 10px; }
  .workflow-evidence { margin-top: 12px; }
  .workflow-evidence summary { min-height: 34px; }
  .workflow-evidence button { font-size: 12px; }
}

.flow-connector { align-self: center; justify-self: center; color: #768396; }
.flow-connector svg { width: 22px; height: 22px; }
.workflow-preview { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 11px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #e1e5ec; border-radius: 6px; background: #f4f6f8; padding: 11px; }
.workflow-preview > img { width: 100%; height: 100%; object-fit: contain; }
.document-preview { color: #69788f; }
.document-preview > .document-icon { width: 44px; height: 44px; stroke-width: 1.1; }
.document-preview > span { font-size: 11px; line-height: 1.5; color: #5f6e83; text-align: center; }
.workflow-disclosure { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 13px 5px; font-size: 11px; color: #40546f; }
.disclosure-chevron { width: 16px; height: 16px; color: #68788e; transition: transform 150ms var(--ease-out); }
.workflow-evidence[open] .disclosure-chevron { transform: rotate(180deg); }
.evidence-thumbnail { display: flex; align-items: center; justify-content: center; width: 42px; height: 32px; flex: 0 0 auto; background: #f3f5f8; border: 1px solid #e0e5ed; border-radius: 3px; overflow: hidden; }
.evidence-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.evidence-thumbnail > .document-icon { width: 20px; height: 20px; }
.evidence-item-caption { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.evidence-item-title { font-size: 11px; line-height: 1.5; color: #424f63; }
.evidence-item-type { font-size: 9px; font-weight: 400; color: #627187; }
.evidence-image-error { font-size: 10px; text-align: center; color: #636f81; }
@media (hover: hover) and (pointer: fine) { .workflow-evidence > summary:hover .workflow-preview { border-color: #bdc8d7; background: #eff2f6; } }
@media (max-width: 560px) {
  .workflow-evidence > summary { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 17px; align-items: center; }
  .workflow-preview { padding: 7px; gap: 4px; }
  .document-preview > .document-icon { width: 24px; height: 24px; }
  .workflow-preview.document-preview > span { display: none; }
  .workflow-disclosure { padding: 0; font-size: 12px; }
}
.workflow-detail { font-size: 11px; color: #636f80; line-height: 1.7; margin-block: 11px; }
@media (min-width: 700px) and (max-width: 900px) {
  .argument-message { font-size: 16px; margin-top: 10px; }
  .argument-decision { font-size: 11px; margin-top: 8px; }
  .brief-values { margin-top: 13px; }
  .brief-value { font-size: 10px; gap: 10px; padding-block: 6px; }
  .composition-panel .evidence-note, .argument-panel .evidence-note { font-size: 9px; }
}
@media (max-width: 699px) {
  .design-demonstration { grid-template-columns: 1fr; gap: 14px; }
  .argument-support { max-width: none; }
  .flow-connector svg { transform: rotate(90deg); }
  .flow-connector { padding-block: 2px; }
}


/* The content itself is the control, with one visible affordance for touch. */
.content-card { position: relative; text-align: left; color: inherit; padding: 20px; background: #f6f7f9; border: 1px solid #e1e5eb; border-radius: 10px; cursor: pointer; transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 150ms var(--ease-out); }
.content-card > .actor-label { padding-right: 5px; }
.content-card .composition-image, .content-card .evidence-crop { transition: transform 200ms var(--ease-out); }
body[data-input="pointer"] .content-card:active { transform: scale(.994); background: #edf0f4; transition-duration: 60ms; }
.presentation-goal { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 15px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); padding: 18px 22px; color: #475467; background: #fff; transition: background-color 180ms var(--ease-out); }
.goal-label { font-size: 10px; font-weight: 550; color: #657086; }
#presentation-goal-text { font-size: 12px; line-height: 1.65; max-width: 900px; }
.design-image-open { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.design-image-open:focus-visible { outline-offset: -4px; }
.artifact-crop.evidence-crop { margin: auto; width: min(100%, 960px); border: 0; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .content-card:hover { background: #eef1f5; border-color: #c1cbd8; }
  .presentation-goal:hover, .outline-slide:hover { background: #f3f5f8; }
  .outline-slide:hover { border-color: #dce3ec; }
}
@media (max-width: 1050px) {
  .viewer-toolbar { flex-wrap: wrap; gap: 10px; }
  .mode-controls { width: 100%; }
  .mode-controls button { flex: 1; padding-inline: 7px; font-size: 11px; }
  .toolbar-hint { display: block; font-size: 10px; }
  .viewer-tools { margin-left: auto; }
  .viewer-dialog .slide-surface { width: min(100%, calc((100dvh - 330px) * 16 / 9)); }
}
@media (max-width: 800px) {
  .content-card { padding: 16px; }
  .reconstruction-evidence .actor-label { min-height: 30px; }
}
@media (max-width: 560px) {
  .presentation-goal { padding: 14px; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .goal-label { grid-column: 1; }
  #presentation-goal-text { grid-column: 1; font-size: 11px; }
  .mode-controls button { font-size: 10px; padding-inline: 5px; }
  .viewer-tools .tool-button { min-height: 33px; }
  .toolbar-hint { font-size: 9px; }
  .reconstruction-evidence .actor-label { min-height: 0; }
  .outline-slide { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 6px; }
  .outline-message { font-size: 11px; }
  .outline-document li { gap: 7px; }
}
body[data-input="keyboard"] .content-card, body[data-input="keyboard"] .content-card .composition-image, body[data-input="keyboard"] .content-card .evidence-crop { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .content-card, .content-card .composition-image, .content-card .evidence-crop, .presentation-goal { transition: none; }
  body[data-input="pointer"] .content-card:active, .content-card:hover .composition-image, .content-card:hover .evidence-crop { transform: none; }
}

.deck-description { min-width: 0; flex: 1; }
.deck-context .download-links { flex: 0 0 auto; }
.deck-context .download-links a { font-size: 11px; padding: 9px 12px; }
.viewer-dialog .slide-caption { flex-shrink: 0; }
@media (max-width: 560px) {
  .deck-context { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.presentation-plan, .brief-document { width: 100%; color: #354258; background: #fff; padding: 26px; }
.presentation-plan > h3, .brief-document > h3 { font-size: 24px; line-height: 1.3; font-weight: 550; letter-spacing: -.03em; }
.plan-throughline { max-width: 880px; margin-top: 12px; font-size: 14px; line-height: 1.65; color: #4d5a70; }
.plan-audience { margin-top: 10px; font-size: 11px; color: #647087; }
.plan-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 30px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #e1e6ee; }
.plan-navigation { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 10px; max-height: calc(100dvh - 270px); overflow-y: auto; padding: 3px; }
.plan-page-option { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 11px; align-items: center; width: 100%; padding: 8px; background: #f7f8fa; border: 1px solid #e0e5ed; border-radius: 6px; text-align: left; }
.plan-page-option > img { width: 100%; aspect-ratio: 16/9; object-fit: contain; border: 1px solid #e2e6ee; }
.plan-page-caption { display: flex; flex-direction: column; gap: 4px; font-size: 10px; line-height: 1.45; }
.plan-page-number { font-size: 9px; color: #6d7a8f; font-variant-numeric: tabular-nums; }
.plan-page-option[aria-pressed="true"] { background: #edf2f8; border-color: #8b9fb9; }
.plan-detail { min-width: 0; }
.plan-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.plan-page-heading h4 { font-size: 20px; line-height: 1.4; margin-top: 8px; font-weight: 550; letter-spacing: -.02em; }
.plan-show-slide { flex: 0 0 auto; border: 1px solid #d6dfeb; padding: 7px 10px; border-radius: 5px; background: #f5f7fa; color: #465a77; font-size: 10px; }
.plan-section { margin-block: 23px; }
.plan-section > h4 { margin-bottom: 13px; font-size: 12px; font-weight: 600; color: #3e506d; }
.plan-section p, .plan-section li, .plan-disclosure li { font-size: 12px; line-height: 1.7; }
.plan-section ul, .plan-disclosure ul { padding-left: 19px; margin-block: 10px; }
.plan-section li + li, .plan-disclosure li + li { margin-top: 9px; }
.plan-content-block { padding-block: 13px; }
.plan-content-block + .plan-content-block { border-top: 1px solid #e7ebf1; }
.plan-content-block h5 { margin: 0 0 9px; font-size: 11px; font-weight: 600; color: #4b5c76; }
.plan-blocks > .plan-copy + .plan-copy { margin-top: 9px; }
.plan-formula { background: #f0f3f7; padding: 11px 13px; border-left: 2px solid #91a4c0; }
.plan-decision { font-weight: 550; }
.plan-qualification { color: #66758b; font-size: 11px !important; margin-bottom: 9px; }
.plan-table-scroll { overflow-x: auto; border: 1px solid #e0e5ed; border-radius: 5px; }
.plan-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; line-height: 1.6; white-space: pre-line; }
.plan-table th { font-weight: 550; background: #f2f5f9; color: #475a77; }
.plan-table th, .plan-table td { padding: 10px 12px; vertical-align: top; min-width: 75px; }
.plan-table td { border-top: 1px solid #e5eaf1; }
.plan-fields { margin: 0; }
.plan-fields > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 13px; padding-block: 7px; font-size: 11px; line-height: 1.65; }
.plan-fields dt { color: #68778c; }
.plan-fields dd { margin: 0; }
.plan-fields dd ul { margin-top: 0; }
.plan-disclosure { border-top: 1px solid #e1e7ef; padding-block: 14px; margin-top: 8px; font-size: 12px; }
.plan-disclosure > summary { cursor: pointer; font-weight: 500; color: #4b5f7b; border-radius: 3px; }
.plan-disclosure[open] > summary { margin-bottom: 16px; }
.plan-disclosure .plan-section:last-child { margin-bottom: 0; }
.generation-input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; background: #f2f4f8; padding: 15px; border: 1px solid #e1e6ef; max-height: 440px; overflow-y: auto; }
.plan-error, .plan-loading { min-height: 170px; display: flex; align-items: center; color: #66758a; font-size: 12px; line-height: 1.7; }
.brief-document { max-width: 900px; }
@media (hover: hover) and (pointer: fine) {
  .plan-page-option:hover:not([aria-pressed="true"]) { border-color: #a4b3c6; background: #eef2f7; }
  .plan-page-option:hover[aria-pressed="true"] { background: #e4ecf6; }
  .plan-show-slide:hover { border-color: #a4b3c6; background: #e9eef5; }
}
@media (max-width: 900px) {
  .presentation-plan, .brief-document { padding: 17px; }
  .plan-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 20px; }
  .plan-page-option { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 7px; }
  .plan-page-heading { flex-wrap: wrap; gap: 12px; }
  .plan-page-heading h4 { font-size: 18px; }
  .plan-table th, .plan-table td { padding: 8px; }
}
@media (max-width: 650px) {
  .presentation-plan, .brief-document { padding: 12px; }
  .presentation-plan > h3, .brief-document > h3 { font-size: 21px; }
  .plan-throughline { font-size: 12px; }
  .plan-audience { font-size: 10px; }
  .plan-layout { display: flex; flex-direction: column; gap: 23px; padding-top: 16px; margin-top: 18px; }
  .plan-navigation { position: static; display: grid; grid-auto-flow: column; grid-auto-columns: 124px; overflow-x: auto; overflow-y: visible; max-height: none; width: 100%; gap: 9px; padding: 3px 3px 10px; }
  .plan-page-option { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .plan-page-caption { flex-direction: row; gap: 6px; font-size: 9px; }
  .plan-page-number { flex: 0 0 auto; }
  .plan-page-heading h4 { font-size: 18px; }
  .plan-fields > div { grid-template-columns: 83px minmax(0, 1fr); gap: 10px; }
}
.plan-arguments { list-style: none; padding: 0 !important; }
.plan-arguments > li { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; padding-block: 10px; }
.plan-argument-number { font-size: 10px; color: #738198; font-variant-numeric: tabular-nums; }
.plan-arguments strong, .plan-named-copy strong { font-size: 12px; font-weight: 550; }
.plan-arguments p, .plan-named-copy p { margin-top: 5px; white-space: pre-line; }
.plan-named-copy { padding-block: 10px; }
.plan-connection { padding: 12px 0; }
.plan-connection + .plan-connection { border-top: 1px solid #e5eaf1; }
.plan-connection-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 11px; font-weight: 500; }
.plan-connection-arrow { color: #7a889e; }
.plan-connection-note { margin-top: 7px; color: #66768d; font-size: 11px !important; }

.console-section { padding-block: 90px; border-top: 1px solid var(--line); }
.console-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.console-copy dl { margin: 28px 0; }
.console-copy dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.console-copy dt { font-weight: 550; margin-bottom: 4px; }
.console-copy dd { margin: 0; color: var(--muted); font-size: 14px; }
.console-preview { display: block; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: left; }
.console-preview img { display: block; width: 100%; height: auto; border-radius: 6px; }
.console-preview > span { display: block; margin: 12px 4px 2px; color: var(--muted); font-size: 12px; }
.console-command { display: block; margin-block: 16px; padding: 12px; background: #eef0f4; border-radius: 6px; overflow-wrap: anywhere; font-size: 12px; }
@media (max-width: 800px) { .console-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }.console-section { padding-block: 60px; } }
.section-intro { max-width: 780px; margin: -6px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.75; }
@media (max-width: 800px) { .section-intro { font-size: 14px; margin-bottom: 24px; } }

.viewer-toolbar { flex-wrap: wrap; }
.mode-controls { flex-wrap: wrap; max-width: 100%; }
.reconstruction-layer { position: absolute; overflow: hidden; z-index: 3; pointer-events: none; }
.reconstruction-box { position: absolute; pointer-events: auto; padding: 0; min-height: 0; border: 1px solid #5967c5a8; background: #5967c506; border-radius: 1px; cursor: pointer; }
.reconstruction-layer[data-mode="measurements"] .reconstruction-box { border-color: transparent; background: transparent; }
.reconstruction-box:focus-visible, .reconstruction-box[data-selected="true"] { background: #5967c51c; border: 2px solid #5967c5; outline: none; }
.reconstruction-box[data-dimmed="true"] { opacity: .2; }
.reconstruction-panel { min-width: 0; }
.reconstruction-panel h3 { font-size: 12px; font-weight: 600; margin: 0 0 20px; letter-spacing: 0; }
.reconstruction-intro { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.reconstruction-groups { display: grid; gap: 6px; }
.reconstruction-groups button, .reconstruction-retry { border: 1px solid var(--line); background: white; padding: 6px 10px; border-radius: 5px; font-size: 11px; text-align: left; }
.reconstruction-groups button[aria-pressed="true"] { border-color: #5967c5; color: #4352af; background: #eef0fc; }
.reconstruction-detail { margin: 16px 0; min-height: 2.8em; font-size: 11px; line-height: 1.5; color: #464c57; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 800px) { .mode-controls button { flex: 1 1 28%; } }
.philosophy > .process { padding-block: 58px 0; border-top: 1px solid var(--line); margin-top: 48px; }
.plan-miniature { display: flex; flex-direction: column; gap: 9px; padding: 20px; background: #fff; text-align: left; overflow: hidden; }
.plan-miniature > strong { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.plan-miniature-row { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 6px; font-size: 8px; line-height: 1.4; }
.plan-miniature-row b { color: #a2a4a9; font-weight: 500; }
.plan-miniature-row > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.demo-interaction-layer { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
.demo-interaction-enter {
  appearance: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: 4.5rem 1rem 1rem;
  border: 0;
  background: linear-gradient(to bottom, rgba(250, 250, 252, 0) 48%, rgba(250, 250, 252, 0.12) 64%, rgba(250, 250, 252, 0.88) 100%);
  color: #1d1d1f;
  cursor: pointer;
  pointer-events: auto;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.demo-interaction-cue {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 0.68rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.2rem 0.25rem;
  text-align: left;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}
.demo-interaction-symbol {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #1d1d1f;
}
.demo-interaction-symbol span {
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-top: 0.29rem solid transparent;
  border-bottom: 0.29rem solid transparent;
  border-left: 0.43rem solid #f5f5f7;
}
.demo-interaction-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
.demo-interaction-copy strong {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-interaction-copy span {
  color: #6e6e73;
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.006em;
}
.demo-interaction-chevron {
  color: #86868b;
  font: 400 1.4rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  transform: translateX(0);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-interaction-enter:active .demo-interaction-cue { transform: scale(0.975); }
.demo-interaction-enter:active .demo-interaction-chevron { transform: translateX(2px); }
.demo-interaction-enter:focus-visible { outline: none; }
.demo-interaction-enter:focus-visible .demo-interaction-symbol { outline: 2px solid currentColor; outline-offset: 3px; }
.demo-interaction-controls {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #1d1d1f;
  pointer-events: none;
}
.demo-interaction-done,
.demo-interaction-open {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  padding: 0.68rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(246, 246, 248, 0.92);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.11);
  color: inherit;
  font: 600 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-interaction-done:focus-visible,
.demo-interaction-open:focus-visible {
  background: rgba(118, 118, 128, 0.17);
}
.demo-interaction-done-mark {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1d1d1f;
}
.demo-interaction-done-mark i {
  position: absolute;
  top: 8.5px;
  left: 5px;
  width: 8px;
  height: 1px;
  border-radius: 1px;
  background: #f5f5f7;
}
.demo-interaction-done-mark i:first-child { transform: rotate(45deg); }
.demo-interaction-done-mark i:last-child { transform: rotate(-45deg); }
.demo-interaction-done:active,
.demo-interaction-open:active { transform: scale(0.96); }
.demo-interaction-done:focus-visible,
.demo-interaction-open:focus-visible { outline: 2px solid currentColor; outline-offset: -1px; }

@media (prefers-reduced-motion: reduce) { .demo-interaction-cue, .demo-interaction-chevron, .demo-interaction-done { transition: none; } }

.console-demo { position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fafafa; height: 600px; }
.console-demo iframe { width: 100%; height: 100%; border: 0; display: block; }
.console-demo[data-active="false"] iframe, .console-demo iframe[inert] { pointer-events: none; }
.console-layout { grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr); }
@media (max-width: 900px) { .console-layout { grid-template-columns: minmax(0,1fr); }.console-demo { height: 620px; } }
.console-demo { height: min(600px, 72svh); }
@media (max-width: 900px) { .console-demo { height: min(620px, 72svh); } }
@media (max-width: 600px) { .site-header nav { gap: 10px; font-size: 10px; }.site-header nav > a[href="#setup"] { display: block; }.header-inner > .wordmark { font-size: 18px; }.header-inner { gap: 12px; } }

.process > .section-heading h3 { font-size: 21px; line-height: 1.4; font-weight: 550; letter-spacing: -.025em; }

/* An overview of the finished work precedes the reconstruction walkthrough. */
.overview { max-width: 1120px; margin-top: 18px; margin-bottom: 110px; }
.overview-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.overview-heading .eyebrow { margin: 0; }
.overview-tabs { display: flex; gap: 26px; }
.overview-tabs button { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 13px; padding: 10px 0; min-height: 44px; }
.overview-tabs button::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0; }
.overview-tabs button[aria-selected="true"] { color: var(--ink); }
.overview-tabs button[aria-selected="true"]::before { opacity: 1; }
.overview-artwork { display: grid; width: 100%; aspect-ratio: 1600 / 1180; overflow: hidden; border: 0; padding: 0; background: #eeeae2; cursor: zoom-in; }
.overview-artwork img { display: block; grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease-out); }
.overview-artwork img.is-active { opacity: 1; }
.overview-artwork.is-keyboard-change img { transition: none; }
.overview figcaption { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 8px; color: var(--muted); font-size: 12px; }
.overview figcaption button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 12px; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
@media (max-width: 760px) {
  .overview { margin-bottom: 68px; }
  .overview-heading { display: block; margin-bottom: 12px; }
  .overview-heading .eyebrow { margin-bottom: 5px; font-size: 10px; }
  .overview-tabs { gap: 22px; }
  .overview-tabs button { font-size: 12px; }
  .overview figcaption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .overview-artwork img { transition: none; } }

/* The opening keeps product context and the finished composition together. */
.product-introduction { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: center; gap: 48px; padding-top: 52px; padding-bottom: 80px; }
.product-introduction .hero { padding: 0 0 92px; text-align: left; }
.product-introduction .hero h1 { font-size: clamp(34px, 3.2vw, 50px); line-height: 1.06; letter-spacing: -.05em; }
.product-introduction .hero .eyebrow { align-items: baseline; font-size: 11px; }
.product-introduction .hero-description { margin-inline: 0; font-size: 14px; line-height: 1.7; }
.product-introduction .hero-actions { justify-content: flex-start; gap: 22px; }
.product-introduction .overview { min-width: 0; max-width: none; width: auto; margin: 0; }
.overview .overview-heading { display: block; margin: 16px 0 0; }
.overview .overview-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.overview .overview-tabs button { min-width: 0; gap: 13px; padding: 0; text-align: left; }
.overview .overview-tabs button::before { display: none; }
.overview-thumbnail { position: relative; flex: 0 0 85px; }
.overview-thumbnail img { display: block; width: 100%; height: auto; opacity: .88; transition: opacity 150ms ease; }
.overview-thumbnail::after { content: ''; position: absolute; height: 2px; inset-inline: 0; bottom: -5px; background: var(--ink); opacity: 0; }
.overview-tabs button[aria-selected="true"] img, .overview-tabs button[aria-selected="true"] .overview-thumbnail::after { opacity: 1; }
.overview-tab-label { display: grid; gap: 5px; }
.overview-tab-label small { font-size: 10px; line-height: 1; opacity: .7; }
.overview figcaption { min-height: 58px; padding-top: 12px; align-items: flex-start; }
.overview figcaption > span { padding-top: 10px; }
@media (max-width: 1000px) {
  .product-introduction { display: block; padding-top: 0; padding-bottom: 58px; }
  .product-introduction .hero { padding: 44px 0 34px; max-width: 620px; margin-inline: auto; text-align: center; }
  .product-introduction .hero h1 { font-size: 48px; }
  .product-introduction .hero-description { margin-inline: auto; }
  .product-introduction .hero-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .product-introduction .hero { text-align: left; }
  .product-introduction .hero h1 { font-size: 40px; }
  .product-introduction .hero-actions { justify-content: flex-start; }
  .overview .overview-tabs { gap: 20px; }
  .overview .overview-tabs button { flex-direction: column; align-items: stretch; gap: 12px; }
  .overview-thumbnail { flex-basis: auto; }
  .overview-tab-label { display: flex; align-items: baseline; gap: 7px; }
}
@media (hover: hover) and (pointer: fine) {
  .overview-tabs button:hover { color: var(--ink); }
  .overview-tabs button:hover img { opacity: 1; }
}

.product-introduction {
  min-height: calc(100svh - var(--overview-header-height, 76px));
  padding-block: 24px;
}
.product-introduction .hero { padding-bottom: 0; }
.overview figure {
  width: min(100%, calc((100svh - var(--overview-header-height, 76px) - var(--overview-controls-height, 150px) - 48px) * 1600 / 1180));
  margin-inline: auto;
}

/* The architecture introduces the walkthrough without joining the examples. */
.system-architecture { width: min(100%, calc((100svh - 160px) * 1600 / 1180)); margin: 36px auto 44px; }
.system-architecture-art { display: block; width: 100%; padding: 0; border: 0; background: #eeebe4; cursor: zoom-in; }
.system-architecture-art img { display: block; width: 100%; height: auto; }
.system-architecture figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.system-architecture figcaption button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: zoom-in; transition: color 160ms ease; }
.system-architecture figcaption svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.system-architecture button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.artifact-dialog.is-architecture { width: calc(100vw - 32px); height: calc(100dvh - 32px); max-width: 1900px; max-height: none; border-radius: 0; background: #f5f3ee; }
.artifact-dialog.is-architecture[open] { display: flex; flex-direction: column; }
.artifact-dialog.is-architecture .dialog-header { flex: 0 0 auto; min-height: 60px; padding: 8px 16px; border: 0; }
.artifact-dialog.is-architecture .dialog-header .eyebrow { display: none; }
.artifact-dialog.is-architecture .dialog-header h2 { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.artifact-dialog.is-architecture .artifact-body { display: grid; place-items: center; flex: 1; min-height: 0; max-height: none; padding: 0 16px 16px; background: transparent; }
.artifact-dialog.is-architecture .artifact-body > img { width: 100%; height: 100%; min-height: 0; max-height: 100%; }
@media (max-width: 720px) { .artifact-dialog.is-architecture { width: 100vw; height: 100dvh; }.artifact-dialog.is-architecture .artifact-body { padding: 0 8px 8px; } }
@media (hover: hover) and (pointer: fine) { .system-architecture figcaption button:hover { color: var(--ink); } }
@media (max-width: 1000px) {
  .product-introduction { min-height: 0; padding-block: 0 24px; }
  .product-introduction .hero { padding-bottom: 32px; }
}
@media (min-width: 1001px) and (max-height: 650px) {
  .product-introduction .hero h1 { font-size: 36px; }
  .product-introduction .hero-description { font-size: 13px; margin-top: 14px; }
  .product-introduction .hero-actions { margin-top: 18px; }
}
.asset-context { min-width: 0; }
@media (min-width: 1100px) {
  .asset-library-system { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, .85fr); gap: 48px; align-items: start; padding-top: 48px; margin-top: 48px; }
  .asset-library-system > .asset-context { grid-column: 2; grid-row: 1; }
  .asset-library-system > .asset-decisions { grid-column: 1; grid-row: 1; min-width: 0; }
  .asset-context .asset-source-options { grid-template-columns: 1fr; gap: 0; margin: 24px 0 0; }
  .asset-context .asset-system-copy > p { font-size: 15px; }
}
.asset-source-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0 0 20px; align-items: start; }
.asset-source-options details { border-top: 1px solid var(--line); padding: 12px 0; }
.asset-source-options summary { position: relative; cursor: pointer; list-style: none; padding-right: 20px; }
.asset-source-options summary::-webkit-details-marker { display: none; }
.asset-source-options summary::after { content: '+'; position: absolute; right: 3px; top: 4px; color: #777c70; font-size: 16px; }
.asset-source-options details[open] summary::after { content: '−'; }
.asset-source-options strong { display: block; font-size: 12px; font-weight: 550; }
.asset-source-options summary span { display: block; font-size: 11px; color: #71776b; margin-top: 3px; }
.asset-source-options p { margin-top: 12px; font-size: 12px; line-height: 1.65; color: #60685a; }
.asset-source-options a { display: inline-block; margin-top: 10px; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.asset-decisions { border: 1px solid var(--line); background: #fff; border-radius: 10px; overflow: hidden; }
.asset-case-header { display: grid; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.asset-case-header > span { font-size: 11px; color: var(--muted); }
.asset-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.asset-cases button { min-width: 0; display: grid; grid-template-columns: 64px auto; align-items: center; gap: 8px; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 6px; font-size: 11px; color: #6f736f; text-align: left; transition: background 150ms, border-color 150ms; }
.asset-cases button img { display: block; width: 64px; height: auto; border: 1px solid #deded8; border-radius: 2px; }
.asset-intent-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.asset-cases button[aria-selected="true"] { background: #f0f2eb; color: #252725; border-color: #b8c0ad; }
.asset-intent { padding: 14px 20px; }
.asset-intent h4 { font-size: 15px; font-weight: 500; line-height: 1.5; text-wrap: pretty; min-height: 24px; }
.asset-result { padding: 16px 24px 28px; background: #f5f5f3; }
.asset-result-surface { position: relative; width: 100%; max-width: 640px; margin: auto; border: 1px solid #deded8; border-radius: 2px; box-shadow: 0 5px 20px #30382d0b; }
.asset-result-surface > img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.asset-result-link { position: absolute; inset: 0; z-index: 1; }
.asset-result-link > span { display: flex; align-items: center; gap: 3px; position: absolute; right: 0; bottom: -24px; font-size: 10px; color: #676d63; white-space: nowrap; }
.asset-result-link svg { width: 13px; height: 13px; }
.asset-result-highlights { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.asset-result-highlights > button { position: absolute; pointer-events: auto; padding: 0; border: 0; outline: 1px solid #ed895c; outline-offset: 3px; border-radius: 2px; background: #ff9d4315; transition: outline-color 140ms, background 140ms; }
.asset-result-highlights > button::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%,32px); height: max(100%,32px); transform: translate(-50%,-50%); }
.asset-result-highlights.has-focus > button { outline-color: #ed895c35; background: transparent; }
.asset-result-highlights.has-focus > .is-focused { outline: 2px solid #d85e2d; background: #ff9d4338; }
.asset-result figcaption:empty { display: none; }
.asset-result figcaption { font-size: 12px; color: #60685a; margin-top: 28px; }
.asset-library-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.asset-library-heading { display: flex; gap: 8px; align-items: baseline; }
.asset-library-heading a { font-size: 11px; font-weight: 550; }
.asset-library-heading span { display: block; font-size: 10px; color: #777d70; }
.asset-library-grid { grid-column: 1 / -1; display: flex; gap: 5px; overflow-x: auto; min-width: 0; padding: 4px; scrollbar-width: thin; scrollbar-color: #d4d8cb transparent; }
.asset-library-item { display: block; flex: 0 0 44px; }
.asset-library-item button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; border-radius: 6px; background: #f5f5f1; transition: background 140ms, border-color 140ms; }
.asset-library-item img { width: 22px; height: 22px; pointer-events: none; }
.asset-library-item.is-selected button { background: #fff1e7; border-color: #edb99b; }
.asset-library-item.is-focused button { border-color: #d96835; background: #ffe0cb; }
.asset-library-count { grid-column: 2; grid-row: 1; font-size: 10px; color: #a64d26; white-space: nowrap; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.asset-icon-inspector { position: fixed; inset: auto; margin: 0; width: 230px; padding: 16px; border: 1px solid #dddfd7; border-radius: 10px; background: #fff; color: #20231e; box-shadow: 0 12px 45px #18220f24; }
.asset-icon-inspector .icon-button { position: absolute; top: 5px; right: 5px; }
.asset-inspector-art { display: grid; place-items: center; height: 120px; background: #f6f6f2; border-radius: 5px; margin-bottom: 12px; }
.asset-inspector-art img { width: 75px; height: 75px; }
.asset-icon-inspector > strong { display: block; font-size: 13px; font-weight: 550; }
.asset-icon-inspector > span { display: block; font-size: 11px; color: #74796d; margin-top: 4px; }
.asset-icon-inspector > p { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6e8df; font-size: 11px; line-height: 1.6; color: #60685a; }
.asset-decisions :focus-visible, .asset-source-options :focus-visible, .asset-icon-inspector :focus-visible { outline-color: #747971; }
@media (hover:hover) and (pointer:fine) {
 .asset-library-item:not(.is-selected):not(.is-focused) button:hover { background: #eaece3; border-color: #bcbeb5; }
 .asset-library-item.is-selected:not(.is-focused) button:hover { background: #ffe8d8; border-color: #dba789; }
 .asset-library-item.is-focused button:hover { background: #ffd7bd; }
 .asset-result-link:hover > span { color: #222; }
}
@media (max-width: 700px) {
 .asset-source-options { display: block; }.asset-source-options details { padding: 9px 0; }.asset-source-options summary { display: grid; grid-template-columns: 116px 1fr; align-items: baseline; gap: 8px; }.asset-source-options strong { font-size: 11px; }.asset-source-options summary span { font-size: 10px; margin: 0; }
 .asset-case-header { padding: 10px 12px; }.asset-cases { width: 100%; }.asset-cases button { grid-template-columns: 1fr; gap: 5px; padding: 5px; font-size: 11px; }.asset-cases button img { width: 100%; }
 .asset-intent { padding: 12px 16px; }.asset-intent h4 { font-size: 13px; min-height: 59px; }
 .asset-result { padding: 12px 12px 28px; }
 .asset-result-highlights > button::after { inset: -2px; width: auto; height: auto; transform: none; }
 .asset-library-stage { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px; }
 .asset-library-heading { display: flex; gap: 8px; align-items: baseline; }.asset-library-count { grid-column: 2; grid-row: 1; }
 .asset-library-grid { grid-column: 1 / -1; }.asset-library-item { flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) { .asset-decisions *, .asset-source-options * { transition: none !important; } }

/* Small changes in colour keep controls legible without moving the content. */
.wordmark, .site-header nav > a, .quiet-link, .site-footer > a:last-child,
.download-links a, .setup-details summary, .plan-disclosure > summary,
.document-group > summary, .asset-source-options summary,
.asset-source-options a, .asset-library-heading a, .asset-result-link > span {
  transition: color 140ms ease, background-color 140ms ease;
}
.overview-artwork, .system-architecture-art {
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color 140ms ease;
}
.overview-artwork:focus-visible, .system-architecture-art:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.slide-thumb img { transition: opacity 140ms ease; }
.overview figcaption button { border-radius: 5px; }
.demo-interaction-symbol { transition: background-color 140ms ease; }
.comparison-divider > span { transition: color 140ms ease, background-color 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .wordmark:hover { color: #555b64; }
  .site-footer > a:last-child:hover, .setup-details summary:hover { color: var(--ink); }
  .install-command button:hover:not(:disabled) { background: #edf0f4; border-color: #bdc6d3; color: #3d475c; }
  .plan-disclosure > summary:hover, .document-group > summary:hover { color: #263d5e; }
  .reconstruction-groups button:hover:not(:disabled):not([aria-pressed="true"]),
  .reconstruction-retry:hover:not(:disabled) { background: #eff1f6; border-color: #c1c9d5; }
  .reconstruction-groups button:hover[aria-pressed="true"] { background: #e4e7fa; }
  .overview-artwork:hover, .system-architecture-art:hover { outline-color: #191a1d38; }
  .overview figcaption button:hover { color: var(--ink); background: #ededeb; }
  .design-image-open:hover { background: #191a1d04; }
  .comparison:has(.reveal:hover) .comparison-divider > span,
  .artwork-comparison:has(.reveal:hover) .comparison-divider > span { color: #303b4b; background: #edf0f5; }
  .reconstruction-box:hover:not([data-selected="true"]) { background: #5967c512; border-color: #5967c5; }
  .demo-interaction-enter:hover .demo-interaction-symbol { background: #414146; }
  .demo-interaction-enter:hover .demo-interaction-chevron { transform: translateX(2px); }
  .demo-interaction-done:hover, .demo-interaction-open:hover { background: rgba(118,118,128,.17); }
  .asset-source-options summary:hover { color: #555b50; }
  .asset-source-options a:hover, .asset-library-heading a:hover { color: #676d63; }
  .asset-cases button:hover:not(:disabled):not([aria-selected="true"]) { background: #e6e8e2; color: #3e443a; }
  .asset-result-highlights > button:hover:not(.is-focused) { outline-color: #d85e2d; background: #ff9d4326; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-interaction-enter:hover .demo-interaction-chevron { transform: none; }
}
