:root {
  --canvas: #fcfcf8;
  --surface: #ffffff;
  --ink: #173b30;
  --muted: #40564c;
  --brand: #123c32;
  --brand-dark: #0b2c25;
  --accent: #ceeb91;
  --line: #cbd3c9;
  --line-dark: rgba(235, 241, 227, .23);
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.1875rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
h1, h2, h3, h4, h5 { font-weight: 500; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }
[hidden] { display: none!important; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #587234; outline-offset: 5px; }
.control-section :focus-visible, .design-study :focus-visible, .demo-topbar :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--brand-dark); }
.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; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--accent); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.container { width: min(1240px, calc(100% - 6rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 1.8rem; font-size: 1.0625rem; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }
.section { padding-block: 6rem; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.35rem, 4.15vw, 3.8rem); line-height: 1.13; letter-spacing: -.045em; }
h2 em, h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: .4rem; font-size: 1.125rem; line-height: 1.4; font-weight: 600; text-align: center; text-decoration: none; transition: background .18s ease, color .18s ease; }
.button-primary { background: var(--brand); color: #fffefb; }
.button-primary:hover { background: var(--brand-dark); }
.text-link { display: inline-block; width: fit-content; font-size: 1.125rem; font-weight: 500; text-decoration: underline; text-decoration-color: #91a291; }
.text-link:hover { text-decoration-color: currentColor; }

/* Delven's opening and a focused view of the work. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 5.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.75rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .7rem; flex-shrink: 0; font-size: 1.55rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; text-decoration: none; }
.wordmark img { display: block; width: 8.5rem; height: auto; }
.primary-nav { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-left: auto; }
.primary-nav a { font-size: 1.125rem; text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .mobile-contact { display: none; }
.nav-cta { min-height: 2.8rem; padding: .6rem 1.25rem; }
.menu-toggle { display: none; }
.hero { padding: 4.5rem 0 3rem; }
.hero-inner { text-align: center; }
.hero .eyebrow { display: inline-block; margin-bottom: 2rem; }
h1 { max-width: 16ch; margin: 0 auto; font-size: clamp(3.65rem, 7.4vw, 7rem); line-height: 1.02; font-weight: 500; letter-spacing: -.065em; }
h1 > span, h1 > em { display: block; }
h1 > em { margin-top: .06em; color: var(--brand); }
.hero-description { max-width: 42rem; margin: 2rem auto 1.7rem; font-size: 1.375rem; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.hero-actions .button { min-height: 3.4rem; padding-inline: 1.65rem; }
.button-outline { border-color: #aebbad; background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--brand); background: #eef2e8; }
.hero-note { margin: 1.35rem auto 0; font-size: 1.0625rem; color: var(--muted); }
.engagement-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; list-style: none; margin: 2.75rem 0 0; padding: 1.15rem 0 0; border-top: 1px solid var(--line); }
.engagement-facts a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-size: 1.0625rem; text-decoration: none; }
.engagement-facts a:hover { text-decoration: underline; }
.engagement-facts a > span { color: var(--muted); }
.showcase-section { padding: 1rem 0 5rem; }
.showcase-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 1.1rem; }
.showcase-heading h2 { font-size: 1.75rem; letter-spacing: -.025em; margin: 0; }
.showcase-heading p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.workflow-demo { min-width: 0; scroll-margin-top: 6rem; }
.demo-window { border: 1px solid #adbdae; border-radius: .7rem; background: var(--surface); box-shadow: 0 22px 65px rgba(18, 60, 50, .08); overflow: hidden; }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; background: var(--brand); color: var(--canvas); padding: 1rem 1.5rem; }
.demo-topbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; }
.demo-topbar strong { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.025em; }
.demo-topbar strong img { width: 1.5rem; height: 1.5rem; }
#demo-run-label { font-family: var(--mono); color: #d3dfd5; font-size: 1rem; }
.demo-controls { margin-left: auto; }
.run-status { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; }
.run-status i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); }
.console-button { min-height: 2.75rem; padding: .3rem .65rem; border: 1px solid #678576; border-radius: .25rem; background: transparent; color: var(--canvas); font-size: 1.0625rem; }
.console-button:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.console-button:disabled { opacity: .7; cursor: default; }
.play-control:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }
.play-control:hover:not(:disabled) { background: #dcedb3; }
.compact-picker { display: none; }
.compact-picker label { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.compact-picker select { width: 100%; min-width: 0; min-height: 3rem; padding: .6rem 2rem .6rem .75rem; border: 1px solid #7c8c77; border-radius: .3rem; background: var(--surface); color: var(--ink); font: inherit; font-size: 1.125rem; line-height: 1.4; }
.demo-mode-switch { display: flex; gap: .5rem; padding: .7rem 1.8rem; border-bottom: 1px solid var(--line); }
.demo-mode-button { min-height: 2.75rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: .3rem; background: transparent; color: var(--muted); font-size: 1.0625rem; }
.demo-mode-button[aria-pressed='true'] { color: var(--ink); background: #edf4e3; border-color: var(--brand); font-weight: 600; }
.workflow-demo[data-demo-mode='watch'] .demo-run-header { display: none; }

/* A continuous, readable app playback, with one scene on screen. */
.walkthrough-player { padding: 1.8rem; }
.tour-app-window { border: 1px solid #bcc8b5; border-radius: .4rem; overflow: hidden; background: var(--surface); }
.tour-app-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); background: #f5f7f0; }
.tour-app-bar > div { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.tour-app-bar strong { font-size: 1.125rem; font-weight: 600; }
.tour-app-bar strong { min-width: 0; overflow-wrap: anywhere; }
.tour-app-bar > span { font-size: 1rem; color: var(--muted); }
.tour-business-context { font-size: 1.0625rem; color: var(--muted); line-height: 1.5; margin: 0 0 .9rem; }
.tour-app-bar > .tour-app-labels { display: grid; gap: .15rem; text-align: right; margin-left: auto; }
.tour-app-labels > span { font-size: 1rem; color: var(--muted); line-height: 1.4; }
.tour-app-labels > span:last-child { color: var(--ink); }
.tour-app-layout { display: grid; grid-template-columns: 9rem minmax(0, 1fr); }
.tour-sidebar { display: flex; flex-direction: column; gap: .3rem; padding: 1rem .65rem; border-right: 1px solid var(--line); background: #f8faf5; }
.tour-sidebar > span { padding: .55rem .65rem; border-radius: .25rem; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.tour-sidebar > .is-active { color: var(--ink); font-weight: 600; background: #e7efd9; }
.tour-app-main { min-width: 0; height: 27rem; overflow-y: auto; position: relative; padding: 1.5rem; scrollbar-width: thin; scrollbar-color: #9db18a transparent; }
.tour-view { min-width: 0; }
.tour-view h3 { font-size: 1.4rem; line-height: 1.4; letter-spacing: -.025em; margin: 0 0 1.25rem; }
.tour-reference { display: block; font-family: var(--mono); font-size: 1rem; color: var(--muted); margin-bottom: .75rem; }
.tour-inbox-item { display: grid; grid-template-columns: .5rem minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding: 1.1rem; border: 1px solid #abc18f; border-radius: .3rem; background: #eff5e5; }
.tour-unread-dot { display: block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--brand); margin-top: .5rem; }
.tour-inbox-item strong, .tour-inbox-item p { font-size: 1.125rem; line-height: 1.5; }
.tour-inbox-item p { margin: .35rem 0; }
.tour-inbox-item div > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.tour-inbox-item small { font-size: 1rem; color: var(--muted); }
.tour-other-mail { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem; padding: 1rem; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.tour-message-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 1.0625rem; margin-bottom: 1rem; }
.tour-message-meta > span { color: var(--muted); }
.tour-message-body { font-size: 1.1875rem; line-height: 1.65; min-height: 1.65em; white-space: pre-line; margin: 0 0 1.25rem; overflow-wrap: anywhere; }
.tour-send-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.tour-send-strip > span:last-child { font-size: 1rem; color: var(--muted); }
.tour-action { display: inline-flex; align-items: center; position: relative; min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid var(--brand); border-radius: .3rem; font-size: 1.0625rem; line-height: 1.4; color: var(--canvas); background: var(--brand); }
.tour-send-strip.is-sent .tour-action, .tour-review-layout.is-approved .tour-action { background: #e8f1db; color: var(--ink); border-color: #9db57d; }
.tour-confirmation { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid #70904f; background: #f0f6e6; color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
.tour-fields { margin: 0; }
.tour-fields > div { display: grid; grid-template-columns: minmax(6rem, .65fr) minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.tour-fields dt { font-size: 1.0625rem; color: var(--muted); }
.tour-fields dd { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.tour-record-sources { margin: 1rem 0 0; font-size: 1rem; color: var(--muted); }
.tour-review-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.tour-review-card { padding: 1.1rem; border: 1px solid #c9bb8a; border-radius: .35rem; background: #f8f4e4; }
.tour-review-card > span:first-child { display: block; font-size: 1rem; color: var(--muted); margin-bottom: .65rem; }
.tour-review-card h4 { font-size: 1.1875rem; line-height: 1.45; margin-bottom: 1rem; }
.tour-review-card p { font-size: 1rem; line-height: 1.5; color: var(--muted); margin: 1rem 0 0; }
.tour-cursor { width: 1.4rem; height: 1.4rem; position: absolute; right: -.5rem; bottom: -.6rem; opacity: 0; }
.tour-playing .is-reviewing .tour-cursor { opacity: 1; animation: tour-review-click 1.2s ease infinite; }
.tour-chat-message { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; padding: 1.1rem; border: 1px solid #c5bed6; border-radius: .35rem; background: #f7f5fb; }
.tour-chat-author { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-size: 1.0625rem; }
.tour-chat-author span { font-size: 1rem; color: var(--muted); }
.tour-chat-message p { margin: .65rem 0; font-size: 1.125rem; line-height: 1.6; }
.tour-chat-message .tour-reference { margin-bottom: 0; }
.tour-chat-pending { font-size: 1.125rem; color: var(--muted); }
.tour-complete-list { list-style: none; padding: 0; margin: 0; }
.tour-complete-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); font-size: 1.125rem; }
.tour-complete-list li::before { content: ''; flex-shrink: 0; width: .4rem; height: .75rem; border-right: 2px solid #587d3a; border-bottom: 2px solid #587d3a; transform: rotate(45deg); margin: 0 .2rem .25rem; }
.tour-agent-source { font-size: 1.0625rem; color: var(--muted); line-height: 1.5; margin-bottom: 1.1rem; }
.tour-agent-checks { margin: 0; }
.tour-agent-checks > div { display: grid; grid-template-columns: minmax(7rem, .7fr) minmax(0, 1.3fr) auto; align-items: baseline; gap: .5rem 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.tour-agent-checks dt { font-size: 1.0625rem; color: var(--muted); }
.tour-agent-checks dd { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.tour-agent-checks div > span { font-size: 1rem; color: var(--muted); }
.tour-agent-checks .is-flagged > span { color: #705019; }
.tour-agent-checks .is-checked > span { color: var(--brand); }
.tour-agent-result { padding: .9rem 1rem; margin-top: 1rem; border-left: 3px solid #789a50; background: #f0f6e8; }
.tour-agent-result p { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.tour-agent-result > span { display: block; font-size: 1rem; color: var(--muted); margin-top: .5rem; }
.tour-agent-inspector { padding-top: .9rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.tour-agent-inspector > summary { cursor: pointer; min-height: 2.75rem; padding: .5rem 0; font-size: 1.0625rem; }
.tour-agent-inspector .tour-fields { margin-top: .6rem; }
.tour-chapter-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; margin-top: .5rem; }
.tour-chapter-picker label { font-size: 1rem; color: var(--muted); }
.tour-chapter-picker select { min-width: 0; width: 100%; min-height: 2.75rem; padding: .5rem 2rem .5rem .65rem; border: 1px solid #7c8c77; border-radius: .3rem; background: var(--surface); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.tour-audit-list { list-style: none; padding: 0; margin: 0; }
.tour-audit-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.tour-audit-list li > span { font: 1rem var(--mono); color: var(--muted); padding-top: .2rem; }
.tour-audit-list strong { font-size: 1.0625rem; font-weight: 600; }
.tour-audit-list p { font-size: 1.0625rem; color: var(--muted); line-height: 1.5; margin: .3rem 0 0; }
.tour-pending-work { margin: 1rem 0 0; padding: .85rem 1rem; background: #f7f3e3; border-left: 3px solid #b5a465; font-size: 1.0625rem; line-height: 1.5; }
.tour-caption { margin-top: 1.1rem; }
.tour-caption > span { display: block; font-size: 1rem; color: var(--muted); margin-bottom: .35rem; }
.tour-caption p { font-size: 1.1875rem; line-height: 1.5; margin: 0; }
.tour-timeline { margin-top: 1rem; }
.tour-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
#tour-time { font-family: var(--mono); color: var(--muted); font-size: 1rem; }
#tour-seek { display: block; width: 100%; margin: 0; min-height: 2.75rem; accent-color: var(--brand); cursor: pointer; }
.tour-playing .is-arriving, .tour-playing .tour-chat-message { animation: tour-arrive .45s ease-out; }
.tour-playing #tour-record-view.is-updated { animation: tour-arrive .45s ease-out; }
.tour-playing .is-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; vertical-align: -.1em; margin-left: .2rem; background: var(--brand); animation: tour-caret .7s step-end infinite; }
@keyframes tour-arrive { from { opacity: .15; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes tour-caret { 50% { opacity: 0; } }
@keyframes tour-review-click { 0%, 100% { transform: translate(.25rem, .25rem); } 50% { transform: translate(-.25rem, -.25rem) scale(.94); } }
@media (max-width: 800px) {
  .tour-app-layout { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .tour-review-layout { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .demo-window { overflow: clip; }
  .demo-topbar { position: sticky; top: 4.8rem; z-index: 10; }
  .demo-mode-switch { padding: .6rem 1rem; }
  .demo-mode-button { flex: 1; }
  .walkthrough-player { padding: 1rem; }
  .tour-app-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 7.5rem; padding: .8rem 1rem; }
  .tour-app-bar > .tour-app-labels { margin-left: 0; }
  .tour-app-window { scroll-margin-top: 7.5rem; }
  .tour-app-window { --tour-chrome: 22rem; }
  .tour-app-window[data-tour-view='mail'] { --tour-chrome: 25.5rem; }
  .tour-app-layout { grid-template-columns: 1fr; }
  .tour-sidebar { display: none; flex-direction: row; justify-content: stretch; gap: .25rem; padding: .5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .tour-app-window[data-tour-view='mail'] .tour-sidebar { display: flex; }
  .tour-sidebar > span { flex: 1; min-width: 0; text-align: center; padding: .5rem .35rem; overflow-wrap: anywhere; }
  .tour-app-main { height: 24rem; height: clamp(12rem, calc(100svh - var(--tour-chrome)), 30rem); padding: 1rem; }
  .tour-inbox-item { grid-template-columns: .4rem minmax(0, 1fr); gap: .6rem; padding: .9rem; }
  .tour-inbox-item small { grid-column: 2; }
  .tour-view h3 { font-size: 1.25rem; }
  .tour-fields > div { grid-template-columns: 1fr; gap: .3rem; padding-block: .7rem; }
  .tour-agent-checks > div { grid-template-columns: 1fr; gap: .25rem; padding-block: .7rem; }
  .tour-chapter-picker { grid-template-columns: 1fr; gap: .4rem; }
  .tour-audit-list li { gap: .65rem; }
  .tour-review-card, .tour-chat-message { padding: .9rem; }
  .tour-chat-message { grid-template-columns: 1fr; }
  .tour-caption p { font-size: 1.125rem; }
  #tour-replay { grid-column: 2; grid-row: 2; }
}
.scenario-switcher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .5rem; gap: .35rem; background: #eef2e8; border-bottom: 1px solid var(--line); }
.scenario-switcher button { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .6rem .75rem; border: 1px solid transparent; border-radius: .35rem; color: var(--muted); background: transparent; font-size: 1.0625rem; line-height: 1.45; }
.scenario-switcher button > span { font-family: var(--mono); font-size: 1rem; }
.scenario-switcher button[aria-selected='true'] { background: var(--surface); color: var(--ink); border-color: #c4cebd; box-shadow: 0 2px 4px rgba(18, 60, 50, .05); font-weight: 600; }
.scenario-switcher button:hover { color: var(--ink); }
.demo-run-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); }
.demo-kicker { display: block; margin-bottom: .45rem; color: var(--muted); font-size: 1rem; }
.demo-run-header h2 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.scenario-summary { max-width: 49rem; margin: .7rem 0 0; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.illustrative-label { flex-shrink: 0; color: var(--muted); border: 1px solid var(--line); border-radius: .25rem; padding: .3rem .6rem; font-size: 1rem; }

/* A concrete path from familiar software through the customer's own system. */
.tool-map { padding: 1.3rem 1.8rem; background: #f5f7ef; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.tool-map > summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; cursor: pointer; list-style: none; }
.tool-map > summary::-webkit-details-marker { display: none; }
.tool-map > summary strong { display: block; font-size: 1.125rem; line-height: 1.4; font-weight: 500; }
.tool-map > summary > span > span { display: block; color: var(--muted); font-size: 1rem; margin-top: .2rem; }
.tool-map[open] .expand-symbol { font-size: 0; }
.tool-map[open] .expand-symbol::after { content: '−'; font-size: 1.25rem; }
.tool-map-content { margin-top: 1.3rem; }
.tool-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.tool-map-heading p { margin: 0; color: var(--muted); font-size: 1rem; }
.tool-config-field { min-width: 0; max-width: 25rem; }
.tool-config-field label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: 1rem; }
.tool-config-field select { display: block; max-width: 100%; min-height: 2.75rem; padding: .5rem 2rem .5rem .7rem; border: 1px solid #7c8c77; border-radius: .25rem; background: var(--surface); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.tool-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; list-style: none; padding: 0; margin: 0; }
.tool-stages li { min-width: 0; }
.tool-stages button { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 9.5rem; gap: .4rem; padding: 1rem; text-align: left; background: var(--surface); color: var(--ink); border: 1px solid #bac6b1; border-radius: .3rem; }
.tool-stages button:hover { border-color: var(--brand); }
.tool-stages button.is-current { background: #e9efde; border-color: #7c936a; }
.tool-stages button[aria-expanded='true'] { box-shadow: inset 0 0 0 1px var(--brand); }
.tool-stages .is-held { background: #f6f0d9; border-color: #b39e68; }
.tool-step-label { color: var(--muted); font-size: 1rem; }
.tool-stages strong { font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.tool-operation { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.tool-step-status { display: flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .45rem; font-size: 1rem; }
.tool-step-status::before { content: ''; width: .35rem; height: .35rem; border: 1px solid #7c936a; border-radius: 50%; flex-shrink: 0; }
.is-current .tool-step-status::before, .is-complete .tool-step-status::before { background: var(--brand); border-color: var(--brand); }
.is-held .tool-step-status::before { background: #7d631c; border-color: #7d631c; }
.tool-inspector { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; padding: 1.3rem; margin-top: .9rem; border: 1px solid #bac6b1; border-radius: .3rem; background: var(--surface); }
.tool-detail-copy { min-width: 0; }
.tool-detail-eyebrow { display: block; font-size: 1rem; color: var(--muted); margin-bottom: .45rem; }
.tool-detail-copy h4 { font-size: 1.3125rem; line-height: 1.4; margin-bottom: .65rem; }
.tool-detail-copy > p { font-size: 1.0625rem; color: var(--muted); margin-bottom: .7rem; }
.tool-detail-copy .tool-access { padding-top: .7rem; border-top: 1px solid var(--line); }
.tool-detail-copy .tool-detail-status { margin: 0; font-size: 1rem; color: var(--ink); }
.tool-record { min-width: 0; background: #f8faf4; padding: 1rem; border: 1px solid var(--line); border-radius: .25rem; }
.tool-record h4 { font-size: 1rem; color: var(--muted); margin-bottom: .75rem; }
.tool-record dl { margin: 0; }
.tool-record dl > div { display: grid; grid-template-columns: minmax(6rem, .65fr) 1fr; gap: .8rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.tool-record dt { color: var(--muted); font-size: 1rem; }
.tool-record dd { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.tool-map-note { margin: .8rem 0 0; color: var(--muted); font-size: 1rem; }
.showcase-workspace { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 1fr); }
.showcase-input { min-width: 0; padding: 2rem; border-right: 1px solid var(--line); }
.workspace-label { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; }
.workspace-label > span { display: grid; place-items: center; flex-shrink: 0; min-width: 2.25rem; min-height: 2.25rem; padding: .25rem; font-family: var(--mono); color: var(--brand); font-size: 1rem; border-bottom: 2px solid var(--accent); }
.workspace-label h3 { margin: 0; font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.message-card { padding: 0; background: transparent; border: 0; }
.message-channel { display: block; color: var(--muted); font-size: 1rem; margin-bottom: .9rem; }
.message-sender { display: flex; align-items: center; gap: .7rem; }
.sender-avatar { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; background: #e2ead8; color: var(--brand); border-radius: .35rem; font-size: 1.0625rem; }
.message-sender strong { display: block; font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.message-sender small { display: block; font-size: 1rem; line-height: 1.5; color: var(--muted); margin-top: .2rem; }
.message-subject { font-size: 1.125rem; font-weight: 600; line-height: 1.4; margin: 1.25rem 0 .8rem; }
#message-copy { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); margin-bottom: 1.25rem; }
.attachment { display: block; border-top: 1px solid var(--line); padding-top: .7rem; color: var(--muted); font-size: 1rem; overflow-wrap: anywhere; }
.source-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.source-list > span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .6rem; border: 1px solid #c6d0bb; border-radius: .25rem; font-size: 1.0625rem; background: transparent; }
.source-list i { width: .35rem; height: .35rem; border: 1px solid #8c9d8e; border-radius: 50%; }
.source-list .is-connected { background: #e9efde; }
.source-list .is-connected i { background: var(--brand); border-color: var(--brand); }
.prepared-work { min-width: 0; padding: 2rem; background: #f8faf4; border-right: 1px solid var(--line); }
.prepared-output { display: block; background: #f7f8f2; border: 1px solid #cdd5c4; border-left: 3px solid #819d53; border-radius: .25rem; padding: 1.2rem 1.3rem; transition: background .2s ease, border-color .2s ease; }
.prepared-output.is-visible { background: #eef3e3; border-color: #a4b989; }
.prepared-output strong { display: block; font-size: 1.45rem; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.prepared-output p { margin: .6rem 0 .75rem; color: var(--muted); font-size: 1.1875rem; }
.review-work { min-width: 0; padding: 2rem; }
.decision-card { padding: 0; background: transparent; border: 0; }
.decision-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .85rem; }
.decision-status > span { font-size: 1rem; line-height: 1.4; background: #f0eacb; color: #5b4b17; border: 1px solid #d6c68d; border-radius: .25rem; padding: .25rem .5rem; }
.decision-card.is-resolved .decision-status > span { background: #e5edda; border-color: #b3c397; color: var(--brand); }
.decision-card h3 { font-size: 1.3125rem; line-height: 1.4; margin: 0 0 .65rem; }
.evidence-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: 1.1rem; font-size: 1.0625rem; }
.evidence-row > span { color: var(--muted); font-size: 1rem; }
.evidence-row strong { font-weight: 500; }
.review-options { margin-top: .9rem; }
.review-options > summary { min-height: 2.75rem; padding: .6rem 0; cursor: pointer; list-style: none; font-size: 1.0625rem; text-decoration: underline; text-underline-offset: .25em; }
.review-options > summary::-webkit-details-marker { display: none; }
.review-options > summary::after { content: '+'; margin-left: .6rem; }
.review-options[open] > summary::after { content: '−'; }
.review-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.review-options .review-actions { margin-top: .6rem; }
.mini-button { min-height: 2.75rem; padding: .5rem .75rem; background: var(--surface); border: 1px solid #acbca6; border-radius: .3rem; color: var(--ink); font-size: 1.0625rem; }
.mini-button:first-child { background: var(--brand); border-color: var(--brand); color: var(--canvas); }
.mini-button:hover { border-color: var(--brand); }
.simulation-note { display: block; margin-top: .7rem; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.showcase-result { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem 1.8rem; background: #eff3e8; border-top: 1px solid var(--line); }
.showcase-result > div > span { display: block; font-size: 1rem; color: var(--muted); margin-bottom: .3rem; }
.showcase-result p { margin: 0; font-size: 1.125rem; }
.take-control { flex-shrink: 0; min-height: 2.75rem; padding: .6rem .85rem; border: 1px solid #7c936a; border-radius: .3rem; background: var(--surface); color: var(--ink); font-size: 1.0625rem; }
.take-control:hover { border-color: var(--brand); background: #e7eddd; }
.demo-enquiry { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.3rem; }
.demo-enquiry p { margin: 0; color: var(--muted); font-size: 1.125rem; }

/* One active application view keeps the connected work readable. */
.integration-handoff { padding: 1.1rem 1.8rem; border-bottom: 1px solid var(--line); background: #f7f9f2; }
.handoff-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(2rem, .5fr) minmax(0, 1fr); align-items: center; gap: 1rem; max-width: 42rem; }
.handoff-app { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.handoff-app:last-child { justify-content: end; }
.handoff-app strong { font-size: 1.125rem; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.handoff-app .app-mark { background: var(--brand); color: var(--accent); }
.handoff-wire { position: relative; min-height: 1.9rem; }
.handoff-wire::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #8ba57d; }
.handoff-wire::after { content: ''; position: absolute; right: 0; top: calc(50% - .2rem); width: .4rem; height: .4rem; border-top: 1px solid #5d7950; border-right: 1px solid #5d7950; transform: rotate(45deg); }
.handoff-packet { position: absolute; top: calc(50% - .25rem); left: 0; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); opacity: 0; }
.is-moving .handoff-packet { animation: connected-handoff 2.4s linear infinite; }
.handoff-caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .75rem; }
.handoff-caption p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.handoff-caption > span { font-size: 1rem; color: var(--muted); }
.integration-handoff.is-held { background: #f7f3e3; }
.integration-handoff.is-held .handoff-wire::before { background: #ac9c68; }
.integration-handoff.is-complete { background: #edf4e3; }
@keyframes connected-handoff { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - .5rem); opacity: 0; } }
.integration-route { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; padding: 1.2rem 1.8rem; border-bottom: 1px solid var(--line); }
.integration-route button { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; min-width: 0; padding: .6rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--ink); background: var(--surface); font-size: 1.0625rem; line-height: 1.4; overflow-wrap: anywhere; }
.integration-route button:hover { border-color: var(--brand); }
.integration-route button[aria-selected='true'] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: #f0f5e7; }
.tool-node-text { display: grid; gap: .2rem; min-width: 0; text-align: left; }
.tool-node-status { font-size: 1rem; color: var(--muted); }
.app-mark { display: grid; place-items: center; flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: .3rem; background: #e5edf6; color: #234569; font-size: 1rem; font-weight: 600; }
.integration-route button:nth-child(2) .app-mark { background: #f4e8d8; color: #71431e; }
.integration-route button:nth-child(3) .app-mark { background: var(--brand); color: var(--accent); }
.integration-route button:nth-child(4) .app-mark { background: #f6e6e4; color: #7b3932; }
.integration-route button:nth-child(5) .app-mark { background: #ece8f6; color: #594277; }
.integration-route .is-updated { border-bottom-width: 3px; border-bottom-color: #73933d; }
.integration-surface { padding: 1.7rem 1.8rem 1rem; min-width: 0; }
.integration-app-header { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.integration-eyebrow { display: block; margin-bottom: .4rem; color: var(--muted); font-size: 1rem; }
.integration-app-header h3 { margin: 0; font-size: 1.5rem; line-height: 1.35; letter-spacing: -.025em; }
.integration-state { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: .3rem; font-size: 1rem; color: var(--muted); background: #f5f7f0; }
.integration-surface > section { min-width: 0; }
.integration-input { max-width: 42rem; margin: 0; padding: 0; }
.integration-input .workspace-label { display: none; }
.integration-input .message-channel { margin-bottom: .6rem; }
.integration-record { max-width: 48rem; }
.integration-record h4 { margin: .7rem 0 1rem; font-size: 1.35rem; line-height: 1.4; }
.integration-intro { margin: 0 0 1rem; max-width: 44rem; color: var(--muted); font-size: 1.0625rem; }
.integration-record dl, .artifact-paper dl { margin: 0; }
.integration-record dl > div, .artifact-paper dl > div { display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(0, 1.3fr); gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.integration-record dt, .artifact-paper dt { font-size: 1.0625rem; color: var(--muted); }
.integration-record dd, .artifact-paper dd { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.record-change { padding: .75rem 1rem; margin: 1rem 0 0; border-left: 3px solid #73933d; background: #f0f5e7; color: var(--ink); font-size: 1.0625rem; }
.integration-delven-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.integration-delven-grid .prepared-output, .integration-delven-grid .decision-card { min-width: 0; margin: 0; padding: 1.2rem; }
.integration-delven-grid .prepared-output { background: #f7f9f2; border: 1px solid var(--line); border-radius: .4rem; }
.integration-delven-grid .prepared-output > strong { font-size: 1.1875rem; }
.integration-delven-grid .prepared-output > p { margin: .55rem 0 1rem; font-size: 1.0625rem; }
.integration-delven-grid .decision-card { border: 1px solid #a8b991; background: #f1f5e9; }
.integration-delven-grid .decision-card h3 { font-size: 1.3rem; line-height: 1.4; }
.artifact-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.prepared-artifact > summary { min-height: 2.75rem; padding: .5rem 0; cursor: pointer; font-size: 1.0625rem; text-decoration: underline; text-underline-offset: .25em; }
.prepared-artifact[open] > summary { margin-bottom: .6rem; }
.artifact-tabs button { min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: .3rem; background: transparent; color: var(--ink); font-size: 1rem; }
.artifact-tabs button[aria-selected='true'] { background: var(--surface); border-color: var(--brand); font-weight: 600; }
.artifact-paper { padding: 1rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--surface); }
.artifact-heading { display: flex; align-items: start; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.artifact-heading h4 { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; }
.artifact-heading > span { font-size: 1rem; color: var(--muted); }
.artifact-paper > p { margin: 0; white-space: pre-line; color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.artifact-paper dl > div { grid-template-columns: 1fr; gap: .25rem; padding-block: .65rem; }
.notification-preview { max-width: 42rem; }
.notification-card { padding: 1.25rem; background: #f5f3fa; border: 1px solid #cec6df; border-radius: .4rem; }
.notification-card > span { display: block; margin-bottom: .75rem; font-size: 1rem; color: var(--muted); }
.notification-card strong { font-size: 1.125rem; }
.notification-card p { margin: .65rem 0 0; font-size: 1.125rem; }
#integration-notification-pending { padding: 1.25rem; border: 1px dashed var(--line); border-radius: .35rem; font-size: 1.125rem; color: var(--muted); }
.integration-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.integration-follow p { margin: 0; font-size: 1rem; color: var(--muted); }
.integration-follow .text-link { padding: .3rem 0; min-height: 2.75rem; border: 0; background: transparent; }
.integration-outcomes { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.8rem; border-top: 1px solid var(--line); background: #f6f9ef; }
.integration-outcomes > span { padding: .35rem .65rem; background: var(--surface); border: 1px solid #b9c9a6; border-radius: .3rem; font-size: 1rem; }
.released-reply { max-width: 42rem; margin: 1rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); }
.released-reply summary { cursor: pointer; font-size: 1.0625rem; }
.released-reply p { margin: .75rem 0 0; font-size: 1.125rem; }
@media (max-width: 800px) {
  .integration-route { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1rem 1.25rem; }
  .integration-delven-grid { grid-template-columns: 1fr; }
  .integration-surface { padding: 1.4rem 1.25rem 1rem; }
}
@media (max-width: 640px) {
  .integration-handoff { padding: 1rem; }
  .handoff-flow { gap: .5rem; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); }
  .handoff-app { flex-direction: column; align-items: start; gap: .45rem; }
  .handoff-app:last-child { align-items: end; text-align: right; }
  .integration-route { display: none; }
  .integration-surface { padding: 1.25rem 1rem 1rem; }
  .integration-app-header h3 { font-size: 1.3rem; }
  .integration-record dl > div { grid-template-columns: 1fr; gap: .25rem; }
  .integration-delven-grid .prepared-output, .integration-delven-grid .decision-card { padding: 1rem; }
  .integration-outcomes { padding-inline: 1rem; }
}

/* The execution record stays available without dominating the showcase. */
.explore-panel { border-top: 1px solid var(--line); }
.explore-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.2rem 1.8rem; cursor: pointer; list-style: none; }
.explore-panel > summary::-webkit-details-marker { display: none; }
.explore-panel > summary strong { display: block; font-size: 1.125rem; font-weight: 500; }
.explore-panel > summary > span > span { display: block; color: var(--muted); font-size: 1rem; margin-top: .2rem; }
.expand-symbol { display: grid; place-items: center; flex-shrink: 0; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 50%; font-size: 1.25rem; }
.explore-panel[open] .expand-symbol { font-size: 0; }
.explore-panel[open] .expand-symbol::after { content: '−'; font-size: 1.25rem; }
.workflow-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: .5rem 2rem 2rem; }
.workflow-context-grid > section { min-width: 0; }
.workflow-context-grid h3 { margin-bottom: .8rem; font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.workflow-context-grid p { margin-bottom: .8rem; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.workflow-context-grid .context-metadata { margin-bottom: 0; font-family: var(--mono); font-size: 1rem; }
.workflow-context-grid .evidence-row { margin-bottom: 0; }
.run-progress { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; padding: .8rem 1.3rem; background: #f6f8f1; border-block: 1px solid var(--line); }
.run-progress button { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.6rem; padding: .3rem; border: 0; border-radius: .25rem; color: var(--muted); background: transparent; font-size: 1.0625rem; }
.run-progress button > span { width: .35rem; height: .35rem; border: 1px solid #8c9d8e; border-radius: 50%; }
.run-progress .is-active { color: var(--ink); background: #e2ebd5; }
.run-progress .is-active > span, .run-progress .is-complete > span { background: var(--brand); border-color: var(--brand); }
.execution-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.execution-pane, .outcome-pane { min-width: 0; padding: 1.5rem 1.8rem; }
.outcome-pane { border-left: 1px solid var(--line); }
.pane-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; font-size: 1.0625rem; }
.pane-heading > span:last-child { color: var(--muted); }
.execution-list { padding: 0; margin: 0; list-style: none; }
.execution-list li { display: grid; grid-template-columns: .5rem 1fr; gap: .65rem; padding: .8rem .4rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.execution-list li > i { width: .4rem; height: .4rem; border: 1px solid #8c9d8e; border-radius: 50%; margin-top: .45rem; }
.execution-list strong { display: block; font-size: 1.0625rem; line-height: 1.4; font-weight: 500; }
.execution-list small { display: block; font-size: 1rem; line-height: 1.5; margin-top: .2rem; }
.execution-list .is-active { color: var(--ink); background: #eef2e8; }
.execution-list .is-active > i, .execution-list .is-complete > i { background: var(--brand); border-color: var(--brand); }
.measurement-intro { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; }
.measurement-list { margin: 0; }
.measurement-list > div { padding: .85rem 0; border-top: 1px solid var(--line); }
.measurement-list dt { font-size: 1.0625rem; font-weight: 500; margin-bottom: .3rem; }
.measurement-list dd { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.process-notes { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.process-notes > span { display: block; font-size: 1rem; color: var(--muted); }
.process-notes > p { font-size: 1.125rem; margin: .4rem 0 1rem; }

/* The engineering engagement. */
.work-section { border-block: 1px solid var(--line); background: #f1f4e9; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 6rem; margin-bottom: 3.5rem; }
.section-heading h2 { margin: 0; }
.section-heading > p { margin: 0 0 .35rem; max-width: 28rem; color: var(--muted); font-size: 1.25rem; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.capability-grid article { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: .4rem; }
.capability-grid h3 { margin: .75rem 0; font-size: 1.5rem; line-height: 1.35; letter-spacing: -.025em; }
.capability-grid p { flex: 1; margin: 0; color: var(--muted); }
.capability-grid .example-link { margin-top: 1rem; }
.capability-grid, .integration-grid, .approach-steps, .showcase-workspace { overflow-wrap: anywhere; }
.build-range { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; }
.range-heading h3 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 1.2rem; }
.range-heading > p { max-width: 28rem; color: var(--muted); }
.fit-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.fit-list li { position: relative; padding: .6rem 0 .6rem 1.3rem; color: var(--muted); font-size: 1.125rem; }
.fit-list li::before { content: ''; position: absolute; left: 0; top: 1.1rem; width: .4rem; height: .4rem; background: var(--brand); border-radius: 50%; }
.range-rows article { display: grid; grid-template-columns: 2rem 1fr; gap: 1.25rem; border-top: 1px solid var(--line); padding: 1.3rem 0; }
.range-rows article:last-child { padding-bottom: 0; }
.row-number { font-family: var(--mono); font-size: 1rem; margin-top: .25rem; color: var(--muted); }
.range-rows h4 { margin: 0 0 .4rem; font-size: 1.3125rem; }
.range-rows p { margin: 0; color: var(--muted); font-size: 1.1875rem; }
.example-link { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; margin-top: .5rem; padding: .45rem 0; border: 0; background: transparent; color: var(--ink); font-size: 1.0625rem; text-align: left; text-decoration: underline; text-decoration-color: #91a291; text-underline-offset: .25em; }
.example-link:hover { text-decoration-color: currentColor; }
.success-note { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid #b3c0a8; }
.success-note > span { font-size: 1.1875rem; font-weight: 500; }
.success-note p { margin: 0; font-size: 1.125rem; color: var(--muted); }

/* Familiar software gives the bespoke engagement a practical starting point. */
.tools-directory { padding-top: 2.5rem; margin-top: 2.75rem; border-top: 1px solid #b3c0a8; scroll-margin-top: 6rem; }
.tools-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: end; margin-bottom: 2rem; }
.tools-heading .eyebrow { font-size: 1rem; margin-bottom: 1rem; }
.tools-heading h3 { font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.15; letter-spacing: -.04em; margin: 0; }
.tools-heading h3 em { font-family: var(--serif); font-weight: 400; }
.tools-heading > p { margin: 0; max-width: 30rem; color: var(--muted); font-size: 1.1875rem; }
.integration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: .4rem; overflow: hidden; }
.integration-grid article { min-width: 0; padding: 1.4rem; }
.integration-grid article + article { border-left: 1px solid var(--line); }
.tool-category { display: block; color: var(--muted); font-size: 1rem; margin-bottom: .75rem; }
.integration-grid h4 { font-size: 1.1875rem; line-height: 1.4; margin-bottom: .85rem; }
.integration-grid .tool-names { margin-bottom: .3rem; }
.integration-grid .example-link { margin-top: .15rem; }
.tools-footnote { margin: 1rem 0 0; color: var(--muted); font-size: 1.0625rem; }
.tools-footnote strong { color: var(--ink); font-weight: 500; }
.tool-names { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.tool-names li { padding: .3rem .5rem; background: #eef2e8; border: 1px solid var(--line); border-radius: .2rem; font-size: 1rem; line-height: 1.5; }
.integration-grid article > p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.tools-footer { display: flex; align-items: start; justify-content: space-between; gap: 3rem; margin-top: 1.4rem; }
.tools-footer p { max-width: 50rem; margin: 0; color: var(--muted); font-size: 1.0625rem; }
.tools-footer p strong { font-weight: 500; color: var(--ink); }
.tools-footer a { flex-shrink: 0; min-height: 2.75rem; padding-block: .3rem; }
.building-blocks { margin-top: 2rem; border-block: 1px solid #b3c0a8; }
.building-blocks > summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.15rem 0; list-style: none; cursor: pointer; }
.building-blocks > summary::-webkit-details-marker { display: none; }
.building-blocks > summary strong { display: block; font-size: 1.125rem; font-weight: 500; }
.building-blocks > summary > span > span { display: block; margin-top: .2rem; color: var(--muted); font-size: 1rem; }
.building-blocks[open] .expand-symbol { font-size: 0; }
.building-blocks[open] .expand-symbol::after { content: '−'; font-size: 1.25rem; }
.building-blocks-content { padding: .5rem 0 1.5rem; }
.building-blocks-content > p { max-width: 49rem; color: var(--muted); font-size: 1.125rem; margin-bottom: 1.5rem; }
.building-blocks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.building-blocks-grid h4 { font-size: 1.1875rem; margin-bottom: .5rem; }
.building-blocks-grid article > p { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.building-blocks-grid article .technology-names { color: var(--ink); font-size: 1.125rem; margin-bottom: .7rem; }
.range-heading .fit-alternative { margin: 1.35rem 0 1rem; font-size: 1.125rem; color: var(--muted); }
/* Delivery, presented as a working relationship. */
.approach-layout { display: block; }
.approach-intro h2 { margin-bottom: 1.6rem; }
.approach-intro > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.approach-intro .starting-point { max-width: 26rem; padding-top: 1.5rem; margin: 2rem 0 1.5rem; border-top: 1px solid var(--line); font-size: 1.125rem; }
.starting-point > span { font-size: 1rem; font-weight: 600; }
.starting-point > p { color: var(--muted); margin: .55rem 0 0; }
.approach-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.approach-steps > li { min-width: 0; display: grid; grid-template-columns: 1fr; align-content: start; gap: 1rem; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
.approach-steps > li:first-child { border-top-color: var(--ink); }
.approach-steps > li:last-child { padding-bottom: 0; }
.step-number { font-family: var(--serif); font-size: 2.2rem; font-style: italic; line-height: 1.25; color: #6e7f65; }
.approach-steps h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; margin: .2rem 0 1rem; }
.approach-steps li > div > p { color: var(--muted); margin-bottom: 1.2rem; }
.deliverable { padding-left: 1rem; border-left: 2px solid #80935b; }
.deliverable > span { display: block; color: var(--muted); font-size: 1rem; margin-bottom: .25rem; }
.deliverable > p { margin: 0; font-size: 1.125rem; }
.measurement-note { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1.0625rem; }

/* Deployment and control form one part of the engagement. */
.control-section { background: var(--brand); color: var(--canvas); }
.control-section .eyebrow { color: var(--accent); }
.control-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6rem; }
.control-layout h2 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); }
.control-intro { color: #d3dfd5; max-width: 27rem; }
.control-rows article { padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.control-rows article:first-child { padding-top: 0; border: 0; }
.control-rows article:last-child { padding-bottom: 0; }
.control-rows h3 { margin-bottom: .55rem; font-size: 1.3125rem; line-height: 1.4; }
.control-rows p { margin: 0; color: #d3dfd5; font-size: 1.1875rem; }
.deployment-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 3rem; padding-top: 2.2rem; margin-top: 4rem; border-top: 1px solid var(--line-dark); }
.deployment-heading h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 1.5rem; }
.deployment-heading p { font-size: 1.0625rem; color: #c2d3c6; max-width: 25rem; }
.deployment-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.deployment-options article { position: relative; padding: 1.4rem 0 0; border-top: 1px solid var(--line-dark); }
.deployment-number { position: absolute; right: 0; top: 1.75rem; font-size: 1rem; font-family: var(--mono); color: var(--accent); }
.deployment-options h4 { font-size: 1.75rem; margin: 0 0 .75rem; letter-spacing: -.025em; }
.deployment-options p { margin: 0; color: #d3dfd5; font-size: 1.1875rem; }
.control-footnote { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 1rem; color: #c2d3c6; }

/* Founder and practical next steps. */
.about-layout { display: grid; grid-template-columns: .75fr 1.5fr; gap: 6rem; }
.founder-label > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; margin-bottom: .3rem; }
.founder-label .founder-name { color: var(--ink)!important; font-size: 1.4rem!important; }
.about-mark { display: block; width: 3rem; height: auto; margin-bottom: 1.75rem; }
.founder-rule { display: block; width: 2.5rem; height: 1px; background: var(--ink); margin: 1.75rem 0; }
.about-copy h2 { font-size: clamp(2.2rem, 3.6vw, 3.25rem); margin: 0 0 1.75rem; }
.about-copy > p { color: var(--muted); max-width: 43rem; }
.about-copy .text-link { margin-top: .7rem; }
.founder-belief { max-width: 43rem; padding: 1.75rem 2rem; margin-top: 2rem; background: var(--accent); color: var(--brand-dark); border-radius: .4rem; }
.founder-belief h3 { font-size: 1.0625rem; line-height: 1.5; letter-spacing: .045em; text-transform: uppercase; margin-bottom: 1rem; }
.founder-belief p { color: var(--brand-dark); }
.founder-belief .belief-statement { max-width: 22ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.65rem, 2.7vw, 2.25rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 1rem; }
.founder-belief p:last-child { margin-bottom: 0; }
.faq-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.5fr; gap: 6rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.faq-layout h2 { font-size: 2.5rem; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; font-size: 1.1875rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: .25rem; top: 1.05rem; font-size: 1.4rem; line-height: 1.5; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding-right: 2.5rem; margin-bottom: 1.4rem; color: var(--muted); font-size: 1.1875rem; }
.contact-section { padding-block: 6rem; background: var(--surface); border-block: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 5rem; align-items: start; }
.contact-layout h2 { margin: 0; }
.contact-layout h2 { font-size: clamp(2.35rem, 3.8vw, 3.5rem); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 27rem; margin-top: 1.6rem; }
.conversation-note { padding: 1.3rem 0 0; margin-top: 2rem; border-top: 1px solid var(--line); max-width: 27rem; }
.conversation-note h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.conversation-note p { font-size: 1.125rem; color: var(--muted); margin-bottom: 0; }
.contact-email { display: block; width: fit-content; margin-top: 1.3rem; font-size: 1.125rem; }
.enquiry-panel { min-width: 0; }
#workflow-enquiry, .enquiry-fallback { padding: 2rem; background: #f5f7ef; border: 1px solid var(--line); border-radius: .5rem; }
#enquiry-title, .enquiry-fallback h3 { font-size: 1.4rem; letter-spacing: -.025em; margin-bottom: .6rem; }
.enquiry-intro { color: var(--muted); font-size: 1.0625rem; margin-bottom: 1.5rem; }
.enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.enquiry-fields > div { min-width: 0; }
.enquiry-field { margin-bottom: 1.25rem; }
#workflow-enquiry label { display: block; font-size: 1.0625rem; font-weight: 500; margin-bottom: .45rem; }
#workflow-enquiry label span { color: var(--muted); font-size: 1rem; font-weight: 400; }
#workflow-enquiry input:not([type="hidden"]), #workflow-enquiry textarea { display: block; width: 100%; min-height: 3rem; padding: .7rem .8rem; color: var(--ink); background: var(--surface); border: 1px solid #7c8c77; border-radius: .25rem; font-size: 1.1875rem; line-height: 1.5; }
#workflow-enquiry textarea { resize: vertical; }
#workflow-enquiry input::placeholder, #workflow-enquiry textarea::placeholder { color: var(--muted); opacity: 1; }
.enquiry-note { color: var(--muted); font-size: 1rem; margin: -.1rem 0 1.2rem; }
.enquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.enquiry-actions .button { gap: .65rem; }
.copy-enquiry { border: 0; background: transparent; color: var(--ink); padding: .65rem 0; min-height: 2.75rem; }
.enquiry-status { margin: 1rem 0 0; font-size: 1.0625rem; }
.enquiry-status:empty { display: none; }
.enquiry-status[data-state="error"] { color: #8a2820; }
.enquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.enquiry-details { margin: 0 0 1.5rem; border-block: 1px solid var(--line); }
.enquiry-details summary { padding: .8rem 0; font-size: 1.0625rem; cursor: pointer; }
.enquiry-details summary span { color: var(--muted); }
.enquiry-details[open] summary { margin-bottom: .5rem; }
.enquiry-details .enquiry-field:last-child { margin-bottom: 1rem; }
#enquiry-submit:disabled { opacity: .7; cursor: wait; }
.enquiry-success { padding: 2rem; border: 1px solid var(--line); border-radius: .5rem; background: #f5f7ef; }
.enquiry-success .eyebrow { margin-bottom: 1rem; }
.enquiry-success h3 { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1.25; letter-spacing: -.035em; }
.enquiry-success > p { font-size: 1.125rem; }
.receipt-reference { overflow-wrap: anywhere; }
.booking-options { display: flex; align-items: flex-start; flex-direction: column; gap: .65rem; margin-top: 2rem; }
.booking-options h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; }
.booking-options p { margin: 0; max-width: 27rem; color: var(--muted); font-size: 1.125rem; }
.booking-options .booking-link { margin-top: .35rem; }
.booking-fallback { font-size: 1rem; text-underline-offset: .2em; }
.owner-inbox-link { font-size: 1rem; }
.inbox-header { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.inbox-main { max-width: 60rem; padding-block: 4rem; }
.inbox-main h1 { max-width: none; margin: 0 0 1.5rem; font-size: clamp(2.5rem, 6vw, 4rem); }
.inbox-intro { margin-bottom: 2.5rem; }
.inbox-intro .eyebrow { margin-bottom: 1rem; }
.inbox-intro > p { margin-bottom: .5rem; }
.inbox-note, .inbox-date { font-size: 1rem; color: var(--muted); }
.inbox-card, .inbox-empty, .receipt-card { padding: 2rem; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); overflow-wrap: anywhere; }
.inbox-card-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.inbox-card-heading h2 { margin: 0; font-size: 1.65rem; }
.inbox-card-heading > span { font-size: 1rem; font-family: var(--mono); }
.inbox-card dl > div { margin: 0 0 1.25rem; }
.inbox-card dt { font-size: 1rem; font-weight: 600; color: var(--muted); }
.inbox-card dd { margin: .3rem 0 0; white-space: pre-wrap; }
.inbox-pagination { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.inbox-remove { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .75rem; }
.inbox-remove summary { cursor: pointer; font-size: 1rem; min-height: 2.75rem; }
.inbox-remove form { margin-top: .75rem; }
.inbox-remove form > p { font-size: 1rem; color: var(--muted); }
.inbox-notice { padding: 1rem; background: #eef4e5; }
.privacy-copy { max-width: 48rem; margin-inline: auto; padding-bottom: 2rem; }
.privacy-copy h1 { font-size: clamp(2.8rem,6vw,4rem); margin: 0 0 1rem; max-width: none; }
.privacy-copy h2 { font-size: 1.6rem; line-height: 1.35; margin: 2rem 0 .8rem; letter-spacing: -.02em; }
.privacy-copy p { font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.privacy-copy .privacy-date { font-size: 1rem; }
.receipt-card h1 { line-height: 1.15; }
@media (max-width: 600px) {
  .enquiry-success, .inbox-card, .inbox-empty, .receipt-card { padding: 1.25rem; }
  .inbox-header { flex-wrap: wrap; padding-block: 1rem; }
  .inbox-main { padding-block: 2.5rem; }
}
#enquiry-preview { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
#enquiry-preview p { font-size: 1rem; color: var(--muted); margin: .7rem 0 0; }
#workflow-enquiry #enquiry-draft { font-size: 1.0625rem; }
.site-footer { padding: 2.1rem 0; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-layout > p { margin: 0; color: var(--muted); font-size: 1rem; }
.footer-layout > p:last-child { white-space: nowrap; }


@media (min-width: 1500px) {
  .hero { padding-top: 5.5rem; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 4rem); }
  .section-heading, .build-range, .success-note, .approach-layout, .control-layout, .about-layout, .faq-layout { gap: 3.5rem; }
  .tools-heading { gap: 3.5rem; }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-grid article:nth-child(3) { border-left: 0; }
  .integration-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-layout { gap: 3rem; }
  #workflow-enquiry { padding: 1.5rem; }
  .enquiry-fields { grid-template-columns: 1fr; }
  .demo-run-header, .showcase-input, .prepared-work, .review-work, .execution-pane, .outcome-pane { padding: 1.5rem; }
  .tool-map { padding: 1.3rem 1.5rem; }
  .tool-stages button { padding: .85rem; }
  .showcase-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prepared-work { border-right: 0; }
  .review-work { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .workflow-context-grid { padding-inline: 1.5rem; gap: 1.5rem; }
  .scenario-switcher button { gap: .4rem; padding-inline: .5rem; }
}
@media (max-width: 800px) {
  .section { padding-block: 5rem; }
  .nav-shell { min-height: 4.75rem; gap: 1rem; }
  .wordmark { font-size: 1.4rem; }
  .primary-nav { gap: 1.15rem; }
  .primary-nav a { font-size: 1.0625rem; }
  .nav-cta { padding-inline: .9rem; }
  .hero { padding: 4.5rem 0 3rem; }
  h1 { font-size: clamp(3.4rem, 8.6vw, 4.75rem); }
  .hero-description { max-width: 34rem; font-size: 1.25rem; }
  .showcase-heading { align-items: start; flex-direction: column; gap: .4rem; }
  .showcase-heading h2 { font-size: 1.35rem; }
  .demo-controls { margin-left: 0; }
  .demo-run-header { gap: 1rem; }
  .demo-run-header h2 { font-size: 1.45rem; }
  .tool-map-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .tool-stages { grid-template-columns: 1fr 1fr; }
  .tool-stages button { min-height: 8.5rem; }
  .tool-inspector { gap: 1.25rem; }
  .tool-record dl > div { grid-template-columns: 1fr; gap: .25rem; }
  .scenario-switcher { grid-template-columns: 1fr 1fr; }
  .scenario-switcher button { justify-content: start; padding-left: .8rem; }
  .showcase-workspace { grid-template-columns: 1fr; }
  .showcase-input, .prepared-work, .review-work { padding: 1.5rem; }
  .showcase-input { border-right: 0; border-bottom: 1px solid var(--line); }
  .review-work { grid-column: auto; }
  .workflow-context-grid { grid-template-columns: 1fr; }
  .workflow-context-grid > section + section { border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .prepared-output { padding: 1rem; }
  .prepared-output strong { font-size: 1.25rem; }
  .showcase-result { padding: 1.1rem 1.25rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .section-heading > p { max-width: 36rem; }
  .capability-grid { grid-template-columns: 1fr; gap: 1rem; }
  .capability-grid article { padding: 1.5rem; }
  .approach-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .approach-steps > li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .build-range, .success-note, .approach-layout, .control-layout, .about-layout, .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .range-heading h3 { margin-bottom: 1rem; }
  .range-heading > p { max-width: 36rem; }
  .success-note { gap: .6rem; margin-top: 2.5rem; }
  .tools-directory { padding-top: 2.5rem; margin-top: 3rem; }
  .tools-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .tools-heading > p { max-width: 38rem; }
  .tools-footer { flex-direction: column; gap: .6rem; }
  .building-blocks-grid { gap: 1.5rem; }
  .approach-intro > p:not(.eyebrow) { max-width: 38rem; }
  .approach-intro .starting-point { max-width: 38rem; margin-top: 1.25rem; }
  .deployment-heading { flex-direction: column; gap: .5rem; margin-top: 3rem; }
  .deployment-heading h3 { margin-bottom: .5rem; }
  .deployment-heading p { max-width: none; margin-bottom: 1.5rem; }
  .deployment-options { gap: 1.5rem; }
  .founder-label .eyebrow { margin-bottom: 1.2rem; }
  .about-mark { width: 2.5rem; height: auto; margin-bottom: 1.25rem; }
  .founder-rule { margin-block: 1.1rem; }
  .about-copy h2 br { display: none; }
  .faq-section { padding-top: 0; }
  .faq-layout { padding-top: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-section { padding-block: 4.5rem; }
  .footer-layout { flex-wrap: wrap; gap: 1.4rem; }
  .footer-layout > p:nth-child(2) { order: 3; width: 100%; }
  .footer-layout > p:last-child { margin-left: auto; }
}
@media (max-width: 960px) {
  .nav-shell { position: relative; flex-wrap: wrap; padding-block: .7rem; gap: .5rem; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: .35rem; order: 3; width: 2.75rem; height: 2.75rem; padding: .65rem; border: 1px solid var(--line); border-radius: .3rem; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 100%; height: 1px; background: var(--ink); }
  .nav-cta { margin-left: auto; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: .75rem 1.25rem 1.1rem; background: var(--canvas); border: 1px solid var(--line); margin: 0; }
  .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { padding: .75rem 0; font-size: 1.1875rem; }
  .primary-nav .mobile-contact { display: block; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 5.5rem; }
  .container { width: calc(100% - 2.5rem); }
  .hero { padding: 3.5rem 0 2.5rem; }
  .nav-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero .eyebrow { margin-bottom: 1.5rem; font-size: 1rem; }
  h1 { font-size: clamp(2.6rem, 9.5vw, 3.75rem); letter-spacing: -.06em; line-height: 1.07; }
  .hero-description { font-size: 1.1875rem; margin: 1.5rem auto; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 24rem; margin-inline: auto; }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-note { font-size: 1rem; max-width: 22rem; }
  .engagement-facts { margin-top: 1.75rem; gap: .15rem; align-items: center; flex-direction: column; }
  .showcase-section { padding-bottom: 3.5rem; }
  .showcase-heading h2 { font-size: 1.3125rem; }
  .showcase-heading h2 em { display: block; margin-top: .2rem; }
  .demo-topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding: 1rem; }
  #demo-run-label { display: none; }
  .demo-topbar > div:first-child { grid-column: 1; grid-row: 1; min-width: 0; gap: .5rem; }
  .demo-topbar .demo-controls { display: contents; }
  .demo-topbar .play-control { grid-column: 2; grid-row: 1; }
  .run-status { grid-column: 1; grid-row: 2; width: auto; }
  #replay-demo { grid-column: 2; grid-row: 2; }
  .compact-picker { display: grid; gap: .4rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .workflow-picker { background: #eef2e8; }
  .scenario-switcher { display: none; }
  .integration-eyebrow { display: none; }
  .integration-delven-grid .prepared-output { padding: 0; border: 0; background: transparent; }
  .demo-run-header { align-items: start; flex-direction: column; gap: .8rem; padding: 1.25rem 1rem; }
  .demo-run-header h2 { font-size: 1.35rem; }
  .tool-map { padding: 1.25rem 1rem; }
  .tool-map > summary { gap: 1rem; }
  .tool-config-field { width: 100%; max-width: none; }
  .tool-config-field select { width: 100%; }
  .tool-inspector { grid-template-columns: 1fr; padding: 1rem; }
  .tool-stages strong { font-size: 1.0625rem; }
  .tool-stages { grid-template-columns: 1fr; }
  .showcase-workspace { grid-template-columns: 1fr; }
  .showcase-input { border-right: 0; border-bottom: 1px solid var(--line); }
  .showcase-input, .prepared-work, .review-work { padding: 1.25rem; }
  .workflow-context-grid { padding: .25rem 1.25rem 1.5rem; }
  .showcase-result { align-items: start; flex-direction: column; gap: 1rem; }
  .showcase-result .take-control { flex-shrink: 1; }
  .explore-panel > summary { padding: 1.1rem 1.25rem; gap: 1rem; }
  .run-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: .6rem; }
  .run-progress button { font-size: 1rem; }
  .execution-detail-grid { grid-template-columns: 1fr; }
  .execution-pane, .outcome-pane { padding: 1.25rem; }
  .outcome-pane { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 3.75rem; }
  .eyebrow { margin-bottom: 1.3rem; }
  h2 { font-size: clamp(2.05rem, 8vw, 2.8rem); }
  .section-heading { gap: 1.3rem; }
  .section-heading > p { font-size: 1.1875rem; }
  .range-heading h3 { font-size: 1.5rem; }
  .capability-grid article { padding: 1.25rem; }
  .integration-grid { grid-template-columns: 1fr; }
  .integration-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .integration-grid h4 { min-height: 0; margin-bottom: .8rem; }
  .building-blocks-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .approach-steps > li { grid-template-columns: 2rem 1fr; gap: 1rem; padding-block: 1.6rem; }
  .approach-steps h3 { font-size: 1.3rem; }
  .step-number { font-size: 1.85rem; }
  .control-layout h2, .about-copy h2 { font-size: clamp(2.05rem, 7.5vw, 2.8rem); }
  .founder-belief { padding: 1.5rem; }
  .deployment-options { grid-template-columns: 1fr; gap: 1.5rem; }
  .deployment-options h4 { font-size: 1.5rem; }
  .faq-section { padding-top: 0; }
  .faq-layout { gap: 1.5rem; }
  .faq-layout h2 { font-size: 2.2rem; }
  .faq-list summary { padding-block: 1.1rem; }
  .contact-section { padding-block: 3.75rem; }
  .contact-layout h2 { font-size: clamp(2.05rem, 8vw, 2.8rem); }
  #workflow-enquiry, .enquiry-fallback { padding: 1.25rem; }
  .footer-layout .wordmark { font-size: 1.25rem; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 2rem); }
}
/* A short business story first; individual checks are available on request. */
.showcase-section > .container { width: min(1440px, calc(100% - 6rem)); }
.showcase .demo-topbar { background: #f4f6ef; color: var(--ink); border-bottom: 1px solid var(--line); }
.showcase #demo-run-label { color: var(--muted); }
.showcase .console-button { color: var(--ink); border-color: #aab9a3; }
.showcase .console-button:hover:not(:disabled) { background: #e8f0dd; }
.showcase .play-control:not(:disabled) { background: var(--accent); border-color: #b5cf89; }
.showcase .run-status i { background: #729250; }
.showcase .demo-topbar :focus-visible { outline-color: #587234; }
.workflow-demo[data-tour-depth='overview'] .tour-controls .run-status { display: none; }
.showcase .scenario-switcher { background: var(--surface); padding: .65rem 1rem; }
.showcase .scenario-switcher button > span { display: none; }
.showcase .scenario-switcher button[aria-selected='true'] { box-shadow: none; background: #eef4e5; }
.tour-story-layout { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: 2rem; }
.tour-story, .tour-screen { min-width: 0; }
.tour-story h3 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 1.5rem; }
.tour-business-context { font-size: 1rem; margin-bottom: .75rem; }
.tour-stage-list { list-style: none; padding: 0; margin: 0; }
.tour-stage-list li { margin: 0; }
.tour-stage-list button { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .45rem .65rem; width: 100%; min-height: 3.25rem; text-align: left; padding: .8rem .5rem .8rem .8rem; border: 0; border-left: 2px solid #e1e6dc; background: transparent; color: var(--muted); line-height: 1.4; }
.tour-stage-list button:hover { background: #f4f7ef; }
.tour-stage-list button[aria-current='step'] { color: var(--ink); border-left-color: var(--brand); }
.tour-stage-number { font: 1rem/1.5 var(--mono); color: #607455; }
.tour-stage-label { font-size: 1.125rem; }
.tour-stage-list button[aria-current='step'] .tour-stage-label { font-weight: 600; }
.tour-stage-copy { display: none; grid-column: 2; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.tour-stage-list button[aria-current='step'] .tour-stage-copy { display: block; }
.tour-mobile-summary { display: none; }
.tour-app-layout { grid-template-columns: 7.5rem minmax(0, 1fr); }
.tour-app-main { height: 28.5rem; }
.workflow-demo[data-tour-depth='overview'] #tour-actor { display: none; }
.tour-time-controls { display: flex; align-items: center; gap: .8rem; }
.tour-time-controls .console-button { font-size: 1rem; }
.demo-explore-footer { padding: 1rem 1.8rem; border-top: 1px solid var(--line); text-align: right; background: #fafbf6; }
#tour-explore-toggle { min-height: 2.75rem; padding: .5rem 0; font-size: 1.0625rem; border: 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 1000px) {
  .tour-story-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .tour-story h3 { max-width: 30ch; margin-bottom: 1rem; }
  .tour-stage-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
  .tour-stage-list button { display: flex; flex-direction: column; gap: .3rem; border-left: 0; border-top: 2px solid #e1e6dc; padding: .65rem .35rem; }
  .tour-stage-list button[aria-current='step'] { border-top-color: var(--brand); }
  .tour-stage-list button .tour-stage-copy { display: none; }
  .tour-mobile-summary { display: block; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); margin: .6rem 0 0; }
}
@media (max-width: 640px) {
  .showcase-section > .container { width: calc(100% - 2.5rem); }
  .showcase[data-demo-mode='watch'] .demo-topbar { display: flex; flex-wrap: nowrap; min-height: 4.75rem; gap: .5rem; padding: .75rem 1rem; }
  .showcase[data-demo-mode='watch'] .demo-topbar .demo-controls { display: flex; flex-wrap: nowrap; gap: .5rem; }
  .showcase[data-demo-mode='watch'] .demo-topbar .run-status { display: none; }
  .showcase .demo-topbar strong { font-size: 1.125rem; }
  .showcase .demo-topbar .console-button { white-space: nowrap; }
  .showcase .demo-mode-switch { flex-wrap: wrap; }
  .showcase .demo-mode-button { flex-basis: 100%; }
  .demo-exploration { scroll-margin-top: 5.5rem; }
  .tour-story-layout { gap: 1.1rem; }
  .tour-story h3 { font-size: 1.5rem; margin-bottom: .85rem; }
  .tour-story .tour-business-context { display: none; }
  .tour-stage-list button { position: relative; align-items: center; min-height: 2.75rem; padding: .6rem .15rem; }
  .tour-stage-list .tour-stage-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .tour-stage-list button[aria-current='step'] { background: #eef4e5; }
  .tour-mobile-summary { margin-top: .65rem; font-size: 1.0625rem; }
  .tour-app-window { scroll-margin-top: 5.5rem; }
  .tour-app-window { --tour-chrome: 20rem; }
  .tour-app-window[data-tour-view='mail'] { --tour-chrome: 23.5rem; }
  .tour-app-bar { min-height: 5rem; }
  .tour-app-layout { grid-template-columns: 1fr; }
  .tour-app-main { height: 24rem; height: clamp(12rem, calc(100svh - var(--tour-chrome)), 30rem); }
  .tour-time-controls { flex-wrap: wrap; gap: .5rem; }
  .demo-explore-footer { padding: .8rem 1rem; text-align: left; }
}
@media (max-width: 380px) {
  .showcase-section > .container { width: calc(100% - 2rem); }
}
/* The engagement is the offer; the walkthrough supports it. */
.hero h1 { max-width: 20ch; }
.service-section { padding-top: 1.5rem; padding-bottom: 4rem; }
.service-section .section-heading { margin-bottom: 2rem; }
.service-benefits { gap: 2rem; }
.service-benefits article { padding: 1.5rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.service-principle { display: flex; align-items: start; gap: 2rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.service-principle p { flex: 1; max-width: 60ch; margin: 0; color: var(--muted); font-size: 1.125rem; }
.service-principle .text-link { flex-shrink: 0; max-width: 17rem; }
.showcase-service-note { max-width: 65ch; font-size: 1.125rem; line-height: 1.65; color: var(--muted); margin-bottom: 1.5rem; }
.workflow-service-fit { margin-top: 1.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.workflow-service-fit h3 { font-size: 1.4rem; line-height: 1.4; margin-bottom: .5rem; letter-spacing: -.025em; }
.workflow-service-fit > p { max-width: 65ch; margin-bottom: .65rem; font-size: 1.125rem; color: var(--muted); }
.workflow-service-fit summary { min-height: 2.75rem; width: fit-content; padding-block: .5rem; font-size: 1.0625rem; cursor: pointer; }
.workflow-service-fit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: .75rem 0 1rem; }
.workflow-service-fit dt { font-size: 1.0625rem; font-weight: 600; margin-bottom: .35rem; }
.workflow-service-fit dd { font-size: 1.125rem; line-height: 1.65; margin: 0; color: var(--muted); }
.engagement-overview { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.engagement-overview li { min-width: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.engagement-overview span { font: 1rem var(--mono); color: var(--muted); }
.engagement-overview h3 { margin: .65rem 0 .6rem; font-size: 1.45rem; line-height: 1.4; letter-spacing: -.025em; }
.engagement-overview p { margin: 0; font-size: 1.125rem; color: var(--muted); }
.service-breakdown { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-breakdown > summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; min-height: 3rem; cursor: pointer; font-size: 1.125rem; list-style: none; }
.service-breakdown > summary::-webkit-details-marker { display: none; }
.service-breakdown[open] > summary > span { transform: rotate(45deg); }
.service-breakdown .service-steps { margin-top: .75rem; }
.service-breakdown .measurement-note { margin-bottom: 1.5rem; }
.integrations-section { padding-top: 0; }
.integrations-section .tools-directory { margin-top: 0; padding-top: 3rem; }
.tools-heading h2 { font-size: 2.1rem; line-height: 1.25; margin: 0; letter-spacing: -.035em; }
@media (max-width: 800px) {
  .service-principle { flex-direction: column; gap: 1rem; }
  .service-principle .text-link { max-width: none; }
  .engagement-overview { grid-template-columns: 1fr; gap: 1.25rem; }
  .engagement-overview li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .4rem .8rem; }
  .engagement-overview h3 { margin: 0; }
  .engagement-overview p { grid-column: 2; }
  .workflow-service-fit dl { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .service-section { padding-top: 1rem; padding-bottom: 3rem; }
  .service-benefits { gap: .25rem; }
  .service-benefits article { padding: 1.1rem 0; }
  .service-benefits h3 { margin-top: .5rem; font-size: 1.35rem; }
  .showcase .demo-topbar strong { line-height: 1.3; font-size: 1rem; }
  .workflow-service-fit { margin-top: 1rem; padding-top: 1.25rem; }
  .workflow-service-fit h3 { font-size: 1.3rem; }
  .tools-heading h2 { font-size: 1.75rem; }
}
/* Introduce the problem and build before the operating walkthrough. */
.workflow-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 0; padding: 1.35rem 1.8rem; border-bottom: 1px solid var(--line); background: #fafbf6; }
.workflow-brief > div { min-width: 0; }
.workflow-brief dt { font-size: 1rem; line-height: 1.5; font-weight: 600; margin-bottom: .4rem; }
.workflow-brief dd { font-size: 1.125rem; line-height: 1.6; margin: 0; color: var(--muted); }
.service-principle .text-link { max-width: none; }
.workflow-service-fit { padding-top: .4rem; margin-top: .75rem; border: 0; }
.tools-directory-disclosure { border-block: 1px solid var(--line); }
.tools-directory-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: 1rem 0; cursor: pointer; font-size: 1.125rem; list-style: none; }
.tools-directory-disclosure > summary::-webkit-details-marker { display: none; }
.tools-directory-disclosure[open] > summary > span { transform: rotate(45deg); }
.tools-directory-content { padding: .5rem 0 1.5rem; }
@media (max-width: 800px) {
  .workflow-brief { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .workflow-brief { padding: 1.15rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none!important; animation: none!important; }
}

/* One visible workflow, with alternatives selected only when useful. */
@media (min-width: 641px) {
  .showcase .workflow-picker { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .85rem 1.5rem; border-bottom: 1px solid var(--line); }
  .showcase .workflow-picker select { width: min(22rem, 65%); }
  .showcase .scenario-switcher { display: none; }
}
.service-principle { justify-content: space-between; flex-wrap: wrap; }
.service-principle .text-link { max-width: none; }
.hero h1 { font-size: clamp(3.2rem, 6.6vw, 6rem); }
@media (max-width: 640px) { .hero h1 { font-size: clamp(2.65rem, 10vw, 3.7rem); } }

/* Keep deployment detail optional without reducing text size. */
.deployment-disclosure { margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.deployment-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3rem; padding-block: 1.1rem; font-size: 1.1875rem; line-height: 1.5; cursor: pointer; list-style: none; }
.deployment-disclosure > summary::-webkit-details-marker { display: none; }
.deployment-disclosure > summary > span:last-child { flex-shrink: 0; font-size: 1.5rem; }
.deployment-disclosure[open] > summary > span:last-child { transform: rotate(45deg); }
.deployment-intro { max-width: 50ch; color: #d3dfd5; font-size: 1.125rem; margin: .25rem 0 1.5rem; }
.deployment-disclosure .control-footnote { margin-bottom: 0; }
.about-section { padding-block: 4rem; }
@media (max-width: 640px) {
  .deployment-disclosure { margin-top: 2rem; }
  .deployment-disclosure > summary { font-size: 1.125rem; }
  .about-section { padding-block: 3rem; }
}
