/* Refinements: stronger hierarchy, readable details, compact contact flow. */
:root { --muted: #afbec7; }
.section { padding-block: 84px; }
.hero { padding-top: 62px; }
.hero-grid { padding-bottom: 60px; }
.brand small { font-size: 11px; }
.desktop-nav { font-size: 14px; gap: 23px; }
.hero-description { font-size: 17px; line-height: 1.65; color: #d8e4e8; max-width: 505px; }
.hero-description strong { font-weight: 600; color: var(--text); }
.hero-supporting { font-size: 15px; line-height: 1.75; max-width: 465px; margin-top: 12px; }
.hero-actions { margin-top: 28px; }
.hero-trust { display: flex; align-items: center; gap: 23px; margin-top: 29px; flex-wrap: wrap; }
.hero-person { display: flex; align-items: center; gap: 11px; }
.hero-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center; border: 1px solid #52776a; }
.hero-person strong { display: block; font-size: 13px; font-weight: 500; }
.hero-person small { display: block; font-size: 11px; color: #9eafb6; margin-top: 2px; }
.hero-certificate { display: flex; gap: 6px; align-items: center; padding: 6px 0; border: 0; background: none; color: var(--mint); font-size: 11px; }
.hero-certificate svg { width: 13px; height: 13px; }
.hero-certificate:hover { text-decoration: underline; }
.automation-top .micro-label, .automation-status { font-size: 10px; }
.node-label { font-size: 10px; letter-spacing: .1em; }
.flow-node p { font-size: 14px; }
.connector small { font-size: 11px; }
.automation-bottom { font-size: 10px; }
.demo-trigger { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--mint); padding: 4px 0; font-size: 11px; text-align: right; }
.demo-trigger svg { width: 14px; height: 14px; }
.demo-trigger:hover { text-decoration: underline; }
.benefit-strip span { font-size: 15px; }
.benefit-strip small { font-size: 11px; }
.solution-body p { font-size: 15px; }
.solution-body .before-label, .solution-body .after-label { font-size: 11px; }
.row-number { font-size: 12px; }
.audience-tags span { font-size: 12px; }
.section-heading > p, .section-description { font-size: 15px; }
.section-heading { margin-bottom: 36px; }

/* The business outcome takes precedence over tools and implementation. */
.project-visual { height: 170px; padding-top: 25px; }
.mini-flow-label { font-size: 10px; }
.mini-node { font-size: 12px; padding: 7px 12px; max-width: 95%; text-align: center; }
.mini-last { font-size: 11px; padding: 5px 10px; text-align: center; }
.mini-line { height: 12px; }
.project-info { padding: 23px; }
.project-meta { font-size: 11px; letter-spacing: .02em; margin-bottom: 12px; color: #92adae; }
.project-name { font-size: 13px; color: #adbec6; margin-bottom: 18px; line-height: 1.6; }
.project-outcome { border-left: 2px solid #6bc4a5; padding-left: 15px; }
.project-outcome > span { display: block; color: #8cb5a6; font-size: 10px; letter-spacing: .07em; margin-bottom: 8px; }
.project-card h3 { font-size: 23px; line-height: 1.25; min-height: 88px; letter-spacing: -.03em; }
.project-result { font-size: 14px; line-height: 1.75; margin: 18px 0 22px; }
.project-open { font-size: 13px; min-height: 45px; }
.project-review-link { font-size: 12px; color: var(--mint); margin-bottom: 17px; }
.project-review-link:hover { text-decoration: underline; }
.portfolio-footer, .portfolio-footer p { font-size: 12px; }
.process-list { margin-top: 52px; }
.process-list p { font-size: 14px; }
.step-marker { font-size: 11px; }

/* Pricing presents jobs first; precise scope stays one click away. */
.pricing { padding-top: 84px; }
.price-index { font-size: 11px; letter-spacing: .03em; }
.price-purpose { font-size: 15px; line-height: 1.7; min-height: 78px; }
.price-card li { font-size: 14px; line-height: 1.7; }
.price-card ul { margin: 22px 0 16px; }
.price-card .button { font-size: 14px; }
.price-scope { margin: 0 0 23px; border-top: 1px solid #3d514e; }
.price-scope summary { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #d9e5e2; font-size: 13px; padding-top: 15px; min-height: 44px; }
.price-scope summary svg { width: 15px; height: 15px; color: var(--mint); }
.price-scope[open] summary svg, .custom-scope[open] summary svg { transform: rotate(45deg); }
.price-scope p { font-size: 13px; line-height: 1.8; padding-top: 12px; }
.python-symbol svg { width: 32px; height: 32px; }
.python-offer p { font-size: 14px; max-width: 660px; }
.python-offer .text-link { font-size: 14px; }
.custom-scope { border-bottom: 1px solid var(--line); }
.custom-scope summary { padding: 20px 0; font-size: 13px; display: flex; gap: 20px; align-items: center; justify-content: space-between; color: #b8cbd0; line-height: 1.7; }
.custom-scope summary svg { color: var(--mint); width: 16px; height: 16px; }
.custom-scope p { font-size: 14px; line-height: 1.8; max-width: 810px; padding: 0 0 21px; }
.pricing-notes { gap: 42px; }
.pricing-notes p { font-size: 12px; color: #a0b2ba; }
.about-copy > p { font-size: 15px; line-height: 1.8; }
.portrait-caption { font-size: 12px; }
.certificate strong { font-size: 14px; }
.certificate small, .certificate-link { font-size: 12px; }
.faq-list details > p, .faq .section-description { font-size: 15px; }
.faq-list summary { font-size: 17px; }

/* A readable route supplements large portfolio diagrams on small screens. */
.case-route { margin: 24px 0; }
.case-route h3, .case-customer-review h3 { font-size: 12px; letter-spacing: .07em; color: var(--mint); margin-bottom: 15px; }
.case-route ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.case-route li { padding: 17px; border: 1px solid #36544a; border-radius: 7px; background: #152b25; }
.case-route li > span { font-size: 11px; color: var(--mint); }
.case-route p { margin-top: 10px; font-size: 14px; color: #d4e4dc; line-height: 1.7; }
.case-full-diagram { border-top: 1px solid var(--line); margin-top: 23px; }
.case-full-diagram > summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 14px; color: #c3d6d2; }
.case-full-diagram > summary svg { width: 17px; height: 17px; color: var(--mint); }
.case-full-diagram[open] > summary svg { transform: rotate(45deg); }
.case-description-grid p { font-size: 15px; }
.case-outcome p { font-size: 16px; }
.case-note { font-size: 12px; }
.case-customer-review { border: 1px solid #37554a; border-radius: 7px; padding: 21px; margin-top: 22px; }
.case-customer-review p { font-size: 19px; color: #e0eee7; line-height: 1.6; margin-bottom: 12px; }
.case-customer-review button { font-size: 13px; color: var(--mint); border: 0; padding: 0; background: none; }

/* Original customer screenshots, in a scrollable messenger-like frame. */
.reviews { border-bottom: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.review-project-label { color: #8fb9aa; font-size: 13px; margin-top: 25px; }
.review-copy blockquote { font-size: 31px; line-height: 1.4; font-weight: 500; letter-spacing: -.03em; margin: 20px 0; color: #e4f4ed; max-width: 500px; }
.review-copy > p:not(.eyebrow):not(.review-project-label) { font-size: 15px; max-width: 490px; line-height: 1.8; }
.review-case-link { padding: 0; border: 0; background: none; margin-top: 25px; color: var(--mint); }
.review-phone { margin: 0 auto; border-width: 5px; box-shadow: 0 25px 70px #0003; padding: 16px 12px 18px; }
.phone-heading { display: flex; gap: 9px; justify-content: center; align-items: center; font-size: 14px; }
.review-feed { height: 340px; }
.review-item p { font-size: 12px; line-height: 1.6; margin-top: 12px; }
.phone-hint { font-size: 11px; line-height: 1.6; text-align: center; margin-top: 10px; color: #91a7af; }

/* Six questions remain before both messengers, with optional explanations. */
.contact { padding-top: 0; }
.contact-panel { padding-top: 42px; row-gap: 28px; }
.contact-intro > p:not(.eyebrow) { font-size: 15px; }
.contact-note { font-size: 13px; margin-top: 18px; }
.contact-brief h3 { font-size: 17px; margin-bottom: 17px; line-height: 1.4; }
.brief-questions { gap: 0 23px; }
.brief-questions li { border-bottom: 1px solid #304b42; gap: 10px; align-items: flex-start; }
.brief-questions li > span { font-size: 11px; padding-top: 17px; }
.brief-questions details { flex: 1; min-width: 0; }
.brief-questions summary { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; padding: 15px 0; min-height: 49px; color: #e0ebe7; line-height: 1.5; }
.brief-questions summary svg { width: 13px; height: 13px; color: #81b09b; }
.brief-questions details[open] summary svg { transform: rotate(45deg); }
.brief-questions p { font-size: 12px; margin-top: 0; margin-bottom: 13px; line-height: 1.7; }
.brief-optional { font-size: 12px; margin-top: 18px; }
.copy-brief { font-size: 13px; margin-top: 5px; }
.copy-status { font-size: 12px; min-height: 23px; }
.contact-bottom > span { font-size: 13px; }
.messenger-buttons .button { font-size: 14px; }
.mobile-contact-bar { display: none; }
.footer-inner > p, .back-top, .copyright { font-size: 12px; }

/* The demo is user-controlled and explicitly illustrative. */
.demo-dialog { width: 1000px; }
.demo-layout { display: grid; grid-template-columns: 1fr 360px; gap: 37px; padding: 34px; align-items: center; }
.demo-explanation h2 { font-size: 34px; line-height: 1.2; }
.demo-explanation > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-top: 20px; }
.demo-stages { padding: 0; margin: 24px 0; list-style: none; counter-reset: demo; }
.demo-stages li { position: relative; padding: 10px 0 10px 31px; font-size: 13px; color: #93a8b1; counter-increment: demo; }
.demo-stages li:before { content: counter(demo); position: absolute; left: 0; top: 11px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #425951; border-radius: 50%; font-size: 10px; }
.demo-stages li[aria-current] { color: var(--mint); }
.demo-stages li[aria-current]:before { background: var(--mint); color: var(--bg); border-color: var(--mint); }
.demo-stages li.complete:before { content: '✓'; color: var(--mint); }
.demo-explanation > p.demo-disclaimer { font-size: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.demo-device { border: 1px solid #3a5c4e; border-radius: 18px; background: #13221f; overflow: hidden; }
.demo-chat-header { display: flex; gap: 11px; align-items: center; padding: 19px; background: #1b3029; border-bottom: 1px solid #3b5549; }
.demo-avatar { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #6a9b84; border-radius: 50%; color: var(--mint); }
.demo-avatar svg { width: 22px; height: 22px; }
.demo-chat-header strong { display: block; font-size: 14px; font-weight: 500; }
.demo-chat-header small { display: block; font-size: 11px; color: #9cb8ac; margin-top: 3px; }
.demo-chat { padding: 23px 17px; min-height: 320px; }
.demo-message-label { font-size: 9px; letter-spacing: .12em; color: #83a095; text-align: center; margin-bottom: 23px; }
.demo-bubble { font-size: 14px; line-height: 1.7; padding: 14px 16px; border-radius: 12px 12px 12px 3px; background: #263b33; color: #edf4f0; max-width: 95%; }
.user-bubble { margin: 20px 0 0 auto; background: #38604d; border-radius: 12px 12px 3px 12px; width: fit-content; }
.demo-chat-note { margin-top: 22px; color: #92ada1; font-size: 11px; line-height: 1.7; text-align: center; }
.demo-finish { display: flex; gap: 11px; align-items: flex-start; border-top: 1px solid #3c6050; margin-top: 20px; padding-top: 16px; font-size: 12px; color: var(--mint); line-height: 1.7; }
.demo-finish svg { width: 21px; height: 21px; }
.demo-controls { display: flex; gap: 14px; align-items: center; padding: 16px 17px; border-top: 1px solid #375145; }
#demo-reset { background: none; border: 1px solid #547764; color: #c1d8cb; width: 35px; height: 35px; border-radius: 50%; font-size: 23px; }
#demo-counter { font-size: 11px; color: #a8c0b4; }
#demo-next { margin-left: auto; min-height: 37px; padding: 10px 13px; font-size: 12px; gap: 13px; }

@media (max-width: 1150px) {
  .desktop-nav { gap: 17px; font-size: 13px; }
  .hero-grid { gap: 33px; }
  .hero-trust { gap: 13px; }
  .hero-description { font-size: 16px; }
  .hero-supporting { font-size: 14px; }
  .price-card { padding-inline: 23px; }
  .price-purpose { min-height: 100px; }
  .price-card li { font-size: 13px; }
  .contact-panel { column-gap: 40px; }
  .contact-panel { grid-template-columns: .8fr 1.2fr; }
  .contact-intro h2 { font-size: 42px; }
}
@media (max-width: 900px) {
  .section { padding-block: 66px; }
  .hero { padding-top: 48px; }
  .hero-grid { gap: 26px; padding-bottom: 45px; }
  .hero-description { font-size: 15px; }
  .hero-supporting { font-size: 14px; }
  .hero-trust { margin-top: 23px; }
  .hero-person strong { font-size: 12px; }
  .hero-person small { font-size: 10px; }
  .hero-certificate { font-size: 11px; }
  .flow-node p { font-size: 12px; }
  .node-label { font-size: 9px; }
  .connector small { font-size: 10px; }
  .automation-top .micro-label { font-size: 9px; }
  .automation-status { display: none; }
  .automation-bottom > span { display: none; }
  .automation-bottom { justify-content: flex-end; }
  .benefit-strip span { font-size: 12px; }
  .benefit-strip small { font-size: 10px; }
  .section-heading > p, .section-description { font-size: 14px; }
  .solution-body p { font-size: 14px; }
  .project-card h3 { font-size: 23px; min-height: 87px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .price-card { padding-inline: 28px; }
  .price-purpose { font-size: 15px; min-height: 0; }
  .price-card li { font-size: 14px; }
  .price-index { font-size: 10px; }
  .price-scope summary { font-size: 12px; }
  .price-card .button { font-size: 12px; }
  .about-copy > p { font-size: 14px; }
  .certificate strong { font-size: 12px; }
  .certificate small, .certificate-link { font-size: 11px; }
  .contact { padding-top: 0; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-intro { display: block; }
  .contact-intro h2 { font-size: 44px; }
  .contact-intro > p:not(.eyebrow) { margin-top: 20px; }
  .contact-note { margin-top: 12px; }
  .brief-questions { grid-template-columns: 1fr 1fr; }
  .brief-questions summary { font-size: 14px; }
  .reviews-grid { gap: 30px; }
  .review-copy blockquote { font-size: 26px; }
  .review-phone { width: 320px; }
  .demo-layout { grid-template-columns: 1fr 330px; gap: 25px; padding: 26px; }
  .demo-explanation h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .section { padding-block: 52px; }
  .hero { padding-top: 32px; }
  .hero-grid { padding-bottom: 34px; gap: 29px; }
  .hero-description { font-size: 16px; line-height: 1.7; margin-top: 21px; }
  .hero-supporting { font-size: 14px; margin-top: 12px; }
  .hero-copy .eyebrow { margin-bottom: 22px; font-size: 10px; }
  .hero-actions { margin-top: 24px; }
  .hero-trust { margin-top: 23px; gap: 13px; }
  .hero-person strong { font-size: 13px; }
  .hero-person small { font-size: 11px; }
  .hero-certificate { margin-left: 53px; font-size: 12px; padding-top: 0; }
  .brand small { font-size: 9px; }
  .flow-node p { font-size: 14px; }
  .node-label { font-size: 10px; }
  .automation-status { display: none; }
  .automation-bottom > span { display: none; }
  .demo-trigger { font-size: 12px; }
  .benefit-strip span { font-size: 13px; }
  .benefit-strip small { font-size: 11px; }
  .benefit-strip > div:nth-child(even) { padding-left: 13px; }
  .solution summary { padding-block: 20px; }
  .solution h3 { font-size: 16px; }
  .solution-body p { font-size: 14px; }
  .section-intro > .text-link { font-size: 14px; }
  .section-heading { margin-bottom: 29px; }
  .section-heading > p { font-size: 14px; margin-top: 17px; }
  .project-info { padding: 23px; }
  .project-card h3 { font-size: 25px; min-height: 0; }
  .project-name { font-size: 14px; margin-bottom: 18px; }
  .project-outcome { padding-left: 14px; }
  .project-outcome > span { font-size: 10px; }
  .project-result { font-size: 14px; }
  .project-visual { height: 164px; }
  .mini-node { font-size: 12px; }
  .mini-last { font-size: 11px; }
  .project-meta { font-size: 11px; }
  .process-list p { font-size: 14px; }
  .price-card { padding: 26px; }
  .price-purpose { font-size: 15px; min-height: 0; }
  .price-card li { font-size: 14px; }
  .price-card .button { font-size: 14px; }
  .price-scope summary { font-size: 13px; }
  .price-scope p { font-size: 14px; }
  .price-index { font-size: 10px; }
  .pricing-notes p { font-size: 12px; }
  .python-offer p { font-size: 14px; }
  .python-offer .text-link { font-size: 14px; margin-left: 0; }
  .custom-scope summary { font-size: 13px; gap: 15px; }
  .about-copy > p { font-size: 15px; }
  .certificate strong { font-size: 13px; }
  .certificate small, .certificate-link { font-size: 12px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details > p { font-size: 15px; }
  .case-route ol { grid-template-columns: 1fr; gap: 10px; }
  .case-route li { display: flex; align-items: center; gap: 15px; padding: 15px; }
  .case-route p { margin: 0; }
  .case-customer-review p { font-size: 18px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 29px; }
  .review-copy blockquote { font-size: 29px; }
  .review-copy > p:not(.eyebrow):not(.review-project-label) { font-size: 15px; }
  .review-phone { width: min(340px, 100%); }
  .review-feed { height: 340px; }
  .contact { padding-top: 0; }
  .contact-panel { padding: 27px 22px 0; row-gap: 21px; }
  .contact-intro h2 { font-size: 36px; }
  .contact-intro > p:not(.eyebrow) { font-size: 14px; margin-top: 17px; }
  .contact-note { font-size: 12px; margin-top: 10px; }
  .contact-brief { padding-top: 21px; }
  .contact-brief h3 { font-size: 16px; margin-bottom: 12px; }
  .brief-questions { grid-template-columns: 1fr; gap: 0; }
  .brief-questions summary { font-size: 14px; padding-block: 12px; min-height: 45px; }
  .brief-questions li > span { padding-top: 13px; }
  .brief-questions p { font-size: 13px; }
  .brief-optional { font-size: 12px; margin-top: 14px; }
  .copy-brief { font-size: 13px; }
  .copy-status { font-size: 11px; }
  .contact-bottom > span { font-size: 13px; }
  .messenger-buttons .button { font-size: 14px; }
  .mobile-contact-bar { display: block; position: fixed; z-index: 25; bottom: calc(15px + env(safe-area-inset-bottom)); left: 20px; right: 20px; pointer-events: none; }
  .mobile-contact-bar .button { width: 100%; min-height: 50px; justify-content: space-between; box-shadow: 0 6px 30px #0006; border: 1px solid #b2f7df; pointer-events: auto; }
  body.modal-open .mobile-contact-bar { display: none; }
  .site-footer { padding-bottom: calc(85px + env(safe-area-inset-bottom)); }
  .demo-layout { display: flex; flex-direction: column; padding: 22px 18px; gap: 23px; align-items: stretch; }
  .demo-explanation h2 { font-size: 25px; }
  .demo-explanation > p:not(.eyebrow) { font-size: 13px; margin-top: 14px; }
  .demo-explanation .eyebrow { margin-bottom: 15px; }
  .demo-stages { display: none; }
  .demo-explanation > p.demo-disclaimer { font-size: 11px; margin-top: 14px; padding-top: 12px; }
  .demo-chat { min-height: 260px; padding-inline: 15px; }
  .demo-bubble { font-size: 14px; }
  .demo-controls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Approved portrait: keep the face visible in wide and narrow cards. */
.portrait-wrap > img { object-position: center 18%; }
