/* The 2013 deck: white paper, coral emphasis, fine rules, flat diagrams. */
@font-face { font-family: Inter; src: url('fonts/InterVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMonoVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Sentient; src: url('fonts/Sentient-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Sentient; src: url('fonts/Sentient-400Italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: Sentient; src: url('fonts/Sentient-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  --ink: #282826;
  --body: #555550;
  --muted: #6d6b66;
  --rule: #dfded9;
  --soft: #f7f7f6;
  --coral: #e66556;
  --action: #b84d40;
  --action-hover: #9f3d32;
  --tint: #fff2ee;
  --tint-ink: #954437;
  --font-sans: Inter, Arial, sans-serif;
  --font-mono: 'Geist Mono', Consolas, monospace;
  --font-serif: Sentient, Georgia, serif;
  --ease: cubic-bezier(.22,.7,.22,1);
  --nav-height: 76px;
  --nav-offset: var(--nav-height);
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  font-optical-sizing: auto;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
html.nav-hidden { --nav-offset: 0px; }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
button, input, select { border-radius: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
[contenteditable]:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.wide-container { width: min(1376px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; letter-spacing: 1px; color: var(--muted); }
.principle-number, .component-kicker, .layer-buttons button > span, .quickstart li > span,
.chart-value, .story-table input, .table-number, #block-count { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.section-heading h2, .vision-head h1, .vision-body h2, .vision-directions h3, .layer-description h3 { font-family: var(--font-serif); }
.coral-text { color: var(--action); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; gap: 18px; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; font-size: 14px; line-height: 1.4; background: #fff; border: 1px solid var(--rule); border-radius: 3px; transition: background .18s, border-color .18s, color .18s; }
.button:hover { background: var(--soft); border-color: #bfbdb6; }
.button.primary { background: var(--action); border-color: var(--action); color: #fff; }
.button.primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5; text-underline-offset: 5px; }
.text-link:hover { color: var(--action); text-decoration: underline; }
.text-button { display: inline-flex; gap: 7px; align-items: center; padding: 4px 0; min-height: 40px; border: 0; background: none; font-size: 13px; color: var(--muted); }
.text-button:hover { color: var(--action); }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--soft); color: var(--action); }
.quiet-note, .source-note, .scope-note { font-size: 12px; color: var(--muted); line-height: 1.75; }
.site-header { height: var(--nav-height); border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: #fff; z-index: 20; transition: transform .32s var(--ease); }
.nav-hidden .site-header { transform: translateY(-100%); }
.nav-inner { width: min(1376px, calc(100% - 80px)); height: 100%; margin-inline: auto; display: flex; align-items: center; }
.wordmark { font: bold 38px/1 var(--font-serif); letter-spacing: -2px; color: var(--coral); }
.nav-inner nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; }
.nav-inner nav > a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; transition: color .15s; }
.nav-inner nav > a:hover, .nav-inner a[aria-current="page"] { color: var(--action); }
.nav-inner .nav-cta { display: flex; align-items: center; gap: 15px; border: 1px solid #d3c9c4; padding: 8px 13px; border-radius: 3px; min-height: 42px; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--tint); border-color: #d6afa5; }

/* Home: a working idea is visible from the first screen. */
.home-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; padding-block: 64px 72px; }
.coral-rule { display: inline-block; width: 21px; height: 1px; background: var(--coral); vertical-align: middle; margin-right: 8px; }
.hero-title-block { margin-top: 22px; }
.hero-copy h1 { font-size: clamp(64px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -3.4px; }
.hero-copy h1 span { color: var(--coral); }
.hero-art { display: flex; flex-direction: column; align-items: center; padding-top: 7px; }
.hero-stone { align-self: center; }
.stone-crop { width: 162px; height: 278px; overflow: hidden; position: relative; }
.stone-crop img { width: 100%; height: 100%; object-fit: contain; }
.hero-quotation { font: italic 20px/1.6 var(--font-serif); color: var(--body); margin-top: 28px; max-width: 350px; text-wrap: balance; text-align: center; }
.hero-deck { font-size: 21px; line-height: 1.45; letter-spacing: -.3px; margin-top: 25px; }
.hero-lead { font-size: 16px; color: var(--body); line-height: 1.75; max-width: 390px; margin-top: 15px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 27px; }
.hero-copy .quiet-note { margin-top: 17px; }
.home-demo-section { padding-block: 52px 64px; border-top: 1px solid var(--rule); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.demo-intro { max-width: 760px; }
.demo-intro > .eyebrow { color: var(--action); }
.demo-intro h2 { font: 400 40px/1.2 var(--font-serif); letter-spacing: -.9px; margin-top: 18px; text-wrap: balance; }
.demo-intro > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; color: var(--body); margin-top: 15px; max-width: 70ch; }
.demo-next { justify-self: start; }
.hero-experiment { min-width: 0; width: 100%; border: 1px solid #d7d5ce; border-radius: 4px; background: #fff; }
.experiment-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 9px 21px; background: var(--soft); }
.experiment-top .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
.experiment-top .icon-button { width: 30px; height: 30px; }
.experiment-top .icon { width: 16px; height: 16px; }
.mini-document { width: 100%; max-width: 1040px; margin-inline: auto; padding: 30px 40px 28px; }
.mini-title { display: flex; gap: 10px; align-items: center; }
.mini-title > .icon { color: var(--coral); }
.mini-title h3 { font-size: 27px; letter-spacing: -.5px; }
.mini-document > p { font-size: 13px; margin-top: 5px; color: var(--body); }
.story-flow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; margin-top: 24px; }
.story-source { min-width: 0; }
.story-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.story-table th { font-weight: 400; color: var(--muted); font-size: 13px; text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.story-table th:last-child, .story-table td:last-child { text-align: right; width: 80px; }
.story-table td { padding: 5px 0; border-bottom: 1px solid #efeeea; }
.story-table tr { transition: background-color .38s var(--ease); }
.story-table input { width: 70px; min-height: 40px; padding: 3px 7px; border: 1px solid #e3d5ce; background: #fffbf9; text-align: right; font-size: 16px; }
.story-table tr:last-child td { border-bottom: 0; }
.story-row-status { margin-left: 12px; font-size: 11px; color: #496445; }
.story-table tr.is-complete { background: #f6f8f1; }
.story-connection { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); margin-top: 7px; }
.story-connection > span:first-child { display: block; width: 22px; height: 1px; background: #dcc4ba; }
.story-connection .icon { width: 15px; height: 15px; color: var(--coral); transform: rotate(-90deg); }
.story-view { min-width: 0; min-height: 198px; background: #fff4f2; padding: 20px; border: 1px solid #f0dfd6; border-radius: 2px; display: grid; align-items: center; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 14px; }
.connection-label { font-size: 12px; color: #78564c; }
.connection-label::before { content: ''; width: 5px; height: 5px; background: var(--action); border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.story-view .chart-heading { font-size: 14px; margin-bottom: 13px; }
.story-view .connection-label { font-size: 11px; }
.chart-row { display: grid; grid-template-columns: minmax(90px, 1fr) 1.8fr 32px; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; color: #6e5046; }
.chart-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-bars, .story-bars { display: grid; gap: 11px; }
.chart-track { background: #f1dfd7; height: 9px; overflow: hidden; }
.chart-fill { background: #d17b67; height: 100%; transition: width .48s var(--ease); }
.chart-row:nth-child(2) .chart-fill { background: #df9e8a; }
.chart-row:nth-child(3) .chart-fill { background: #e7bba9; }
.chart-value { text-align: right; font-variant-numeric: tabular-nums; }
.story-bars { gap: 10px; }
.story-bars .chart-row { grid-template-columns: 90px 1fr 30px; font-size: 13px; }
.story-bars .chart-track { height: 8px; }
.story-action { display: flex; align-items: center; gap: 16px; margin-top: 22px; min-height: 40px; }
.story-action > button { min-width: 194px; justify-content: space-between; }
.small-button { min-height: 38px; padding: 8px 11px; font-size: 12px; gap: 11px; color: var(--tint-ink); border-color: #d4aea0; background: #fff7f3; }
.small-button:hover { border-color: var(--action); background: #ffe9df; }
.small-button .icon { width: 16px; height: 16px; }
.story-action > span { font-size: 11px; line-height: 1.5; color: var(--muted); }
.story-steps { padding: 13px 25px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 10px; background: #fafaf8; font-size: 12px; color: var(--muted); }
.story-steps > span { display: flex; gap: 8px; align-items: center; }
.story-steps .current { color: var(--action); }
.story-steps .complete { color: #496445; }
.story-instruction { padding: 10px 25px; font-size: 12px; border-top: 1px solid var(--rule); color: var(--body); }
.possibilities { padding-block: 42px 50px; border-top: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: 1fr auto; column-gap: 25px; align-items: end; }
.section-heading > .eyebrow { grid-column: 1 / -1; margin-bottom: 14px; }
.section-heading h2 { font-size: 34px; letter-spacing: -1px; line-height: 1.25; max-width: 550px; text-wrap: balance; }
.section-heading > a { margin-bottom: 5px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 36px; }
.principles-grid article { position: relative; padding-left: 30px; }
.principle-number { position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--action); }
.principles-grid h3 { font-size: 19px; letter-spacing: -.3px; }
.principles-grid p { color: var(--body); font-size: 14px; line-height: 1.8; margin-top: 10px; max-width: 290px; }
.scope-note.container { padding-block: 19px 33px; }
.site-footer { border-top: 1px solid var(--rule); display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-block: 25px 26px; }
.site-footer .wordmark { font-size: 29px; }
.site-footer > p { font-size: 13px; color: var(--body); }
.site-footer > a:not(.wordmark) { font-size: 13px; margin-left: auto; }
.site-footer > a:hover { color: var(--action); }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 12px); opacity: 0; background: #2c2b27; color: white; padding: 11px 18px; border-radius: 4px; font-size: 14px; line-height: 1.5; z-index: 100; pointer-events: none; max-width: min(500px, calc(100% - 32px)); width: max-content; text-align: center; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Playground: a real workspace, with a focused canvas and a separate library. */
.playground-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: 34px 25px; }
.playground-head h1 { font-size: 39px; letter-spacing: -1.2px; margin-top: 8px; }
.playground-head p:not(.eyebrow) { font-size: 16px; color: var(--body); margin-top: 8px; }
.playground-head > a { margin-bottom: 6px; }
.quickstart { border-top: 1px solid #e7d6ce; border-bottom: 1px solid #e7d6ce; background: #fffbf8; padding: 15px 23px 18px; margin-bottom: 26px; }
.quickstart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quickstart-heading > .eyebrow { color: var(--tint-ink); }
.quickstart-heading > button { border: 0; background: transparent; color: var(--muted); padding: 3px 0; min-height: 30px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.quickstart ol { padding: 0; margin: 12px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.quickstart li { display: flex; gap: 12px; align-items: start; }
.quickstart li > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #d3ccc3; border-radius: 50%; color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.quickstart strong { font-size: 14px; font-weight: 700; }
.quickstart li p { font-size: 12px; margin-top: 3px; color: var(--muted); }
.quickstart li.current > span { border-color: var(--action); color: var(--action); }
.quickstart li.complete > span { border-color: #687a5c; color: #496445; background: #eff4e9; }
.quickstart li.complete .icon { width: 15px; height: 15px; }
.quickstart.collapsed { padding-bottom: 12px; }
.workspace { border: 1px solid #d7d5ce; border-radius: 4px; background: #fff; overflow: clip; }
.workspace-toolbar { display: flex; gap: 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); padding: 12px 23px; min-height: 70px; }
.workspace-location { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.workspace-initial { color: var(--coral); font: bold 27px var(--font-serif); }
.workspace-location > span:nth-child(3) { color: #9b9790; }
#breadcrumb { color: var(--muted); max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-actions { display: flex; gap: 16px; align-items: center; }
.mode-switch { display: flex; gap: 3px; background: #f2f1ed; padding: 3px; border-radius: 4px; }
.mode-switch button { border: 0; background: transparent; color: var(--body); padding: 7px 13px; min-height: 36px; font-size: 13px; }
.mode-switch button.active { background: white; color: var(--ink); box-shadow: 0 1px 4px #0000000c; }
.export-button { min-height: 40px; font-size: 13px; padding: 7px 12px; gap: 8px; }
.export-button .icon { width: 17px; height: 17px; }
.toolbar-add { display: none; min-height: 40px; padding: 7px 12px; gap: 7px; font-size: 13px; }
.toolbar-add .icon { width: 17px; height: 17px; }
.workspace-layout { display: grid; grid-template-columns: 221px minmax(0, 1fr); min-height: 740px; }
.workspace-sidebar { padding: 28px 15px; border-right: 1px solid var(--rule); background: #fafaf8; }
.workspace-sidebar > .eyebrow { padding-inline: 12px; }
.page-list { display: grid; gap: 4px; margin-top: 15px; }
.page-list button { display: flex; align-items: center; gap: 10px; min-height: 43px; background: none; border: 1px solid transparent; text-align: left; padding: 9px 11px; font-size: 14px; color: var(--body); }
.page-list button.active { background: var(--tint); color: var(--tint-ink); border-color: #f1e0d7; }
.page-list button:hover { border-color: #d7c7bc; }
.page-list .icon { width: 18px; height: 18px; }
.desktop-library { margin-top: 39px; }
.desktop-library > .eyebrow { padding-left: 12px; }
.component-list { display: grid; gap: 6px; margin-top: 17px; }
.component-list button { display: flex; align-items: center; gap: 11px; padding: 10px; min-height: 66px; border: 1px solid transparent; background: transparent; text-align: left; font-size: 14px; }
.component-list button:hover { background: #fff; border-color: #d9d2c7; }
.component-list button > .icon:first-child { width: 21px; height: 21px; color: #74695b; }
.component-list small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.component-list .add-icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.sidebar-note { font-size: 13px; line-height: 1.8; color: var(--muted); padding: 0 12px; margin-top: 32px; }
.workspace-main { background: var(--soft); padding: 0 35px 40px; min-width: 0; }
.canvas-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-size: 12px; color: var(--muted); }
.canvas-toolbar .icon { width: 16px; height: 16px; }
.save-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: #687a5c; vertical-align: middle; margin-right: 7px; }
.page-canvas { background: #fff; border: 1px solid #e3e1da; padding: 34px 37px 30px; max-width: 780px; margin: 0 auto; min-height: 600px; }
.page-canvas > .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
#page-title { font-size: 33px; letter-spacing: -.8px; overflow-wrap: anywhere; min-height: 43px; margin-top: 9px; }
#page-title[contenteditable="plaintext-only"]:hover { background: #faf7f2; }
.page-subtitle { color: var(--muted); font-size: 14px; margin-top: 6px; margin-bottom: 24px; }
.demo-block { position: relative; margin: 20px 0; min-width: 0; border-top: 1px solid #eeece7; padding-top: 8px; scroll-margin-top: 110px; }
.component-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 37px; margin-bottom: 9px; }
.component-kicker { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--muted); letter-spacing: .4px; }
.component-kicker .icon { width: 15px; height: 15px; }
.block-controls { display: flex; gap: 1px; opacity: 0; transition: opacity .15s; }
.demo-block:hover .block-controls, .demo-block:focus-within .block-controls { opacity: 1; }
.block-controls button { width: 32px; height: 34px; border: 0; padding: 7px; background: transparent; display: grid; place-items: center; color: var(--muted); }
.block-controls button:hover { background: var(--tint); color: var(--action); }
.block-controls .icon { width: 17px; height: 17px; }
.drag-handle { cursor: grab; }
.demo-block.dragging { opacity: .4; }
.demo-block.drag-over { outline: 1px dashed var(--coral); outline-offset: 5px; }
.text-block { font-size: 15px; line-height: 1.8; color: var(--body); white-space: pre-wrap; overflow-wrap: anywhere; min-height: 28px; }
.text-block[contenteditable="plaintext-only"]:hover { background: #fffbf6; }
.table-block { border: 1px solid #e1ddd5; border-radius: 2px; overflow: hidden; }
.data-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.data-table th { font-weight: 400; color: var(--muted); font-size: 12px; background: #faf9f6; text-align: left; padding: 11px 12px; line-height: 1.4; }
.data-table th:first-child { width: 49%; }
.data-table th:nth-child(2) { width: 30%; }
.data-table th:last-child { width: 21%; }
.data-table td { padding: 11px 12px; border-top: 1px solid #e8e5dd; color: var(--body); overflow-wrap: anywhere; vertical-align: middle; line-height: 1.55; }
.data-table td:nth-child(2) { font-size: 12px; }
.data-table tr.row-complete td:nth-child(2) { color: #48633e; }
.table-number { font-size: 14px; border: 1px solid transparent; background: transparent; width: 100%; padding: 3px; min-height: 32px; min-width: 0; border-radius: 1px; }
.table-number:hover, .table-number:focus { border-color: #dbc5b8; background: #fffbf6; }
.table-actions { display: flex; justify-content: space-between; padding: 2px 7px; background: #fdfcf9; border-top: 1px solid #e8e5dd; }
.table-actions button { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 7px 5px; min-height: 38px; }
.table-actions button:hover { color: var(--action); }
.chart-block { border: 1px solid #ecd9cf; padding: 17px 18px 19px; background: #fff7f2; border-radius: 2px; }
.chart-empty { color: var(--body); font-size: 14px; padding: 15px 0; }
.source-control { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.source-control select { max-width: 210px; min-height: 34px; background: #fff; border: 1px solid var(--rule); padding: 4px 7px; font-size: 12px; }
.action-description { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.demo-action { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; padding: 10px 14px; border: 1px solid #ceaa98; border-radius: 2px; background: #fff4ed; color: var(--tint-ink); transition: background .18s; }
.demo-action:hover { background: #ffe8db; }
.demo-action .icon { width: 18px; height: 18px; }
.button-result { font-size: 12px; color: #48633e; margin-top: 10px; min-height: 1.65em; }
.button-result:empty { visibility: hidden; }
.add-block { width: 100%; display: flex; align-items: center; gap: 9px; min-height: 45px; background: #fff; border: 1px dashed #cdc7bb; color: var(--muted); text-align: left; padding: 11px 13px; font-size: 13px; margin-top: 25px; }
.add-block:hover { color: var(--action); border-color: #bc8773; background: #fffbf7; }
.workspace-status { display: flex; align-items: center; gap: 20px; justify-content: space-between; border-top: 1px solid var(--rule); padding: 12px 20px; font-size: 12px; color: var(--muted); background: #fff; }
.playground-caption { color: var(--muted); font-size: 12px; margin-block: 17px 35px; }
.mobile-page-picker { display: none; }
.preview-mode .desktop-library, .preview-mode .component-heading, .preview-mode .source-control,
.preview-mode .table-actions, .preview-mode .table-number, .preview-mode .add-block { display: none; }
.edit-mode .table-value { display: none; }
.preview-mode .demo-block { border: 0; padding-top: 0; margin-block: 25px; }
.preview-mode .workspace-status { color: #555550; }
dialog { width: min(430px, calc(100% - 32px)); padding: 25px; border: 1px solid #d2cbc0; border-radius: 5px; color: var(--ink); background: #fff; box-shadow: 0 20px 80px #00000020; }
dialog::backdrop { background: #28241b55; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-heading h2 { font-size: 25px; margin-top: 7px; }
dialog .component-list { margin-top: 25px; }
dialog .component-list button { min-height: 75px; border-color: var(--rule); padding: 13px; }
dialog .component-list small { font-size: 13px; }
dialog .component-list button:hover { border-color: #bd9581; background: #fffbf8; }
.icon-button, .component-list button, .block-controls button, .mode-switch button,
.layer-buttons button, .page-list button, .add-block, .story-table input {
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), opacity .22s var(--ease);
}
.button > .icon, .text-link > .icon, .text-link > span[aria-hidden], .nav-cta > .icon { transition: transform .26s var(--ease); }
@media (hover: hover) {
  .button:hover > .icon, .text-link:hover > .icon, .text-link:hover > span[aria-hidden], .nav-cta:hover > .icon { transform: translateX(3px); }
  .text-link[href^="#"]:hover > span[aria-hidden] { transform: translateY(3px); }
}

/* Original Vision: compact editorial reading, with the source architecture. */
.vision-head { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 80px; padding-block: 57px 55px; border-bottom: 1px solid var(--rule); }
.vision-head h1 { font-size: 70px; line-height: 1.08; letter-spacing: -2.5px; margin-top: 20px; }
.vision-head h1 span { color: var(--coral); }
.vision-head > div:last-child { padding-bottom: 7px; }
.vision-head > div:last-child > p { font-size: 23px; line-height: 1.55; color: var(--body); max-width: 420px; }
.vision-head .text-link { margin-top: 24px; }
.vision-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 67px; padding-top: 50px; }
.contents { position: sticky; top: calc(var(--nav-offset) + 33px); align-self: start; display: flex; flex-direction: column; gap: 17px; font-size: 13px; color: var(--muted); transition: top .32s var(--ease); }
.contents .eyebrow { margin-bottom: 10px; }
.contents a:hover, .contents a[aria-current="location"] { color: var(--action); }
.vision-body section { margin-bottom: 66px; scroll-margin-top: 12px; }
.vision-body section > h2 { font-size: 31px; line-height: 1.3; letter-spacing: -.6px; margin-top: 13px; }
.vision-body section > p:not(.eyebrow):not(.source-note) { margin-top: 20px; font-size: 16px; line-height: 1.9; color: var(--body); max-width: 66ch; }
.workflow-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; background: var(--soft); padding: 24px; margin-top: 26px; }
.workflow-compare .eyebrow { font-size: 11px; letter-spacing: 1px; }
.workflow-parts { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 17px; }
.workflow-parts > span { padding: 12px 8px; border: 1px solid #ddd9d1; background: white; font-size: 13px; }
.workflow-parts > i { font-style: normal; color: #82796b; }
.unified-parts { background: #fae7e0; color: var(--tint-ink); text-align: center; margin-top: 17px; padding: 13px 5px; font-size: 13px; }
.unified-parts > span { margin-inline: 4px; }
.source-note { margin-top: 13px; }
.architecture-explorer { display: grid; grid-template-columns: 1.12fr 1fr; gap: 24px; margin-top: 27px; }
.layer-buttons { display: grid; gap: 7px; align-self: start; }
.layer-buttons button { min-height: 62px; border: 1px solid transparent; display: flex; align-items: center; gap: 13px; text-align: left; padding: 14px 18px; background: #fff1ed; font-size: 16px; color: #a35042; }
.layer-buttons button > span { font-size: 25px; width: 19px; font-weight: 300; }
.layer-buttons button > i { margin-left: auto; font-style: normal; }
.layer-buttons button > i .icon { width: 18px; height: 18px; }
.layer-buttons button:hover { border-color: #d3ac9c; }
.layer-buttons button.selected { background: #fbe5dc; border-color: #d5ab98; color: #944131; }
.layer-description { background: #f8f7f3; padding: 24px; align-self: stretch; }
.layer-description .eyebrow { font-size: 11px; letter-spacing: 1px; color: var(--action); }
.layer-description h3 { font-size: 25px; line-height: 1.35; letter-spacing: -.4px; margin-top: 18px; min-height: 2.7em; }
.layer-description p { font-size: 15px; line-height: 1.85; color: var(--body); margin-top: 17px; min-height: 7.4em; }
.layer-description > a { font-size: 13px; margin-top: 24px; }
.vision-directions article { display: flex; gap: 25px; border-bottom: 1px solid var(--rule); padding: 27px 0; }
.vision-directions article > span { font-size: 14px; color: var(--action); margin-top: 3px; }
.vision-directions h3 { font-size: 21px; }
.vision-directions p { font-size: 15px; line-height: 1.85; color: var(--body); margin-top: 10px; }
.vision-directions small { font-size: 12px; color: var(--muted); display: block; margin-top: 12px; }
.scope-board { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 26px; padding: 25px; background: var(--soft); }
.scope-board h3 { font-size: 17px; }
.scope-board ul { list-style: none; padding: 0; margin: 15px 0 0; font-size: 13px; color: var(--body); }
.scope-board li { position: relative; padding-left: 15px; margin-top: 8px; }
.scope-board li::before { content: '–'; position: absolute; left: 0; color: var(--action); }
.vision-body section > .button { margin-top: 25px; }

@media (min-width: 1500px) {
  .home-hero { padding-block: 76px 84px; gap: 90px; }
}
@media (min-width: 901px) {
  .workspace-toolbar { position: sticky; top: var(--nav-offset); z-index: 6; background: #fff; transition: top .32s var(--ease); }
  .workspace-sidebar { position: sticky; top: calc(var(--nav-offset) + 70px); align-self: start; min-height: min(740px, calc(100dvh - 146px)); max-height: calc(100dvh - 146px); overflow-y: auto; transition: top .32s var(--ease); }
}
@media (max-width: 1150px) {
  .container { width: calc(100% - 72px); }
  .home-hero { gap: 48px; }
  .hero-copy h1 { font-size: 64px; }
  .stone-crop { width: 146px; height: 250px; }
  .demo-layout { gap: 30px; }
  .demo-intro h2 { font-size: 36px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-deck { font-size: 21px; }
  .actions { gap: 18px; }
  .hero-copy .actions > .text-link { font-size: 13px; }
  .mini-document { padding-inline: 21px; }
  .story-action { gap: 10px; }
  .workspace-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .workspace-main { padding-inline: 22px; }
  .page-canvas { padding: 27px 25px; }
  .workspace-sidebar { padding-inline: 10px; }
  .workspace-location { gap: 9px; font-size: 12px; }
  #breadcrumb { max-width: 140px; }
  .vision-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 40px; }
  .vision-head { gap: 55px; }
  .workflow-compare { grid-template-columns: 1fr; }
  .architecture-explorer { grid-template-columns: 1fr; }
  .layer-description { padding: 23px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .wide-container, .nav-inner { width: calc(100% - 40px); }
  .home-hero { gap: 35px; padding-block: 42px 54px; grid-template-columns: 1.15fr .85fr; }
  .hero-copy { max-width: 620px; }
  .hero-copy h1 { font-size: 56px; letter-spacing: -2.4px; }
  .stone-crop { width: 126px; height: 216px; }
  .hero-quotation { font-size: 18px; }
  .home-demo-section { padding-block: 38px 46px; }
  .demo-layout { gap: 26px; }
  .demo-intro h2 { font-size: 32px; }
  .demo-intro > p:not(.eyebrow) { font-size: 15px; }
  .demo-next { font-size: 13px; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-deck { font-size: 19px; }
  .hero-lead { font-size: 15px; }
  .actions { align-items: center; flex-direction: row; gap: 22px; }
  .quiet-note { font-size: 11px; }
  .experiment-top { padding: 8px 14px; }
  .experiment-top .eyebrow { font-size: 9px; letter-spacing: .8px; }
  .mini-document { padding-inline: 17px; }
  .mini-title h3 { font-size: 21px; }
  .story-action > span { display: none; }
  .story-view .connection-label { display: none; }
  .story-steps { padding-inline: 16px; font-size: 11px; }
  .story-instruction { padding-inline: 16px; font-size: 11px; }
  .story-steps > span { gap: 5px; }
  .section-heading h2 { font-size: 29px; }
  .principles-grid { gap: 25px; }
  .principles-grid article { padding-left: 24px; }
  .principles-grid h3 { font-size: 17px; }
  .principles-grid p { font-size: 13px; }
  .playground-head { align-items: start; }
  .playground-head h1 { font-size: 32px; }
  .playground-head > a { display: none; }
  .quickstart { padding-inline: 18px; }
  .quickstart ol { gap: 15px; }
  .quickstart li { gap: 8px; }
  .quickstart strong { font-size: 13px; }
  .quickstart li p { font-size: 12px; }
  .workspace-layout { grid-template-columns: 1fr; }
  .workspace-sidebar { display: none; }
  .workspace-location { display: none; }
  .workspace-actions { width: 100%; }
  .toolbar-add { display: inline-flex; margin-left: auto; }
  .workspace-main { padding: 0 30px 30px; }
  .page-canvas { padding: 32px; max-width: 720px; }
  .mobile-page-picker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 13px; }
  .mobile-page-picker label { color: var(--muted); }
  .mobile-page-picker select { min-height: 40px; background: white; border: 1px solid #d6d0c4; padding: 7px 30px 7px 10px; font-size: 13px; max-width: 230px; }
  .block-controls { opacity: 1; }
  .block-controls button { width: 38px; height: 38px; }
  .drag-handle { display: none !important; }
  .vision-head h1 { font-size: 59px; }
  .vision-head > div:last-child > p { font-size: 20px; }
  .vision-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 27px; }
  .contents { flex-direction: row; flex-wrap: wrap; position: static; border-bottom: 1px solid var(--rule); padding-bottom: 22px; gap: 14px 23px; }
  .contents .eyebrow { display: none; }
  .architecture-explorer { grid-template-columns: 1.1fr 1fr; }
  .workflow-compare { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .story-flow { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
  .story-connection .icon { transform: none; }
  .story-view { min-height: 140px; padding: 17px 20px; }
  .story-action { margin-top: 15px; }
}
@media (max-width: 650px) {
  :root { --nav-height: 68px; }
  .wordmark { font-size: 33px; }
  .nav-inner nav { gap: 17px; font-size: 12px; }
  .nav-inner nav > .home-nav { display: none; }
  .nav-inner .nav-cta { min-height: 40px; padding: 7px 10px; gap: 7px; }
  .nav-cta .icon { width: 15px; height: 15px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) 78px; grid-template-areas: 'eyebrow eyebrow' 'title stone' 'quote quote' 'deck deck' 'lead lead' 'actions actions' 'note note'; column-gap: 12px; row-gap: 0; padding-block: 35px 40px; }
  .hero-copy, .hero-art { display: contents; }
  .hero-copy > .eyebrow { grid-area: eyebrow; }
  .hero-title-block { grid-area: title; margin-top: 20px; }
  .hero-stone { grid-area: stone; margin-top: 20px; }
  .hero-quotation { grid-area: quote; text-align: left; }
  .hero-deck { grid-area: deck; }
  .hero-lead { grid-area: lead; }
  .hero-copy .actions { grid-area: actions; }
  .hero-copy .quiet-note { grid-area: note; }
  .hero-copy h1 { font-size: clamp(42px, 11.7vw, 65px); letter-spacing: -1.9px; }
  .stone-crop { width: 78px; height: 136px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .5px; }
  .hero-quotation { font-size: 17px; margin-top: 23px; }
  .hero-deck { font-size: 21px; margin-top: 19px; }
  .hero-lead { font-size: 16px; margin-top: 12px; max-width: 390px; }
  .actions { flex-direction: row; align-items: center; gap: 16px; margin-top: 23px; }
  .actions .button { font-size: 13px; padding-inline: 13px; gap: 11px; }
  .hero-copy .actions > .text-link { font-size: 13px; }
  .hero-copy .quiet-note { font-size: 12px; max-width: 340px; }
  .experiment-top { padding: 9px 17px; }
  .experiment-top .icon-button { width: 44px; height: 36px; }
  .experiment-top .eyebrow { font-size: 10px; }
  .mini-document { padding: 22px 20px 18px; }
  .home-demo-section { padding-block: 30px 38px; }
  .demo-layout { grid-template-columns: 1fr; gap: 25px; }
  .demo-intro { padding-top: 0; max-width: none; }
  .demo-intro h2 { font-size: 31px; margin-top: 13px; }
  .demo-intro > p:not(.eyebrow) { margin-top: 13px; max-width: 48ch; }
  .mini-title h3 { font-size: 24px; }
  .story-table { font-size: 15px; }
  .story-table input { min-height: 40px; font-size: 16px; }
  .story-connection { font-size: 11px; }
  .story-view { min-height: 132px; }
  .story-view .chart-heading { font-size: 13px; margin-bottom: 12px; }
  .story-bars .chart-row { font-size: 12px; grid-template-columns: 72px 1fr 24px; }
  .story-bars { gap: 10px; }
  .story-bars .chart-track { height: 8px; }
  .small-button { font-size: 13px; min-height: 44px; }
  .button-result { min-height: 3.3em; }
  .story-steps { padding: 13px 18px; font-size: 12px; }
  .story-instruction { font-size: 12px; padding: 12px 18px; min-height: calc(3.3em + 25px); }
  .possibilities { padding-block: 31px 35px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > a { margin-top: 18px; }
  .principles-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 28px; }
  .principles-grid article { padding-left: 34px; }
  .principles-grid h3 { font-size: 20px; }
  .principles-grid p { font-size: 15px; margin-top: 8px; max-width: none; }
  .principle-number { top: 4px; font-size: 13px; }
  .scope-note.container { padding-block: 20px 26px; }
  .site-footer { gap: 17px; padding-block: 23px; }
  .site-footer > p { font-size: 12px; }
  .site-footer > a:not(.wordmark) { width: 100%; margin-left: 0; font-size: 13px; }
  .playground-head { padding-block: 27px 22px; }
  .playground-head h1 { font-size: 32px; max-width: 330px; line-height: 1.2; margin-top: 12px; }
  .playground-head p:not(.eyebrow) { font-size: 15px; max-width: 290px; margin-top: 12px; }
  .quickstart { padding: 13px 14px 17px; margin-bottom: 22px; }
  .quickstart-heading { gap: 12px; }
  .quickstart-heading .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .quickstart-heading > button { font-size: 12px; min-height: 35px; }
  .quickstart ol { display: none; }
  .quickstart #guide-status { position: static; width: auto; height: auto; min-height: 3.5em; clip-path: none; white-space: normal; font-size: 14px; line-height: 1.75; margin-top: 6px; color: var(--body); }
  .quickstart li { gap: 11px; }
  .quickstart strong { font-size: 14px; }
  .quickstart li p { font-size: 12px; margin-top: 0; }
  .quickstart li > span { width: 28px; height: 28px; }
  .wide-container { width: calc(100% - 32px); }
  .workspace-toolbar { align-items: center; padding: 12px; }
  .workspace-location { font-size: 12px; gap: 10px; }
  #breadcrumb { max-width: 140px; }
  .workspace-actions { justify-content: space-between; gap: 8px; }
  .mode-switch button { min-height: 38px; font-size: 13px; padding-inline: 12px; }
  .toolbar-add { min-height: 44px; width: 44px; padding: 10px; }
  .toolbar-add > span, .export-button .wide-label { display: none; }
  .export-button { min-height: 44px; font-size: 12px; padding-inline: 10px; }
  .workspace-main { padding: 0 0 18px; background: #fff; }
  .canvas-toolbar { padding: 9px 14px; gap: 6px; font-size: 11px; background: var(--soft); }
  .canvas-toolbar .text-button { font-size: 12px; }
  .canvas-toolbar .icon { width: 14px; height: 14px; }
  .mobile-page-picker { font-size: 12px; gap: 10px; padding: 12px 14px 0; margin-bottom: 0; }
  .mobile-page-picker select { min-height: 44px; font-size: 14px; max-width: 210px; padding-right: 12px; }
  .page-canvas { padding: 25px 16px; min-height: 500px; border: 0; }
  .page-canvas > .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  #page-title { font-size: 29px; margin-top: 11px; min-height: 39px; }
  .page-subtitle { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
  .demo-block { margin-block: 20px; padding-top: 8px; }
  .component-heading { gap: 4px; min-height: 44px; margin-bottom: 10px; }
  .component-kicker { font-size: 11px; gap: 5px; }
  .component-kicker .icon { width: 14px; height: 14px; }
  .block-controls { gap: 0; }
  .block-controls button { width: 44px; height: 44px; padding: 11px; }
  .block-controls .icon { width: 17px; height: 17px; }
  .text-block { font-size: 14px; line-height: 1.85; }
  .data-table { font-size: 13px; }
  .data-table th { font-size: 11px; padding: 10px 7px; }
  .data-table th:first-child { width: 43%; }
  .data-table th:nth-child(2) { width: 32%; }
  .data-table th:last-child { width: 25%; }
  .data-table td { padding: 10px 7px; font-size: 13px; }
  .data-table td:nth-child(2) { font-size: 12px; }
  .table-number { min-height: 40px; padding-inline: 0; font-size: 16px; }
  .table-actions { padding-inline: 3px; gap: 8px; }
  .table-actions button { font-size: 11px; min-height: 44px; padding: 8px 4px; }
  .chart-block { padding: 15px 12px; }
  .chart-heading { display: block; font-size: 14px; margin-bottom: 15px; }
  .chart-heading .connection-label { display: block; margin-top: 5px; font-size: 11px; }
  .chart-row { grid-template-columns: 82px 1fr 25px; gap: 8px; font-size: 12px; }
  .chart-track { height: 9px; }
  .source-control { flex-wrap: wrap; gap: 6px 9px; }
  .source-control select { font-size: 13px; min-height: 44px; max-width: 180px; }
  .action-description { font-size: 13px; }
  .demo-action { width: 100%; justify-content: space-between; font-size: 13px; padding-inline: 12px; }
  .workspace-status { padding: 12px 14px; font-size: 11px; }
  #block-count { display: none; }
  .playground-caption { font-size: 12px; line-height: 1.85; margin-top: 15px; }
  .vision-head { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 34px; }
  .vision-head h1 { font-size: 57px; letter-spacing: -2px; margin-top: 19px; }
  .vision-head > div:last-child > p { font-size: 20px; max-width: 330px; }
  .vision-head .text-link { font-size: 13px; margin-top: 18px; }
  .contents { gap: 13px 18px; font-size: 12px; }
  .vision-body section { margin-bottom: 47px; }
  .vision-body section > h2 { font-size: 28px; line-height: 1.3; }
  .vision-body section > p:not(.eyebrow):not(.source-note) { font-size: 16px; line-height: 1.85; }
  .workflow-compare { grid-template-columns: 1fr; padding: 21px; gap: 27px; }
  .workflow-parts > span { font-size: 12px; padding-inline: 8px; }
  .unified-parts { font-size: 13px; }
  .architecture-explorer { grid-template-columns: 1fr; gap: 18px; }
  .layer-buttons button { font-size: 16px; min-height: 63px; }
  .layer-buttons button:not(.selected) > i .icon { transform: rotate(90deg); }
  .layer-description { scroll-margin-bottom: 24px; }
  .layer-description { padding: 24px; }
  .layer-description h3 { font-size: 26px; }
  .layer-description p { font-size: 16px; }
  .vision-directions article { gap: 18px; padding-block: 24px; }
  .vision-directions h3 { font-size: 21px; }
  .vision-directions p { font-size: 15px; }
  .scope-board { grid-template-columns: 1fr; padding: 23px; gap: 27px; }
  .scope-board h3 { font-size: 18px; }
  .scope-board ul { font-size: 14px; }
  .vision-body section > .button { font-size: 13px; padding-inline: 13px; gap: 14px; }
}
@media (max-width: 360px) {
  .layer-description h3 { min-height: 4.05em; }
  .layer-description p { min-height: 9.25em; }
  .quickstart #guide-status { min-height: 5.25em; }
  .nav-inner { width: calc(100% - 28px); }
  .nav-inner nav { gap: 12px; font-size: 11px; }
  .wordmark { font-size: 28px; }
  .nav-inner .nav-cta { padding-inline: 9px; }
  .nav-cta .icon { display: none; }
  .container { width: calc(100% - 36px); }
  .vision-head h1 { font-size: 48px; letter-spacing: -1.7px; }
  .workflow-compare { padding: 16px; }
  .workflow-parts { gap: 3px; }
  .workflow-parts > span { font-size: 11px; padding-inline: 5px; }
  .wide-container { width: calc(100% - 24px); }
  .actions { gap: 17px; }
  .hero-copy .actions > .text-link { font-size: 13px; }
  .story-steps { font-size: 11px; padding-inline: 13px; }
  .story-instruction { padding-inline: 13px; }
  .mini-document { padding-inline: 15px; }
  .workspace-main { padding-inline: 0; }
  .page-canvas { padding-inline: 12px; }
  .component-kicker { font-size: 10px; }
  .block-controls button { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
