/* Shared product sections with six intentionally different visual compositions. */
:root {
  --paper: #f7f9fc; --ink: #101828; --muted: #626e82; --accent: #315efb;
  --surface: #fff; --soft: #eaf0ff; --line: #dbe2ed; --radius: 9px;
  --sans: Arial, Helvetica, sans-serif; --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, input { border-radius: var(--radius); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.06em; line-height: 1.03; }
h2 { font-size: clamp(36px, 4vw, 58px); }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.shell { width: min(1400px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 50; padding: 16px; color: var(--ink); background: var(--surface); border: 2px solid var(--accent); }
.skip-link:focus { top: 10px; }
.review-bar { background: var(--ink); color: var(--paper); padding: 11px 48px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 11px var(--mono); }
.review-bar a:hover { text-decoration: underline; }
.site-header { height: 102px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -1px; }
.brand-mark { width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center; background: var(--accent); color: var(--surface); font-size: 23px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.site-header nav>a:hover { color: var(--accent); }
.nav-cta { padding: 13px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-cta span { padding-left: 15px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.6; color: var(--accent); margin-bottom: 22px; }
.hero { display: grid; grid-template-columns: .95fr 1.2fr; gap: 54px; align-items: center; padding-top: 52px; padding-bottom: 95px; }
h1 { font-size: clamp(58px, 5.5vw, 86px); }
.hero-description { margin-top: 26px; max-width: 540px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 20px; min-height: 50px; border-radius: var(--radius); font-size: 13px; font-weight: 700; border: 1px solid var(--line); transition: transform .2s; }
.button:hover { transform: translateY(-3px); }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.secondary { background: var(--surface); }
.hero-note { font-size: 10px; letter-spacing: .3px; color: var(--muted); margin-top: 25px; font-family: var(--mono); line-height: 1.8; }
.product-stage { min-width: 0; position: relative; padding: 30px 0; }
.product-stage::before { content: ''; position: absolute; inset: -25px -25px 15px; background: var(--soft); border-radius: var(--radius); z-index: -1; }
.player { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 70px #1128551a; overflow: hidden; text-align: left; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 17px; background: #18243b; color: #dce6f7; font-size: 10px; font-family: var(--mono); }
.window-bar b { font-weight: 400; opacity: .65; }
.window-controls { display: flex; gap: 5px; }
.window-controls i { width: 7px; height: 7px; border-radius: 2px; background: #63718a; }
.window-controls i:first-child { background: #fe887b; }
.window-controls i:nth-child(2) { background: #e4c15f; }
.window-controls i:nth-child(3) { background: #7fba92; }
.window-icon { font-size: 14px; }
.player-toolbar { padding: 17px; display: flex; gap: 12px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.file-icon { font-size: 16px; font-style: normal; color: var(--accent); margin-right: 6px; }
.session-label { font-size: 8px; letter-spacing: 1px; }
.player-body { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 315px; }
.step-list { border-right: 1px solid var(--line); padding: 18px 0; min-width: 0; }
.panel-label { padding: 0 14px 15px; display: flex; justify-content: space-between; gap: 8px; font-size: 8px; letter-spacing: 1px; color: var(--muted); }
.panel-label span { font-family: var(--mono); letter-spacing: 0; }
.test-step { padding: 13px 12px; display: flex; gap: 9px; border-left: 2px solid transparent; align-items: start; }
.test-step>div { min-width: 0; flex: 1; }
.step-num { font: 9px var(--mono); color: var(--muted); padding-top: 2px; }
.test-step strong { display: block; font-size: 11px; font-weight: 600; }
.test-step code { display: block; font: 8px/1.7 var(--mono); color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.step-state { font-size: 11px; color: var(--muted); }
.test-step.ready .step-state { color: #208456; }
.test-step.active { background: var(--soft); border-left-color: var(--accent); }
.test-step.active .step-state { color: var(--accent); }
.app-window { margin: 20px 16px; align-self: start; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-width: 0; }
.app-title { display: flex; justify-content: space-between; gap: 8px; background: var(--paper); padding: 10px; font-size: 8px; }
.app-title span { font-family: var(--mono); letter-spacing: 2px; }
.demo-form { padding: 20px 15px; }
.demo-label { color: var(--muted); font-size: 9px; line-height: 1.6; margin-bottom: 20px; }
.demo-form label { display: block; font-size: 9px; font-weight: 600; margin-bottom: 8px; }
.demo-form input { width: 100%; min-width: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; padding: 10px; }
.demo-form input::placeholder { color: var(--muted); opacity: 1; }
.demo-form button { width: 100%; display: flex; justify-content: space-between; background: var(--accent); color: white; border: 0; margin-top: 9px; padding: 10px; border-radius: 5px; font-size: 10px; }
.greeting { text-align: center; padding: 24px 3px 6px; min-height: 105px; }
.greeting>span { color: var(--accent); font-size: 28px; display: block; }
.greeting strong { display: block; font-size: 13px; margin-top: 8px; overflow-wrap: anywhere; }
.greeting small { font-size: 8px; color: var(--muted); display: block; margin-top: 7px; line-height: 1.6; }
.greeting.success>span { color: #218355; }
.player-bottom { border-top: 1px solid var(--line); padding: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.play-button { background: var(--accent); border: 0; color: #fff; padding: 10px 12px; font-size: 10px; display: inline-flex; gap: 8px; align-items: center; border-radius: 5px; }
.reset-button { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 9px; font-size: 10px; border-radius: 5px; }
#demo-status { font: 8px/1.6 var(--mono); margin-left: auto; color: var(--muted); }
.player-progress { width: 100%; height: 3px; background: var(--line); overflow: hidden; margin-top: 3px; border-radius: 2px; }
.player-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.stage-note { position: relative; margin: -8px -20px 0 75px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 15px 30px #11285512; display: flex; align-items: center; gap: 12px; padding: 16px; }
.stage-note>span { background: #def5e9; color: #208456; padding: 10px; border-radius: 5px; }
.stage-note strong { font-size: 12px; display: block; }
.stage-note small { display: block; font-size: 9px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.benefit-band { border-block: 1px solid var(--line); background: var(--surface); }
.benefit-band>.shell { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 28px; gap: 30px; }
.benefit-band span { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; padding-left: 28px; }
.benefit-band span:first-child { padding-left: 0; }
.benefit-band span:last-child { border: 0; }
.benefit-band b { font-size: 20px; letter-spacing: -.7px; }
.benefit-band small { color: var(--muted); font-size: 11px; }
.workflow, .backend-section, .capabilities, .faq-section, .demo-section { padding-block: 90px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 38px; }
.section-heading>p, .section-intro>p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 410px; }
.workflow-rows { border-top: 1px solid var(--line); }
.workflow-rows article { display: grid; grid-template-columns: 100px 1fr 100px; align-items: center; border-bottom: 1px solid var(--line); padding: 28px 0; gap: 20px; }
.row-number { color: var(--accent); font: 13px var(--mono); }
.workflow-rows h3 { font-size: 22px; letter-spacing: -.6px; }
.workflow-rows p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 9px; max-width: 750px; }
.row-symbol { color: var(--accent); font-size: 30px; justify-self: end; }
.backend-section { border-top: 1px solid var(--line); }
.backend-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.backend-columns article { border-top: 2px solid var(--accent); padding-top: 24px; }
.backend-kicker { color: var(--accent); font: 10px var(--mono); letter-spacing: 1px; }
.backend-columns h3 { font-size: 28px; letter-spacing: -1px; margin-top: 18px; }
.backend-columns p { color: var(--muted); line-height: 1.85; font-size: 14px; margin-top: 18px; }
.backend-columns ul { list-style: none; padding: 0; margin: 20px 0 0; }
.backend-columns li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.backend-columns li::before { content: '↗'; color: var(--accent); margin-right: 12px; }
.platform-note { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; gap: 18px; padding: 22px; }
.platform-note>span { color: var(--accent); font-size: 27px; }
.platform-note p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.platform-note strong { color: var(--ink); display: block; margin-bottom: 5px; }
.statement { border-top: 1px solid var(--line); padding-block: 85px; text-align: center; }
.statement h2 { font-size: clamp(48px, 6vw, 82px); }
.statement>p:not(.eyebrow) { color: var(--muted); margin-top: 25px; font-size: 16px; line-height: 1.8; }
.statement blockquote { font-size: 20px; line-height: 1.6; max-width: 750px; margin: 42px auto 0; }
.statement cite { display: block; font-size: 10px; font-style: normal; color: var(--muted); margin-top: 12px; }
.capabilities { display: grid; grid-template-columns: .9fr 1.2fr; gap: 70px; border-top: 1px solid var(--line); }
.section-intro>p:last-child { margin-top: 22px; }
.capability-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: var(--soft); }
.tabs button { flex: 1; background: transparent; border: 0; border-radius: 0; padding: 17px 12px; color: var(--muted); font-size: 11px; font-weight: 600; border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--accent); background: var(--surface); border-bottom-color: var(--accent); }
#interface-panel { padding: 30px; min-height: 305px; }
.interface-kicker { font: 9px/1.7 var(--mono); letter-spacing: 1px; color: var(--accent); }
#interface-panel h3 { font-size: 24px; letter-spacing: -.8px; margin-top: 17px; }
#interface-panel>p:not(.interface-kicker) { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 14px; }
pre { background: var(--paper); border: 1px solid var(--line); padding: 18px; border-radius: 5px; margin: 22px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { font: 10px/1.9 var(--mono); color: var(--ink); }
.faq-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.2fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 15px; font-weight: 600; padding: 24px 0; list-style: none; display: flex; justify-content: space-between; gap: 20px; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 22px var(--mono); color: var(--accent); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); font-size: 13px; line-height: 1.9; padding: 0 25px 23px 0; }
.closing { background: var(--soft); text-align: center; border-block: 1px solid var(--line); padding-block: 80px; }
.closing h2 { font-size: clamp(50px, 5.5vw, 80px); }
.closing p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 23px auto; line-height: 1.9; max-width: 500px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 32px; }
.site-footer p { font: 10px/1.8 var(--mono); color: var(--muted); }
.site-footer small { font-size: 9px; }
.site-footer>a:last-child { font-size: 11px; }
.demo-section .player { max-width: 940px; margin-inline: auto; }
.demo-section .player-body { min-height: 330px; }
.demo-section .test-step { padding-block: 17px; }
.demo-section .test-step code { font-size: 10px; }
.demo-section .demo-form { padding: 25px; }
.demo-section .greeting { padding-top: 25px; }
.demo-section .greeting strong { font-size: 20px; }

/* 02 — A centered, cyan-lit engineering command center. */
.direction-night {
  --paper: #080e19; --surface: #0d1926; --ink: #e4f4ff; --muted: #9aafc2;
  --accent: #45d9ff; --soft: #122c3a; --line: #284050;
}
.direction-night .brand-mark, .direction-night .primary, .direction-night .play-button, .direction-night .demo-form button { color: #081320; }
.direction-night .review-bar { background: #142435; color: #b1d4e6; }
.direction-night .hero { grid-template-columns: 1fr; text-align: center; padding-top: 60px; padding-bottom: 60px; gap: 45px; }
.direction-night h1 { font-size: clamp(66px, 7vw, 112px); letter-spacing: -.065em; }
.direction-night .hero-description { margin-inline: auto; max-width: 690px; }
.direction-night .hero-actions { justify-content: center; }
.direction-night .product-stage { width: min(1040px, 100%); margin: auto; padding: 0; }
.direction-night .product-stage::before { inset: -40px 0; background: radial-gradient(ellipse, #45d9ff19, transparent 65%); }
.direction-night .player { box-shadow: 0 0 60px #45d9ff0c; }
.direction-night .player-body { min-height: 320px; grid-template-columns: 1.2fr 1fr; }
.direction-night .step-list { padding: 22px 0; }
.direction-night .test-step { padding: 14px 24px; }
.direction-night .test-step code { font-size: 10px; }
.direction-night .app-window { margin: 20px 28px; }
.direction-night .demo-form { padding: 20px 25px; }
.direction-night .window-bar { background: #132a3b; }
.direction-night .benefit-band b { font-family: var(--mono); color: var(--accent); font-size: 18px; text-transform: uppercase; }
.direction-night .eyebrow, .direction-night .hero-note, .direction-night .backend-kicker { font-family: var(--mono); }
.direction-night .backend-columns { background-image: linear-gradient(#45d9ff05 1px, transparent 1px); background-size: 24px 24px; }
.direction-night .greeting.success>span, .direction-night .test-step.ready .step-state { color: #8bffb0; }
.direction-night .statement { text-align: left; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.direction-night .statement .eyebrow { grid-column: 1 / -1; }
.direction-night .statement h2 { grid-row: span 2; }
.direction-night .statement blockquote { margin-top: 30px; }

/* 03 — Warm editorial typography with a gently staggered product stage. */
.direction-human {
  --paper: #fff5e6; --surface: #fffbf4; --ink: #392e60; --muted: #74677d;
  --accent: #c64638; --soft: #f9e0d3; --line: #e6d8c8;
}
.direction-human .review-bar { background: #392e60; color: #fff5e6; }
.direction-human h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; font-size: clamp(58px, 6.1vw, 92px); }
.direction-human h1 em, .direction-human h2 em { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.direction-human .hero { gap: 75px; padding-top: 45px; }
.direction-human .product-stage { transform: rotate(2deg); padding-top: 70px; }
.direction-human .product-stage::before { inset: 30px 0 -20px; background: #c9e8d7; transform: rotate(-3deg); }
.human-note { position: absolute; top: 10px; right: 20px; transform: rotate(-5deg); background: #f9cdbf; padding: 16px 20px; border: 1px solid #ddb1a1; border-radius: var(--radius); font: italic 17px Georgia, serif; box-shadow: 0 8px 15px #392e6010; z-index: 1; }
.direction-human .window-bar { background: #392e60; }
.direction-human .benefit-band { background: #392e60; color: #fff5e6; }
.direction-human .benefit-band small { color: #d2c6de; }
.direction-human .benefit-band span { border-color: #62577d; }
.direction-human .workflow-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border: 0; padding-top: 10px; }
.direction-human .workflow-rows article { display: flex; flex-direction: column; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; background: var(--surface); gap: 20px; }
.direction-human .workflow-rows article:nth-child(2) { margin-top: 35px; margin-bottom: -35px; background: #f9e0d3; }
.direction-human .workflow-rows article:nth-child(3) { background: #dcecdf; }
.direction-human .row-symbol { align-self: end; }
.direction-human .workflow { padding-bottom: 125px; }
.direction-human .statement { background: #fffaf1; }
.direction-human .closing { background: #c9e8d7; }
.direction-human .statement blockquote { font-family: Georgia, serif; font-style: italic; }

/* 04 — Architectural grid, blueprint color, schematic-led opening. */
.direction-blueprint {
  --paper: #123b73; --surface: #17447c; --ink: #f0f7ff; --muted: #b9cee7;
  --accent: #ffb17c; --soft: #244f81; --line: #4771a0;
}
.direction-blueprint .brand-mark, .direction-blueprint .primary, .direction-blueprint .play-button, .direction-blueprint .demo-form button { color: #173653; }
.direction-blueprint .review-bar { background: #0c2d5c; color: #d3e5ff; }
.direction-blueprint .hero { grid-template-columns: 1.1fr 1fr; gap: 80px; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 32px 32px; padding: 50px 0 70px; }
.direction-blueprint h1 { font-size: clamp(53px, 5vw, 76px); letter-spacing: -.055em; line-height: 1.08; }
.direction-blueprint .eyebrow, .direction-blueprint .hero-note { font-family: var(--mono); }
.architecture-hero { border: 1px solid var(--line); padding: 25px; background: #143c71; font-family: var(--mono); }
.spec-label { font-size: 10px; letter-spacing: 1.7px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 25px; color: var(--accent); }
.architecture-clients { display: flex; gap: 12px; }
.architecture-clients span { width: 33.3%; border: 1px solid var(--line); background: #1c477c; padding: 15px 5px; text-align: center; font-size: 12px; }
.connector { font-size: 24px; text-align: center; padding: 8px; color: var(--accent); }
.protocol-line { border: 1px solid var(--accent); color: var(--accent); text-align: center; padding: 12px; font-size: 10px; letter-spacing: 2px; }
.backends { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.backends>div { border: 1px solid var(--line); padding: 18px; }
.backends span { font-size: 8px; color: var(--accent); }
.backends h3 { font-size: 21px; font-family: var(--sans); letter-spacing: -.5px; margin: 15px 0 10px; }
.backends p { font-size: 10px; line-height: 1.8; color: var(--muted); }
.target-app { border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 15px; font-size: 11px; letter-spacing: 1px; }
.target-app span { color: var(--accent); font-size: 25px; }
.spec-foot { font-size: 8px; color: var(--muted); margin-top: 20px; text-align: center; line-height: 1.8; }
.direction-blueprint .benefit-band { border-block: 1px solid #88a4c6; background: #eaf3ff; color: #123b73; }
.direction-blueprint .benefit-band small { color: #48678d; }
.direction-blueprint .benefit-band span { border-color: #bdcfe5; }
.direction-blueprint .backend-columns { gap: 0; border: 1px solid var(--line); }
.direction-blueprint .backend-columns article { padding: 30px; border-top: 0; }
.direction-blueprint .backend-columns article+article { border-left: 1px solid var(--line); }
.direction-blueprint .statement { text-align: left; }
.direction-blueprint .statement blockquote { margin-left: 0; }
.direction-blueprint .window-bar { background: #0c2d5c; }
.direction-blueprint .greeting.success>span, .direction-blueprint .test-step.ready .step-state { color: #a9e7b8; }

/* 05 — A readable script leads; restrained paper and annotation green. */
.direction-script {
  --paper: #f4f1e7; --surface: #fcfbf6; --ink: #242d28; --muted: #677467;
  --accent: #23744c; --soft: #e5ecdf; --line: #cfd6c7;
}
.direction-script .review-bar { background: #244b37; color: #f4f1e7; }
.direction-script .hero { grid-template-columns: 1.15fr 1fr; gap: 70px; padding-top: 42px; }
.direction-script .hero-copy { grid-column: 2; grid-row: 1; }
.direction-script .script-hero { grid-column: 1; grid-row: 1; }
.direction-script h1 { font-weight: 500; font-size: clamp(55px, 5vw, 76px); line-height: 1.1; letter-spacing: -.055em; }
.direction-script h1 em, .direction-script h2 em { font-family: Georgia, serif; font-style: italic; }
.direction-script .eyebrow { font-family: var(--mono); }
.script-hero { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 10px 10px 0 #dce4d4; min-width: 0; }
.script-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 22px; font: 13px var(--mono); }
.script-lines { padding-block: 20px; }
.script-lines>div { display: flex; gap: 22px; align-items: start; padding: 18px 24px; font: 14px/1.8 var(--mono); }
.script-lines b { color: #a1ac9d; font-size: 10px; font-weight: 400; min-width: 15px; padding-top: 5px; }
.script-lines i { color: var(--accent); font-style: normal; font-weight: 600; }
.script-lines small { font-size: 11px; color: var(--muted); }
.script-lines .comment { color: #8d5749; font-size: 12px; }
.script-lines>div:nth-child(4) { background: var(--soft); border-left: 2px solid var(--accent); padding-left: 22px; }
.script-lines>div>span { min-width: 0; overflow-wrap: anywhere; }
.script-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; padding: 19px 22px; font: 8px var(--mono); color: var(--muted); letter-spacing: 1px; }
.direction-script .benefit-band b { font-family: var(--mono); font-size: 18px; }
.direction-script .workflow-rows article { grid-template-columns: 80px 1fr 60px; }
.direction-script .row-number { font-size: 21px; }
.direction-script .window-bar { background: #244b37; }
.direction-script .capabilities { grid-template-columns: .75fr 1.25fr; }
.direction-script .statement { text-align: left; }
.direction-script .statement blockquote { margin-left: 0; }

/* 06 — Oversized launch typography and a violet-lit replay stage. */
.direction-theatre {
  --paper: #181124; --surface: #22192f; --ink: #f4f0e8; --muted: #b2a8c1;
  --accent: #bca7ff; --soft: #312146; --line: #493858;
}
.direction-theatre .review-bar { background: #2b1f3b; color: #d7cfea; }
.direction-theatre .brand-mark, .direction-theatre .primary, .direction-theatre .play-button, .direction-theatre .demo-form button { background: #7657ff; color: #fff; }
.direction-theatre .hero { display: flex; flex-direction: column; text-align: center; padding-top: 36px; gap: 42px; padding-bottom: 70px; }
.direction-theatre h1 { font-size: clamp(64px, 8.7vw, 135px); line-height: .95; letter-spacing: -.075em; }
.direction-theatre .hero-description { max-width: 650px; margin-inline: auto; }
.direction-theatre .hero-actions { justify-content: center; }
.direction-theatre .product-stage { width: min(980px, 100%); padding: 0 25px; }
.direction-theatre .product-stage::before { inset: -40px -30px; background: radial-gradient(ellipse, #7657ff30, transparent 65%); }
.direction-theatre .player { border: 9px solid #3b2b51; box-shadow: 0 30px 80px #0004; }
.direction-theatre .player-body { min-height: 315px; }
.direction-theatre .test-step { padding: 14px 24px; }
.direction-theatre .test-step code { font-size: 10px; }
.direction-theatre .app-window { margin: 20px 24px; }
.direction-theatre .window-bar { background: #312146; }
.direction-theatre .greeting.success>span, .direction-theatre .test-step.ready .step-state { color: #b5ddb7; }
.direction-theatre .hero-note { font-size: 11px; letter-spacing: 3px; }
.direction-theatre .benefit-band { background: #f4f0e8; color: #181124; }
.direction-theatre .benefit-band small { color: #716577; }
.direction-theatre .benefit-band span { border-color: #cec5d4; }
.direction-theatre .workflow-rows article { grid-template-columns: 160px 1fr 90px; padding-block: 35px; }
.direction-theatre .row-number { font: 62px var(--sans); letter-spacing: -5px; color: #78678c; }
.direction-theatre .workflow-rows h3 { font-size: 33px; }
.direction-theatre .statement h2 { font-size: clamp(60px, 7vw, 110px); }
.direction-theatre .closing { background: #7657ff; border-color: #7657ff; }
.direction-theatre .closing .eyebrow, .direction-theatre .closing p:not(.eyebrow), .direction-theatre .closing em { color: #f4f0e8; }
.direction-theatre .closing .primary { background: #f4f0e8; border-color: #f4f0e8; color: #392765; }

@media (min-width: 1650px) {
  .hero { gap: 70px; }
  .player-body { min-height: 360px; }
  .test-step { padding: 16px; }
  .test-step strong { font-size: 12px; }
  .test-step code { font-size: 10px; }
  .demo-form { padding: 25px 20px; }
}
@media (max-width: 1150px) {
  .shell { width: calc(100% - 60px); }
  .review-bar { padding-inline: 30px; }
  .site-header nav { gap: 22px; }
  .hero { gap: 32px; }
  h1 { font-size: 60px; }
  .hero-description { font-size: 15px; }
  .button { font-size: 12px; padding: 14px 16px; gap: 10px; }
  .player-body { grid-template-columns: 1fr; }
  .step-list { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .test-step { padding: 8px 14px; }
  .test-step code { font-size: 8px; margin-top: 3px; }
  .app-window { margin: 14px; }
  .demo-form { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; align-items: center; }
  .demo-form .demo-label { grid-column: 1 / -1; margin-bottom: 4px; }
  .demo-form label { grid-column: 1; margin: 0; }
  .demo-form input { grid-column: 1; }
  .demo-form button { grid-column: 1; margin-top: 0; }
  .greeting { grid-column: 2; grid-row: 2 / 5; min-height: 0; padding: 0; }
  .greeting strong { font-size: 12px; }
  .greeting>span { font-size: 24px; }
  .stage-note { margin-left: 20px; margin-right: -10px; }
  .stage-note small { font-size: 8px; }
  .section-heading { gap: 40px; }
  .capabilities, .faq-section { gap: 40px; }
  .direction-human .hero { gap: 45px; }
  .direction-human .product-stage { transform: rotate(1deg); }
  .direction-human .product-stage::before { inset-inline: 0; transform: none; }
  .direction-night .player-body, .direction-theatre .player-body, .demo-section .player-body { grid-template-columns: 1.1fr 1fr; }
  .direction-night .demo-form, .direction-theatre .demo-form, .demo-section .demo-form { display: block; }
  .direction-night .demo-form label, .direction-theatre .demo-form label, .demo-section .demo-form label { margin-bottom: 8px; }
  .direction-night .demo-form button, .direction-theatre .demo-form button, .demo-section .demo-form button { margin-top: 9px; }
  .direction-night .greeting, .direction-theatre .greeting, .demo-section .greeting { padding-top: 20px; }
  .direction-blueprint .hero { gap: 40px; }
  .architecture-hero { padding: 18px; }
  .backends { gap: 10px; }
  .backends>div { padding: 12px; }
  .direction-script .hero { gap: 40px; }
  .script-lines>div { font-size: 11px; gap: 15px; padding-inline: 18px; }
  .script-lines>div:nth-child(4) { padding-left: 16px; }
  .script-lines small { font-size: 9px; }
  .script-lines .comment { font-size: 10px; }
}
@media (max-width: 850px) {
  .site-header nav { gap: 16px; font-size: 11px; }
  .site-header nav .nav-cta { padding: 11px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 35px; padding-bottom: 55px; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: 72px; }
  .hero-description { max-width: 610px; }
  .product-stage { max-width: 710px; width: 100%; margin-inline: auto; }
  .player-body { grid-template-columns: 1.1fr 1fr; }
  .step-list { border-right: 1px solid var(--line); border-bottom: 0; }
  .test-step { padding: 14px; }
  .demo-form { display: block; padding: 20px; }
  .demo-form .demo-label { margin-bottom: 20px; }
  .demo-form label { margin-bottom: 8px; }
  .demo-form button { margin-top: 10px; }
  .greeting { padding-top: 24px; }
  .product-stage::before { inset: 0 -10px 5px; }
  .workflow, .backend-section, .capabilities, .faq-section, .demo-section { padding-block: 65px; }
  .section-heading { gap: 30px; }
  .section-heading>p { font-size: 13px; }
  .workflow-rows article { grid-template-columns: 50px 1fr 40px; }
  .backend-columns { gap: 30px; }
  .backend-columns h3 { font-size: 23px; }
  .capabilities, .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { margin-left: auto; }
  .direction-human .hero { gap: 35px; }
  .direction-human h1 { font-size: 75px; }
  .direction-human .product-stage::before { inset-inline: 0; }
  .direction-human .workflow-rows { gap: 16px; }
  .direction-human .workflow-rows article { padding: 20px; }
  .direction-human .workflow-rows h3 { font-size: 19px; }
  .direction-human .workflow-rows p { font-size: 12px; }
  .direction-night .statement { display: block; }
  .direction-night .statement>p:not(.eyebrow) { max-width: 600px; }
  .direction-night .statement blockquote { margin-left: 0; }
  .direction-blueprint .hero { grid-template-columns: 1fr; }
  .direction-blueprint h1 { font-size: 68px; }
  .architecture-hero { width: min(650px, 100%); }
  .backends>div { padding: 22px; }
  .direction-script .hero { grid-template-columns: 1fr; gap: 40px; }
  .direction-script .hero-copy { grid-column: 1; grid-row: 1; }
  .direction-script .script-hero { grid-column: 1; grid-row: 2; max-width: 650px; width: 100%; }
  .direction-script h1 { font-size: 72px; }
  .script-lines>div { font-size: 14px; padding: 15px 25px; }
  .script-lines>div:nth-child(4) { padding-left: 23px; }
  .script-lines small, .script-lines .comment { font-size: 12px; }
  .direction-script .capabilities { grid-template-columns: 1fr; }
  .direction-theatre .product-stage { padding-inline: 0; }
  .direction-theatre .product-stage::before { inset-inline: 0; }
  .direction-theatre .workflow-rows article { grid-template-columns: 75px 1fr 40px; }
  .direction-theatre .row-number { font-size: 46px; }
  .direction-theatre .workflow-rows h3 { font-size: 25px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 36px); }
  .review-bar { padding: 11px 18px; font-size: 9px; flex-wrap: wrap; gap: 9px; }
  .review-bar>span { order: 3; width: 100%; padding-top: 3px; color: inherit; opacity: .8; }
  .review-bar a:last-child { margin-left: auto; }
  .site-header { height: auto; padding-block: 22px; flex-wrap: wrap; gap: 20px; }
  .brand { font-size: 21px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 10px; }
  .site-header nav .nav-cta { padding: 10px 8px; font-size: 9px; }
  .nav-cta span { padding-left: 4px; }
  .hero { padding-top: 22px; gap: 25px; padding-bottom: 48px; }
  h1 { font-size: 55px; letter-spacing: -.06em; }
  h2 { font-size: 37px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 18px; }
  .hero-description { font-size: 14px; line-height: 1.85; margin-top: 23px; }
  .hero-actions { gap: 9px; margin-top: 25px; }
  .button { padding: 13px 14px; font-size: 11px; min-height: 46px; }
  .hero-note { font-size: 9px; }
  .product-stage { padding-block: 15px; }
  .window-bar { padding: 12px 10px; gap: 8px; font-size: 8px; }
  .window-bar b { display: none; }
  .window-controls { gap: 4px; }
  .window-controls i { width: 6px; height: 6px; }
  .player-toolbar { padding: 14px 10px; font-size: 9px; }
  .session-label { font-size: 7px; letter-spacing: .5px; }
  .player-body { grid-template-columns: 1fr; }
  .step-list { padding: 16px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-label { padding-bottom: 8px; font-size: 8px; }
  .test-step { padding: 9px 13px; }
  .test-step strong { font-size: 11px; }
  .test-step code { font-size: 9px; }
  .app-window { margin: 14px 12px; }
  .demo-form { display: grid; padding: 16px; gap: 7px 14px; }
  .demo-form .demo-label { margin-bottom: 5px; font-size: 9px; }
  .demo-form label { margin-bottom: 0; }
  .demo-form input { font-size: 12px; }
  .demo-form button { margin-top: 0; min-height: 34px; }
  .greeting { padding: 0; }
  .greeting strong { font-size: 13px; }
  .greeting small { font-size: 8px; }
  .player-bottom { padding: 12px 10px; gap: 9px; }
  #demo-status { font-size: 8px; flex: 1; margin-left: 0; }
  .stage-note { margin: -4px 0 0 12px; padding: 12px; gap: 9px; }
  .stage-note strong { font-size: 10px; }
  .stage-note>span { padding: 7px; }
  .benefit-band>.shell { padding-block: 22px; gap: 14px; }
  .benefit-band span { padding-left: 0; gap: 7px; }
  .benefit-band b { font-size: 17px; }
  .benefit-band small { font-size: 9px; line-height: 1.6; max-width: 95px; }
  .workflow, .backend-section, .capabilities, .faq-section, .demo-section { padding-block: 50px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
  .section-heading>p { max-width: 310px; }
  .workflow-rows article { grid-template-columns: 30px 1fr 24px; gap: 10px; padding-block: 25px; }
  .workflow-rows h3 { font-size: 20px; }
  .workflow-rows p { font-size: 12px; }
  .row-number { font-size: 10px; }
  .row-symbol { font-size: 23px; }
  .backend-columns { grid-template-columns: 1fr; gap: 35px; }
  .backend-columns h3 { font-size: 26px; }
  .backend-columns p { font-size: 13px; }
  .backend-columns li { font-size: 12px; line-height: 1.6; }
  .platform-note { padding: 17px; gap: 13px; margin-top: 25px; }
  .platform-note p { font-size: 11px; }
  .statement { padding-block: 55px; }
  .statement h2 { font-size: 45px; }
  .statement>p:not(.eyebrow) { font-size: 14px; }
  .statement blockquote { font-size: 18px; margin-top: 28px; }
  .statement cite { font-size: 9px; }
  .tabs button { font-size: 10px; padding: 16px 8px; }
  #interface-panel { padding: 22px 18px; min-height: 320px; }
  #interface-panel h3 { font-size: 21px; }
  #interface-panel>p:not(.interface-kicker) { font-size: 12px; }
  pre { padding: 14px; }
  pre code { font-size: 9px; }
  .section-intro>p:last-child { font-size: 13px; }
  summary { font-size: 13px; }
  details p { font-size: 12px; }
  .closing { padding-block: 60px; }
  .closing h2 { font-size: 56px; }
  .closing p:not(.eyebrow) { font-size: 13px; }
  .site-footer { align-items: start; gap: 23px; }
  .site-footer p { width: 100%; margin-left: 0; order: 3; }
  .site-footer>a:last-child { font-size: 10px; margin-left: auto; max-width: 125px; line-height: 1.7; }
  .direction-night .hero { padding-top: 30px; gap: 30px; }
  .direction-night .product-stage::before { inset-inline: 0; }
  .direction-night h1 { font-size: 59px; }
  .direction-night .player-body, .direction-theatre .player-body, .demo-section .player-body { grid-template-columns: 1fr; min-height: 0; }
  .direction-night .test-step, .direction-theatre .test-step, .demo-section .test-step { padding: 9px 13px; }
  .direction-night .test-step code, .direction-theatre .test-step code, .demo-section .test-step code { font-size: 9px; }
  .direction-night .app-window, .direction-theatre .app-window { margin: 14px 12px; }
  .direction-night .demo-form, .direction-theatre .demo-form, .demo-section .demo-form { display: grid; padding: 16px; }
  .direction-night .demo-form label, .direction-theatre .demo-form label, .demo-section .demo-form label { margin-bottom: 0; }
  .direction-night .demo-form button, .direction-theatre .demo-form button, .demo-section .demo-form button { margin-top: 0; }
  .direction-night .greeting, .direction-theatre .greeting, .demo-section .greeting { padding: 0; }
  .direction-night .benefit-band b { font-size: 14px; }
  .direction-human h1 { font-size: 60px; }
  .direction-human .product-stage { transform: none; padding-top: 60px; }
  .direction-human .product-stage::before { transform: none; inset: 45px -6px 0; }
  .human-note { font-size: 14px; padding: 13px 16px; right: 10px; top: 8px; }
  .direction-human .workflow-rows { grid-template-columns: 1fr; gap: 15px; }
  .direction-human .workflow-rows article { display: grid; grid-template-columns: 25px 1fr 25px; gap: 14px; padding: 23px 16px; }
  .direction-human .workflow-rows article:nth-child(2) { margin: 0; }
  .direction-human .workflow-rows h3 { font-size: 21px; }
  .direction-human .row-symbol { align-self: center; }
  .direction-blueprint .hero { gap: 35px; padding-top: 25px; padding-bottom: 45px; }
  .direction-blueprint h1 { font-size: 53px; }
  .architecture-hero { padding: 18px 15px; }
  .backends>div { padding: 18px 12px; }
  .backends h3 { font-size: 19px; }
  .backends p { font-size: 9px; }
  .architecture-clients span { font-size: 11px; }
  .direction-blueprint .backend-columns article { padding: 23px; }
  .direction-blueprint .backend-columns article+article { border-left: 0; border-top: 1px solid var(--line); }
  .direction-blueprint .backend-columns { gap: 0; }
  .direction-script h1 { font-size: 57px; }
  .direction-script .hero { padding-top: 25px; gap: 35px; }
  .script-header { padding: 18px; font-size: 11px; }
  .script-lines>div { padding: 14px 16px; gap: 13px; font-size: 11px; }
  .script-lines>div:nth-child(4) { padding-left: 14px; }
  .script-lines small, .script-lines .comment { font-size: 10px; }
  .script-lines b { font-size: 9px; }
  .script-footer { padding: 17px; font-size: 7px; letter-spacing: .4px; }
  .direction-script .workflow-rows article { grid-template-columns: 30px 1fr 25px; }
  .direction-script .row-number { font-size: 14px; }
  .direction-script .benefit-band b { font-size: 15px; }
  .direction-theatre h1 { font-size: 57px; }
  .direction-theatre .hero { padding-top: 25px; gap: 30px; }
  .direction-theatre .hero-note { font-size: 9px; letter-spacing: 2px; }
  .direction-theatre .player { border-width: 5px; }
  .direction-theatre .workflow-rows article { grid-template-columns: 37px 1fr 23px; padding-block: 26px; }
  .direction-theatre .row-number { font-size: 28px; letter-spacing: -2px; }
  .direction-theatre .workflow-rows h3 { font-size: 23px; }
  .direction-theatre .statement h2 { font-size: 58px; }
  .demo-section .greeting strong { font-size: 13px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  h1, .direction-human h1, .direction-night h1, .direction-script h1, .direction-theatre h1 { font-size: 49px; }
  .direction-blueprint h1 { font-size: 47px; }
  .site-header nav { gap: 6px; font-size: 9px; }
  .site-header nav .nav-cta { font-size: 8px; padding-inline: 6px; }
  .button { padding-inline: 11px; font-size: 10px; }
  .demo-form { padding: 13px; gap: 7px 10px; }
  .greeting strong { font-size: 11px; }
  .brand { font-size: 19px; }
  .site-footer>a:last-child { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
