/* Shared application shell and responsive project assembly workspace. */
:root {
  --paper: #f7f8fa;
  --ink: #22262c;
  --blue: #254bfa;
  --muted: #686e78;
  --line: #e3e6ed;
  --display: Golos, Arial, sans-serif;
  --space: clamp(18px, 3vw, 48px);
}
body { background: var(--paper); font-size: 15px; }
html { scroll-padding-top: 20px; }
body, main, article, section, aside { min-width: 0; }
button:disabled { cursor: default; }
button, summary, a { touch-action: manipulation; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-shell { max-width: 2000px; padding: 0; }
.assembly-header { height: 84px; padding: 0 28px; gap: 18px; background: #fff; border-color: var(--line); }
.wordmark { font-size: 27px; letter-spacing: -.055em; font-weight: 750; }
.wordmark>span { color: var(--blue); }
.brand-caption { color: var(--muted); font-size: 10px; line-height: 1.5; padding-left: 18px; border-left: 1px solid var(--line); }
.site-header .workspace-tabs { margin: 0 auto; padding: 4px; gap: 3px; border-radius: 9px; background: #f0f1f4; }
.site-header .workspace-tabs a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.workspace-tabs a.active, body:has(.assembly-workspace) .workspace-tabs .workspace-link { background: #25282f; color: #fff; }
.site-header .workspace-tabs a:hover { background: #e2e5ed; color: var(--ink); }
.site-header .workspace-tabs a.active:hover, body:has(.assembly-workspace) .workspace-tabs .workspace-link:hover { background: #363b46; color: white; }
.button { border-radius: 6px; font-size: 14px; min-height: 48px; gap: 16px; line-height: 1.35; }
.header-cta { margin: 0; padding: 12px 18px; min-height: 44px; }
.eyebrow { font: 500 10px/1.5 var(--body); letter-spacing: .11em; color: var(--muted); }
.service-icon { flex-shrink: 0; }
.assembly-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr) 304px; min-height: 700px; height: max(700px, calc(100svh - 124px)); max-height: 1040px; border-bottom: 1px solid var(--line); }
.assembly-library { background: #fff; border-right: 1px solid var(--line); padding: 30px 20px 24px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d8dce5 transparent; }
.library-heading { padding: 0 6px; margin-bottom: 22px; }
.library-heading .eyebrow { font-size: 9px; letter-spacing: .075em; }
.library-heading h1 { font-size: 25px; line-height: 1.25; letter-spacing: -.055em; margin: 9px 0 10px; font-weight: 650; }
.library-heading p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.assembly-workspace fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.product-choices { display: grid; gap: 7px; }
.product-choice { display: grid; position: relative; grid-template-columns: 23px minmax(0, 1fr) 12px; gap: 10px; align-items: center; min-height: 50px; padding: 12px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; background: #f4f5f7; }
.product-choice input, .pricing-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-choice:has(input:focus-visible), .pricing-option:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-choice.is-selected { background: var(--blue); color: #fff; }
.product-choice:not(.is-selected):hover { background: #e9edff; }
.product-name { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.product-choice .service-icon { width: 22px; }
.selection-mark { font-size: 12px; }
.library-options-heading { display: flex; justify-content: space-between; align-items: center; padding: 23px 6px 13px; margin-top: 21px; border-top: 1px solid var(--line); }
.library-options-heading h2 { font-size: 15px; letter-spacing: -.025em; font-weight: 600; }
.library-options-heading>span { font-size: 21px; color: var(--muted); }
.option-group { margin-top: 4px; }
.option-group>summary { list-style: none; padding: 13px 6px; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: #555d6b; cursor: pointer; }
.option-group>summary::-webkit-details-marker, .base-description>summary::-webkit-details-marker { display: none; }
.option-group[open]>summary>span { transform: rotate(180deg); }
.option-group fieldset { display: grid; gap: 6px; padding-bottom: 9px; }
.option-row { background: #f5f6f8; border: 1px solid transparent; border-radius: 7px; }
.option-row:has(.is-selected) { background: #eef2ff; border-color: #d1daff; }
.pricing-option { display: grid; position: relative; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: center; gap: 10px; padding: 12px 10px 5px; min-height: 57px; cursor: pointer; }
.pricing-option .service-icon { width: 21px; color: #667080; }
.pricing-option.is-selected .service-icon, .pricing-option.is-selected .option-check { color: var(--blue); }
.option-description { display: grid; gap: 4px; min-width: 0; }
.option-description strong { font-size: 11px; line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.option-description>span { font-size: 10px; color: var(--muted); }
.option-check { font-size: 18px; text-align: center; }
.option-info { padding: 0 10px 4px 42px; }
.option-info summary { cursor: pointer; color: #596372; font-size: 10px; min-height: 30px; padding: 8px 0; }
.option-info p { margin: 3px 0 10px; font-size: 11px; color: #525d6d; line-height: 1.6; overflow-wrap: anywhere; }
.assembly-canvas { background: radial-gradient(#cfd5e2 .8px, transparent .8px) 0 0/18px 18px #f5f7fa; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.canvas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.canvas-toolbar>div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.canvas-toolbar h2 { font-size: 11px; font-weight: 500; }
.canvas-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.module-count { color: var(--muted); font-size: 10px; border-left: 1px solid #cfd3df; padding-left: 8px; }
.canvas-reset { border: 1px solid #dce1eb; border-radius: 6px; background: white; display: inline-flex; align-items: center; justify-content: center; padding: 10px; min-height: 44px; font-size: 11px; gap: 5px; }
.canvas-reset>span { font-size: 19px; line-height: 1; }
.project-diagram { width: 100%; max-width: 890px; margin: auto; padding: 20px 28px 35px; }
.diagram-caption { text-align: center; margin: 6px 0 28px; }
.diagram-caption>span { font-size: 9px; letter-spacing: .12em; color: #6d788f; }
.diagram-caption p { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.05em; line-height: 1.25; margin-top: 10px; color: #888e9a; font-weight: 400; }
.diagram-caption strong { color: #252d3e; font-weight: 550; }
.project-node { position: relative; width: min(100%, 400px); margin: 0 auto; background: white; border: 1.5px solid var(--blue); border-radius: 9px; box-shadow: 0 8px 30px #3046920c; }
.project-node::after { content: ''; position: absolute; bottom: -5px; left: calc(50% - 4px); width: 8px; height: 8px; border: 1.5px solid var(--blue); background: white; border-radius: 50%; z-index: 2; }
.node-heading { border-radius: 6px 6px 0 0; color: white; background: var(--blue); padding: 13px 16px; display: flex; align-items: center; gap: 10px; }
.node-heading h3 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .035em; overflow-wrap: anywhere; }
.node-heading .service-icon { width: 22px; }
.node-label { margin-left: auto; font-size: 8px; letter-spacing: .1em; opacity: .85; }
.node-preview { position: relative; display: block; height: 215px; padding: 14px; background: #fff; border-bottom: 1px solid #edf0f5; }
.node-preview>.preview, .node-preview>img { width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.preview { --display: Unbounded, Arial, sans-serif; }
.preview-caption { position: absolute; bottom: 10px; left: 14px; right: 14px; padding: 7px 9px; background: #fffffff5; color: #4b5669; border: 1px solid #e3e7f0; border-radius: 4px; font-size: 9px; text-align: center; }
.node-base { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; align-items: center; font-size: 10px; color: var(--muted); }
.node-base strong { color: var(--ink); font-size: 12px; white-space: nowrap; }
.node-placeholder { height: 200px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 24px; text-align: center; }
.node-placeholder>span { color: var(--muted); font-size: 12px; }
.diagram-modules { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 30px; padding-top: 38px; margin: 0 auto; max-width: 620px; }
.diagram-modules::before { content: ''; position: absolute; height: 20px; top: 0; left: 50%; border-left: 1px solid #9caeee; }
.diagram-modules::after { content: ''; position: absolute; top: 20px; left: 25%; right: 25%; border-top: 1px solid #9caeee; }
.module-node { position: relative; border: 1px solid #bac9f5; background: #fff; border-radius: 8px; min-height: 86px; display: flex; align-items: center; gap: 11px; padding: 16px 11px; text-align: left; color: var(--ink); }
.module-node::before { content: ''; position: absolute; top: -19px; left: 50%; height: 19px; border-left: 1px solid #9caeee; }
.module-node:nth-child(n+3)::before { top: -30px; height: 30px; }
.module-node>.service-icon { color: var(--blue); width: 23px; }
.module-node>div, .suggested-node>span:not(.module-port):not(.suggestion-plus) { min-width: 0; flex: 1; }
.module-node h3, .suggested-node strong { display: block; font-weight: 550; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.module-node p, .suggested-node small, .module-node small { display: block; color: #647086; font-size: 10px; line-height: 1.5; margin-top: 4px; }
.module-port { width: 7px; height: 7px; border: 1px solid #91a7ee; background: white; position: absolute; top: -4px; left: calc(50% - 3px); border-radius: 50%; }
.remove-module { border: 0; background: transparent; color: #74809b; font-size: 19px; min-height: 44px; width: 28px; flex-shrink: 0; padding: 0; }
.remove-module:hover { color: var(--blue); background: #eff2ff; border-radius: 5px; }
.module-included { font-size: 12px; color: var(--blue); }
.suggested-node { border-style: dashed; border-color: #b7c2da; background: #ffffffd9; }
.suggested-node:hover { border-color: var(--blue); background: #eef2ff; }
.suggestion-plus { color: var(--blue); font-size: 21px; }
.canvas-hint { margin-top: 24px; font-size: 11px; color: #667186; text-align: center; }
.canvas-bottom { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; color: #616c7f; font-size: 9px; }
.canvas-bottom>span { display: flex; align-items: center; gap: 7px; }
.canvas-bottom a { text-decoration: underline; text-underline-offset: 4px; padding-block: 12px; }
.pricing-summary { background: white; border-left: 1px solid var(--line); padding: 35px 24px 24px; overflow-y: auto; scrollbar-width: thin; scroll-margin-top: 20px; }
.pricing-summary h2 { margin: 12px 0 15px; font-size: 20px; font-weight: 550; letter-spacing: -.05em; }
.price-total { display: block; font-size: clamp(32px, 3vw, 43px); line-height: 1.2; font-weight: 600; letter-spacing: -.055em; overflow-wrap: anywhere; }
.monthly-total { display: block; color: #535d6d; font-size: 12px; margin-top: 9px; }
.estimate-caption { color: #727987; font-size: 11px; line-height: 1.6; margin-top: 17px; }
.estimate-list-title { display: flex; justify-content: space-between; color: #8a909d; font-size: 10px; font-weight: 400; padding: 30px 0 10px; margin: 0; border-bottom: 1px solid var(--line); }
.estimate-lines { list-style: none; padding: 0; margin: 16px 0; }
.estimate-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; font-size: 11px; line-height: 1.55; margin-top: 16px; }
.estimate-lines li>span { overflow-wrap: anywhere; }
.estimate-lines strong { font-size: 11px; font-weight: 450; white-space: nowrap; }
.estimate-lines small { display: block; font-size: 9px; color: var(--muted); font-weight: 400; }
.estimate-lines strong small { text-align: right; }
.estimate-subtotal { display: flex; justify-content: space-between; align-items: start; gap: 16px; font-size: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.estimate-subtotal strong { font-weight: 600; white-space: nowrap; }
.monthly-heading { padding-top: 25px; }
.base-description { margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.base-description summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: 11px; cursor: pointer; }
.base-description p { font-size: 12px; color: var(--muted); line-height: 1.7; padding-bottom: 16px; overflow-wrap: anywhere; }
.estimate-cta { width: 100%; padding: 15px 14px; font-size: 12px; }
.pricing-breakdown-link { display: block; padding: 16px 0; font-size: 10px; text-align: center; text-decoration: underline; text-underline-offset: 3px; color: #5d677b; }
.estimate-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 12px; color: #838b9b; }
.estimate-note>span { color: var(--blue); font-size: 30px; }
.estimate-note p { font-size: 11px; line-height: 1.8; }
.estimate-note strong { color: #555f70; font-size: 10px; font-weight: 400; }
.connection-status { font-size: 12px; margin-top: 20px; color: #5e6680; }
.pricing-explanation { padding: 48px var(--space) 56px; max-width: 1200px; margin: 0 auto; scroll-margin-top: 30px; }
.explanation-heading h2 { font-size: 30px; font-weight: 550; letter-spacing: -.045em; margin: 10px 0; }
.explanation-heading>p { color: var(--muted); font-size: 13px; }
.quote-heading h3 { font-weight: 550; }
.quote-line { border-color: var(--line); }
.quote-line dd>strong { font-family: var(--body); }
.quote-notes { background: #eef1f6; border-radius: 8px; }
.quote-notes h4 { font-weight: 550; }
.quote-totals { border-color: #d0d7e4; }
.quote-totals strong { font-size: 26px; }
.pricing-unavailable { padding: 100px var(--space); min-height: 60vh; }
.pricing-unavailable h1 { font-size: clamp(32px, 5vw, 66px); line-height: 1.1; letter-spacing: -.055em; margin-block: 20px; }
.pricing-unavailable p { max-width: 580px; margin-bottom: 28px; color: var(--muted); }
.pricing-mobile-total { display: none; }
/* Portfolio and studio pages use the same quiet application chrome. */
.portfolio-library, .studio-page, .project-detail { padding: 55px var(--space) 65px; max-width: 1500px; margin: auto; }
.portfolio-library .section-heading { border: 0; margin-bottom: 34px; }
.portfolio-library h1, .studio-intro h1 { font-size: clamp(35px, 5vw, 66px); line-height: 1.1; font-weight: 550; letter-spacing: -.055em; }
.portfolio-library .section-heading p { color: var(--muted); font-size: 13px; }
.portfolio-library .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.portfolio-library .project-card { grid-column: auto; display: flex; flex-direction: column-reverse; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 0; overflow: hidden; }
.portfolio-library .project-visual, .portfolio-library .project-card:nth-child(3) .project-visual { height: 240px; padding: 0; }
.portfolio-library .project-info { padding: 22px; min-height: 230px; gap: 12px; }
.portfolio-library .project-info h3 { font-size: 23px; letter-spacing: -.035em; }
.portfolio-library .project-info h3 span { font-size: 12px; letter-spacing: 0; }
.portfolio-library .project-info p { font-size: 13px; line-height: 1.6; }
.portfolio-library .project-card:nth-child(3) .preview { max-width: none; }
.portfolio-library .project-arrow { position: absolute; bottom: 18px; right: 22px; }
.portfolio-library .project-info { position: relative; }
.portfolio-library .dark-device { height: 270px; }
.studio-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.studio-intro h1 { margin: 20px 0; }
.studio-intro p { color: var(--muted); max-width: 630px; line-height: 1.8; margin-bottom: 25px; white-space: pre-line; }
.studio-sign { background: radial-gradient(#cfd5e2 .8px, transparent .8px) 0 0/18px 18px #eef2fa; min-height: 330px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 100px; letter-spacing: -.08em; color: var(--blue); }
.studio-sign span { font-size: 12px; letter-spacing: 0; color: #687289; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.tech-list span { border: 1px solid #dce2ef; background: #eef1f7; color: #526077; border-radius: 5px; font-size: 11px; padding: 8px 12px; }
.studio-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; padding: 40px 0; }
.studio-page h2 { font-size: 25px; font-weight: 550; letter-spacing: -.035em; margin: 12px 0 24px; }
.studio-detail { border-top: 1px solid var(--line); }
.studio-detail summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 500; }
.studio-detail summary span { color: var(--blue); }
.studio-detail p { color: var(--muted); line-height: 1.8; padding-bottom: 20px; white-space: pre-line; }
.studio-detail small { display: block; margin-bottom: 20px; color: var(--muted); }
.studio-link { display: inline-block; padding-block: 22px; font-size: 13px; color: var(--blue); }
.studio-process { list-style: none; counter-reset: process; padding: 0; }
.studio-process li { position: relative; counter-increment: process; margin: 0 0 26px; padding-left: 50px; }
.studio-process li::before { content: counter(process, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--blue); background: #e9edff; border-radius: 5px; padding: 8px; font-size: 12px; }
.studio-process h3 { font-size: 16px; font-weight: 550; margin-bottom: 8px; }
.studio-process p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.studio-faq { padding-top: 30px; max-width: 900px; }
.site-footer { padding: 24px var(--space); background: #fff; border-color: var(--line); flex-wrap: wrap; gap: 12px 25px; }
.site-footer .wordmark { font-size: 20px; }
.site-footer>div { flex-wrap: wrap; gap: 8px 22px; }
.site-footer>div>a { padding: 10px 0; min-height: 40px; display: inline-flex; align-items: center; }
.project-detail .detail-heading h1 { font-size: clamp(48px, 8vw, 100px); font-weight: 600; }
.detail-heading p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.detail-arrow { font-size: 90px; }
.detail-preview, .detail-gallery img { border-color: var(--line); border-radius: 10px; }
.detail-preview { background: #e9edf4; }
.detail-grid, .detail-end { border-color: var(--line); }
.detail-grid h2, .detail-result h2 { font-weight: 550; }
.message-page, .prose-page { padding-inline: var(--space); margin-inline: auto; }
.message-page h1 { font-size: clamp(35px, 7vw, 80px); }
.prose-page h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 550; }
.pwa-notice { border-radius: 8px; }
@media (min-width: 1700px) {
  .assembly-layout { grid-template-columns: 290px minmax(0, 1fr) 340px; }
  .assembly-library { padding-inline: 26px; }
  .pricing-summary { padding-inline: 30px; }
  .project-node { width: 440px; }
  .node-preview { height: 255px; }
}
@media (max-width: 1190px) {
  .brand-caption { display: none; }
  .assembly-layout { grid-template-columns: 236px minmax(0, 1fr) 264px; }
  .assembly-library { padding-inline: 14px; }
  .pricing-summary { padding-inline: 18px; }
  .project-diagram { padding-inline: 20px; }
  .canvas-toolbar { padding-inline: 18px; }
  .module-count { display: none; }
  .diagram-modules { column-gap: 16px; }
  .module-node { flex-wrap: wrap; gap: 8px; }
  .module-node>.service-icon { width: 20px; }
  .module-node>div, .suggested-node>span:not(.module-port):not(.suggestion-plus) { flex-basis: calc(100% - 55px); }
  .remove-module { position: absolute; right: 4px; top: 0; }
  .module-node:has(.remove-module) { padding-right: 26px; }
  .canvas-bottom { flex-direction: column; align-items: start; gap: 0; }
  .portfolio-library .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .assembly-header { padding-inline: 20px; gap: 12px; }
  .assembly-layout { grid-template-columns: 250px minmax(0, 1fr); height: auto; max-height: none; }
  .assembly-library { grid-row: 1 / 3; padding: 28px 18px; overflow: visible; }
  .assembly-canvas { min-height: 680px; overflow: visible; }
  .pricing-summary { grid-column: 2; border-top: 1px solid var(--line); padding: 28px; overflow: visible; }
  .estimate-note { display: none; }
  .estimate-lines li, .estimate-lines strong { font-size: 13px; }
  .estimate-cta { font-size: 14px; }
  .site-header .workspace-tabs a { padding-inline: 12px; font-size: 12px; }
  .header-cta { font-size: 12px; padding-inline: 12px; }
  .diagram-modules { gap: 28px 18px; }
  .price-total { font-size: 42px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 14px; }
  .assembly-header { height: auto; min-height: 125px; display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 16px; gap: 14px 10px; }
  .assembly-header .wordmark { font-size: 23px; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .site-header .workspace-tabs { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
  .site-header .workspace-tabs a { min-height: 44px; padding: 8px 4px; font-size: 12px; }
  .assembly-header .header-cta { display: inline-flex; grid-row: 1; grid-column: 2; font-size: 11px; min-height: 40px; padding: 9px 10px; gap: 8px; }
  .header-cta span { font-size: 17px; }
  .assembly-layout { display: flex; flex-direction: column; }
  .assembly-library { padding: 25px 18px 22px; border: 0; }
  .library-heading { margin-bottom: 20px; padding: 0; }
  .library-heading h1 { font-size: 28px; }
  .library-heading p br { display: none; }
  .library-heading p { font-size: 13px; }
  .product-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-choice { grid-template-columns: 22px minmax(0, 1fr); padding: 13px 10px; gap: 8px; min-height: 63px; }
  .product-name { font-size: 12px; }
  .selection-mark { display: none; }
  .product-choice:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 54px; }
  .library-options-heading { margin-top: 22px; padding-inline: 0; padding-top: 20px; }
  .option-group>summary { font-size: 13px; padding: 14px 0; }
  .option-group { border-bottom: 1px solid var(--line); }
  .option-group fieldset { gap: 8px; padding-bottom: 12px; }
  .pricing-option { grid-template-columns: 24px minmax(0, 1fr) 20px; padding: 12px 14px 2px; gap: 12px; }
  .option-description strong { font-size: 13px; }
  .option-description>span { font-size: 11px; }
  .option-info { padding-left: 50px; padding-right: 18px; }
  .option-info summary { font-size: 11px; min-height: 40px; padding: 11px 0; }
  .option-info p { font-size: 12px; }
  .assembly-canvas { min-height: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .canvas-toolbar { padding: 18px 18px 0; }
  .canvas-toolbar h2 { font-size: 12px; }
  .project-diagram { padding: 12px 20px 24px; }
  .diagram-caption { margin: 15px 0 25px; }
  .diagram-caption p { font-size: 25px; }
  .node-heading { padding: 12px; }
  .node-heading h3 { font-size: 12px; }
  .node-label { font-size: 7px; }
  .node-preview { height: clamp(170px, 52vw, 260px); padding: 10px; }
  .node-base { padding: 13px 12px; }
  .diagram-modules { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 25px; width: 88%; }
  .diagram-modules::before { height: 25px; }
  .diagram-modules::after { display: none; }
  .module-node { min-height: 78px; flex-wrap: nowrap; padding: 14px; gap: 12px; }
  .module-node::before, .module-node:nth-child(n+3)::before { height: 25px; top: -25px; }
  .module-node:nth-child(n+2)::before { height: 20px; top: -20px; }
  .module-node>div { flex: 1; }
  .module-node h3, .suggested-node strong { font-size: 12px; }
  .module-node p, .suggested-node small { font-size: 11px; }
  .remove-module { position: static; min-width: 34px; }
  .module-node:has(.remove-module) { padding-right: 8px; }
  .canvas-hint { font-size: 11px; line-height: 1.6; }
  .canvas-bottom { padding: 5px 20px 14px; align-items: center; }
  .canvas-bottom>span { display: none; }
  .canvas-bottom a { font-size: 11px; }
  .pricing-summary { padding: 30px 22px; border: 0; }
  .pricing-summary h2 { font-size: 25px; margin: 12px 0 18px; }
  .price-total { font-size: 43px; }
  .monthly-total { font-size: 14px; }
  .estimate-caption { font-size: 12px; }
  .estimate-list-title { font-size: 12px; }
  .estimate-lines li, .estimate-lines strong { font-size: 13px; }
  .estimate-lines small { font-size: 10px; }
  .estimate-subtotal { font-size: 14px; }
  .base-description summary { font-size: 13px; }
  .estimate-cta { font-size: 14px; min-height: 52px; }
  .pricing-breakdown-link { font-size: 12px; min-height: 48px; }
  body:has(.pricing-mobile-total) { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .pricing-mobile-total { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 15; background: #fff; border-top: 1px solid #dce2ef; box-shadow: 0 -4px 20px #19294709; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); gap: 15px; align-items: center; justify-content: space-between; }
  .pricing-mobile-total small { display: block; font-size: 10px; color: #687185; }
  .pricing-mobile-total strong { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.045em; }
  .pricing-mobile-total>span:last-child { color: var(--blue); font-size: 12px; white-space: nowrap; }
  body:has(.pricing-mobile-total) .pwa-notice { bottom: 115px; }
  .pricing-explanation { padding: 35px 22px; border-top: 1px solid var(--line); }
  .explanation-heading h2 { font-size: 27px; line-height: 1.15; }
  .quote-heading { display: block; }
  .quote-heading h3 { margin-top: 10px; }
  .quote-line, .quote-notes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .quote-line dd>p { font-size: 13px; }
  .quote-notes { padding: 20px; gap: 24px; }
  .quote-totals { flex-direction: column; gap: 14px; }
  .site-footer { padding: 22px; gap: 8px 20px; }
  .site-footer>span { font-size: 11px; }
  .site-footer>div { gap: 4px 18px; }
  .site-footer .wordmark { font-size: 20px; }
  .portfolio-library, .studio-page, .project-detail { padding: 32px 20px 45px; }
  .portfolio-library .projects-grid { grid-template-columns: minmax(0, 1fr); }
  .portfolio-library .section-heading { display: block; }
  .portfolio-library .section-heading p { margin-top: 16px; }
  .portfolio-library .section-heading>.eyebrow { display: block; margin-top: 14px; }
  .portfolio-library .project-visual, .portfolio-library .project-card:nth-child(3) .project-visual { height: 235px; }
  .portfolio-library .project-info { min-height: 210px; }
  .studio-intro, .studio-columns { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .studio-sign { min-height: 240px; font-size: 80px; }
  .studio-intro p { font-size: 14px; }
  .studio-columns { padding: 25px 0; gap: 40px; }
  .studio-page h2 { font-size: 24px; }
  .studio-detail summary { font-size: 14px; }
  .studio-detail p { font-size: 13px; }
  .detail-heading { padding: 25px 0; }
  .detail-heading p { font-size: 15px; }
  .detail-preview { height: 280px; padding: 15px; }
  .detail-grid { gap: 30px; padding-block: 30px; }
  .detail-grid h2, .detail-result h2 { font-size: 23px; }
  .detail-grid p, .detail-result p { font-size: 14px; }
  .detail-end { align-items: start; }
  .prose-page { padding-top: 32px; }
  .message-page { padding-block: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.telegram-unavailable { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.revealed-service-link { display: block; padding: 8px 12px 14px; color: var(--blue); font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.option-row { scroll-margin-top: 18px; }
#project-options-launch { scroll-margin-top: 18px; }

/* Guided scope and launch requirements. */
.assembly-orientation { display: flex; flex-wrap: wrap; gap: 8px 25px; padding: 12px 26px; border-bottom: 1px solid var(--line); background: #fff; color: #596372; font-size: 11px; }
.launch-planner { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.launch-planner h2 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.launch-planner p { font-size: 11px; line-height: 1.6; color: var(--muted); margin-bottom: 13px; }
.launch-planner>label { display: grid; gap: 7px; font-size: 12px; margin-bottom: 14px; }
.launch-planner select { width: 100%; min-width: 0; padding: 10px 5px; min-height: 44px; border: 1px solid #cdd5e5; border-radius: 5px; background: #fff; color: var(--ink); font-size: 11px; }
.launch-planner .shared-data-choice { display: flex; align-items: start; gap: 9px; line-height: 1.5; }
.shared-data-choice input { margin-top: 3px; accent-color: var(--blue); }
.launch-planner .launch-cost-note { padding: 10px; background: #edf1ff; border-radius: 5px; }
.delivery-estimate { margin: 18px 0; padding: 13px; background: #edf1ff; border-radius: 6px; display: grid; gap: 7px; }
.delivery-estimate strong { color: #254bfa; font-size: 15px; font-weight: 550; }
.delivery-estimate span, .launch-summary p, .telegram-draft-note { font-size: 11px; line-height: 1.6; color: var(--muted); }
.launch-summary { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 15px; }
.launch-summary h3 { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.launch-summary p { margin-top: 8px; }
.telegram-draft-note { margin-top: 12px; }
.quote-launch-notes { margin-block: 22px; padding: 18px; border-left: 3px solid var(--blue); background: #edf1ff; border-radius: 4px; }
.quote-launch-notes h4 { font-weight: 550; margin-bottom: 8px; }
.quote-launch-notes p { font-size: 13px; line-height: 1.65; margin-top: 8px; }
[data-scroll-panel] { position: relative; }
.panel-scroll-hint { position: sticky; bottom: 0; z-index: 4; display: block; flex-shrink: 0; text-align: center; padding: 12px 8px; background: #edf1fff5; border: 1px solid #d6dfff; border-radius: 6px; color: #2245d5; font-size: 11px; pointer-events: none; }
.panel-scroll-hint[hidden], .page-scroll-cue[hidden], .page-scroll-hint[hidden] { display: none !important; }
.page-scroll-cue { position: fixed; z-index: 20; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); border: 1px solid #cbd5ff; border-radius: 22px; background: #fff; color: #254bfa; padding: 12px 18px; box-shadow: 0 4px 22px #1022521f; font-size: 12px; white-space: nowrap; }
.page-scroll-hint { color: #5d687e; }
@media (max-width: 900px) {
  .assembly-orientation { padding: 14px 22px; gap: 6px 20px; }
  .launch-planner select { font-size: 16px; }
  .launch-planner>label { font-size: 13px; }
  .assembly-workspace .panel-scroll-hint { display: none !important; }
  .pricing-mobile-total .mobile-total-action { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
  .mobile-total-action .page-scroll-hint { font-size: 10px; max-width: 145px; text-align: right; }
  .telegram-draft-note, .launch-summary p, .delivery-estimate span { font-size: 12px; }
}
