/* Final professional front-end polish: clarity, spacing and readable typography */
:root{
  --text:#17243A;
  --text-soft:#334155;
  --text-muted:#526175;
  --surface:#FFFFFF;
  --surface-soft:#F5F8FC;
  --border:#D5DFEC;
  --primary:#3159C8;
  --primary-dark:#27479F;
  --teal:#087C78;
  --font-main:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
html{font-size:16px;scroll-padding-top:96px}
body{color:var(--text);font-family:var(--font-main);font-size:18px;font-weight:500;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:var(--font-main)}
.container{width:min(100% - 64px,1240px)}
h1,h2,h3,strong{font-family:var(--font-main)}
h1,h2,h3{color:inherit;font-weight:720;text-wrap:balance}
p{max-width:68ch}
.section{padding-block:108px}
.section-label{color:#3E4D63;font-size:13px;font-weight:800;letter-spacing:.09em}
.section-head h2,.proof-statement h2,.approach-top h2,.contact-copy h2{font-size:clamp(3.25rem,5vw,5.35rem);font-weight:720;line-height:.98;letter-spacing:-.045em}
.section-head h2 span,.proof-statement h2 span,.contact-copy h2 span{color:#69778B}
.section-head-copy p,.proof-statement>p{color:var(--text-soft);font-size:18px;line-height:1.75}
.button{min-height:50px;padding-inline:21px;border-radius:9px;font-size:14px;font-weight:800;letter-spacing:.005em}
.underlined-link{font-size:14px;font-weight:800}
/* Header */
.desktop-nav a{color:#26364C;font-size:14px;font-weight:750}
.header-phone{color:#334155;font-size:13px}
.brand-lockup strong{font-size:13px}.brand-lockup small{font-size:11px}
/* Hero */
.hero-copy h1{max-width:720px;font-size:clamp(4rem,6vw,6.5rem);font-weight:740;line-height:.96;letter-spacing:-.055em}
.hero-intro{max-width:590px;color:#26364C;font-size:20px;line-height:1.7}
.hero-meta{font-size:12px}.hero-text-link{font-size:14px}
.hero-services-carousel .hero-services-heading b{font-size:22px;line-height:1.3}
.service-carousel-copy strong{font-size:28px;line-height:1.08}
.service-carousel-copy small{font-size:15px;line-height:1.55}
.service-carousel-copy b{font-size:13px}
/* Core content cards */
.service-card{padding:28px;box-shadow:0 8px 26px rgba(11,19,36,.06)}
.service-card-body{margin-top:46px}
.service-card-body h3{font-size:28px;font-weight:720;line-height:1.08;letter-spacing:-.035em}
.service-card-body p{color:var(--text-soft);font-size:17px;line-height:1.7}
.service-card-body li{color:#3E4D63;font-size:14px;line-height:1.55}
.service-card-link{font-size:13px}
.project-card-copy h3{font-size:29px;font-weight:720}
.project-card-copy p{color:var(--text-soft);font-size:16px;line-height:1.7}
.proof-item h3{font-size:22px;font-weight:720}.proof-item p{color:var(--text-soft);font-size:16px;line-height:1.7}
.stats-row span{font-size:12px;line-height:1.5}
.faq-list summary strong{color:var(--text);font-size:22px;line-height:1.3}
.faq-list details>p{color:var(--text-soft);font-size:17px;line-height:1.75}
/* Dark sections */
.approach-top h2{color:#fff}.approach-top h2 span{color:#86A7FF}
.approach-top p,.process-grid--premium .process-step p,.testimonial-aside p,.contact-copy>p{color:rgba(255,255,255,.9);font-size:17px;line-height:1.75}
.process-grid--premium .process-step h3{font-size:28px;font-weight:720}
.process-promise>span{font-size:14px}
.testimonial-layout blockquote{font-family:var(--font-main);font-size:clamp(1.8rem,2.8vw,2.55rem);font-weight:650;line-height:1.25;letter-spacing:-.035em}
/* IT standards */
.technology-head h2{font-size:clamp(3.2rem,5vw,5.25rem);font-weight:720;line-height:.98;letter-spacing:-.045em}
.technology-head>p{color:var(--text-soft);font-size:18px;line-height:1.75}
.technology-standards h3{font-size:23px;font-weight:720}.technology-standards p{color:var(--text-soft);font-size:16px;line-height:1.7}
.technology-stack b{font-size:12px}
/* Service pages */
.service-page-copy h1{font-size:clamp(3.75rem,5.6vw,6.15rem);font-weight:720;line-height:.98;letter-spacing:-.05em}
.service-page-copy>p{max-width:650px;color:rgba(255,255,255,.92);font-size:19px;line-height:1.72}
.service-page-intro h2{font-size:clamp(2.8rem,4.2vw,4.45rem);font-weight:720;line-height:1.04;letter-spacing:-.045em}
.service-page-intro-copy p,.service-work-lede{color:var(--text-soft);font-size:18px;line-height:1.75}
.deliverables-list strong{font-size:22px;font-weight:700}
.service-process-grid h3{font-size:23px;font-weight:720}.service-process-grid p{color:var(--text-soft);font-size:16px;line-height:1.7}
.service-cta-inner h2{font-size:clamp(3.3rem,5.3vw,5.5rem);font-weight:720;line-height:.98;letter-spacing:-.05em}
.service-cta-inner p{font-size:18px;line-height:1.75}
/* Business-impact sections */
.impact-head h2{font-size:clamp(3rem,4.7vw,5rem);font-weight:720;line-height:1.02;letter-spacing:-.045em}
.impact-head>p{color:var(--text-soft);font-size:18px;line-height:1.75}
.impact-card h3{font-size:30px;font-weight:720;line-height:1.15}.impact-card li{font-size:17px;line-height:1.68}.impact-card--without li{color:#34445A}
/* Forms */
.contact-section .form-head>div:first-child>strong{font-size:29px;font-weight:720}
.contact-section .form-grid>label:not(.service-select-field)>span,.lead-form label>span{font-size:12px}
.contact-section .form-grid>label:not(.service-select-field) input:not([type='checkbox']),.contact-section .form-grid>label:not(.service-select-field) textarea,.lead-form .select-control select{font-size:16px;line-height:1.5}
.contact-section .consent{font-size:13px}
/* Chat */
.chat-header b{font-size:17px}.chat-bubble{font-size:14px;line-height:1.65}.quick-replies button,.quick-replies a{font-size:12px}.chat-input-row input{font-size:14px}
.chat-lead-head strong{font-size:20px}.chat-lead-head p{font-size:12px}.chat-lead-form input:not([type='checkbox']),.chat-lead-form select,.chat-lead-form textarea{font-size:14px}.chat-lead-consent span{font-size:12px!important}
/* Strong keyboard accessibility */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(63,111,229,.5);outline-offset:3px}
@media(max-width:820px){.container{width:min(100% - 40px,700px)}.section{padding-block:88px}.hero-copy h1{font-size:clamp(3.7rem,12vw,5.8rem)}.section-head h2,.proof-statement h2,.approach-top h2,.contact-copy h2{font-size:clamp(3rem,9vw,4.8rem)}}
@media(max-width:580px){html{font-size:15px}.container{width:min(100% - 30px,500px)}body{font-size:16px}.section{padding-block:76px}.hero-copy h1{font-size:3.45rem;line-height:.98}.hero-intro{font-size:18px}.section-head h2,.proof-statement h2,.approach-top h2,.contact-copy h2{font-size:3.15rem}.section-head-copy p,.proof-statement>p,.approach-top p,.contact-copy>p{font-size:16px}.service-card{padding:23px}.service-card-body h3{font-size:26px}.service-card-body p{font-size:16px}.service-page-copy h1{font-size:3.4rem}.service-page-copy>p,.service-page-intro-copy p,.service-work-lede,.service-cta-inner p{font-size:16px}.technology-head h2,.impact-head h2{font-size:3rem}.technology-head>p,.impact-head>p{font-size:16px}.impact-card h3{font-size:27px}.impact-card li{font-size:16px}.faq-list summary strong{font-size:20px}.faq-list details>p{font-size:16px}.chat-bubble{font-size:14px}}

/* Mobile-first professional chatbot layout */
@media(max-width:580px){
  body.chat-open{overflow:hidden}
  .chat-panel{
    width:auto;
    height:var(--chat-mobile-height,calc(100dvh - 16px));
    min-height:0;
    max-height:none;
    top:var(--chat-mobile-top,8px);
    right:8px;
    bottom:auto;
    left:8px;
    z-index:90;
    border-radius:18px;
    overscroll-behavior:contain;
  }
  @supports not (height:100dvh){.chat-panel{height:var(--chat-mobile-height,calc(100vh - 16px))}}
  .chat-launcher.is-open{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px)}
  .chat-header{min-height:74px;padding:11px 12px;flex:none;gap:9px}
  .chat-header>div:not(.chat-header-actions){min-width:0}
  .chat-header b{overflow:hidden;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .chat-header span{overflow:hidden;max-width:210px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
  .chat-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:11px}
  .chat-header-actions{gap:4px}
  .chat-header-actions button{width:38px;height:38px;flex:0 0 38px}
  .chat-body{min-height:0;flex:1;padding:11px 10px 7px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}
  .chat-context{top:-11px;margin-bottom:11px;padding:10px;border-radius:11px}
  .chat-context>small{font-size:11px;line-height:1.4}
  .chat-context-tags{gap:4px}.chat-context-tags b{padding:4px 7px;font-size:8px}
  .chat-row{margin-bottom:10px}
  .chat-bubble{max-width:94%;padding:11px 12px;font-size:14px;line-height:1.58}
  .chat-row--lead-step .chat-bubble{max-width:100%;padding:12px}
  .lead-step-meta{margin-bottom:11px;padding-bottom:11px}
  .lead-step-meta strong{font-size:15px}.lead-step-meta span{font-size:8px}
  .chat-row--lead-step .quick-replies{grid-template-columns:1fr}
  .quick-replies{gap:6px}.quick-replies button,.quick-replies a{min-height:39px;padding:8px 10px;font-size:12px}
  .chat-footer{padding:9px 10px calc(10px + env(safe-area-inset-bottom));flex:none}
  .chat-footer-actions{gap:5px}.chat-footer-actions .chat-brief{min-height:30px;padding-inline:8px;font-size:9px}
  .chat-input-row{margin-top:8px;border-radius:11px}
  .chat-input-row input{min-height:47px;padding:11px 12px;font-size:16px}
  .chat-input-row button{width:47px;height:47px;flex:0 0 47px}
  .chat-footer>small{margin-top:7px;font-size:9px;line-height:1.35}
  .chat-lead-card{border-radius:13px}
  .chat-lead-head{padding:13px;grid-template-columns:39px 1fr;gap:10px}
  .chat-lead-icon{width:39px;height:39px}
  .chat-lead-head strong{font-size:18px}.chat-lead-head p{font-size:11px}
  .chat-lead-form{padding:12px;gap:10px}
  .chat-lead-form input:not([type='checkbox']),.chat-lead-form select,.chat-lead-form textarea{min-height:46px;padding:10px;font-size:16px}
  .chat-lead-form textarea{min-height:72px}
  .chat-lead-consent span{font-size:11px!important}
  .chat-lead-submit{min-height:48px;font-size:13px}
  .chat-lead-alt{align-items:flex-start;flex-direction:column;gap:7px}.chat-lead-alt button{font-size:11px}
  .chat-lead-privacy{font-size:9px}
}

/* Professional readable font treatment */
body{letter-spacing:-.003em}
h1,h2,h3{font-kerning:normal}
p,li{letter-spacing:0}

/* Definitive mobile chat app layout */
:root{--font-main:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{font-family:var(--font-main);font-feature-settings:"kern" 1,"liga" 1}
@media(max-width:580px){
  html,body{max-width:100%;overflow-x:hidden}
  body.chat-open{position:fixed;inset:0;width:100%;overflow:hidden}
  .chat-panel{
    width:100vw!important;
    height:var(--chat-mobile-height,100dvh)!important;
    min-height:0!important;
    max-height:none!important;
    top:var(--chat-mobile-top,0)!important;
    right:0!important;
    bottom:auto!important;
    left:0!important;
    z-index:9999!important;
    border:0!important;
    border-radius:0!important;
    background:#F4F7FB!important;
    box-shadow:none!important;
    animation:mobile-chat-in .22s ease both;
  }
  @supports not (height:100dvh){.chat-panel{height:var(--chat-mobile-height,100vh)!important}}
  @keyframes mobile-chat-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
  .chat-header{
    min-height:calc(72px + env(safe-area-inset-top));
    padding:calc(10px + env(safe-area-inset-top)) 12px 10px;
    border-bottom:1px solid rgba(255,255,255,.12);
    border-radius:0;
    background:linear-gradient(135deg,#071225,#18375F)!important;
  }
  .chat-header::after{height:2px}
  .chat-avatar{width:42px;height:42px;flex-basis:42px}
  .chat-header b{font-family:var(--font-main);font-size:16px;font-weight:750}
  .chat-header span{max-width:190px;color:rgba(255,255,255,.78);font-size:10px}
  .chat-header-actions button{width:40px;height:40px;flex-basis:40px}
  .chat-body{
    min-height:0;
    padding:12px 11px 10px;
    background:linear-gradient(180deg,#F7F9FD,#EEF3F9)!important;
    scroll-padding-block:12px 150px;
    -webkit-overflow-scrolling:touch;
  }
  .chat-context{position:relative;top:auto;margin-bottom:12px;border-radius:12px;background:#fff}
  .chat-context-tags b{font-size:9px}
  .chat-row{margin-bottom:11px}
  .chat-bubble{font-family:var(--font-main);font-size:14px;line-height:1.58}
  .chat-row--assistant .chat-bubble{border-radius:4px 15px 15px 15px}
  .chat-row--user .chat-bubble{border-radius:15px 4px 15px 15px}
  .chat-footer{
    padding:10px 11px calc(10px + env(safe-area-inset-bottom));
    border-radius:0;
    background:#fff!important;
    box-shadow:0 -10px 30px rgba(11,19,36,.08);
  }
  .chat-footer-actions{min-height:31px}
  .chat-input-row{margin-top:8px;border-radius:12px;background:#F7F9FC}
  .chat-input-row input{height:50px;min-height:50px;font-family:var(--font-main);font-size:16px}
  .chat-input-row button{width:50px;height:50px;flex-basis:50px}
  .chat-lead-card{border:0;border-radius:14px;box-shadow:0 12px 30px rgba(11,19,36,.1)}
  .chat-lead-head{padding:14px}
  .chat-lead-form{padding:14px}
  .chat-lead-form>label>span{font-size:11px}
  .chat-lead-form input:not([type='checkbox']),.chat-lead-form select,.chat-lead-form textarea{font-family:var(--font-main);font-size:16px}
  .chat-lead-submit{font-size:14px}
  .chat-row--lead-step .chat-bubble{border:0;box-shadow:0 10px 26px rgba(11,19,36,.08)}
  .lead-step-meta strong{font-family:var(--font-main);font-size:17px}
  .chat-launcher.is-open{display:none!important}
}

/* Final refinement: compact chatbot and professional typography */
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:0}
p,li{font-weight:400}
h1,h2,h3{font-weight:700;letter-spacing:-.04em}
.desktop-nav a,.button,.underlined-link{font-weight:700}
.service-card-body p,.proof-item p,.project-card-copy p,.service-process-grid p,.faq-list details>p,.technology-standards p{font-weight:400}
@media(min-width:581px){
  .chat-launcher{min-width:188px;height:57px;padding-inline:15px;gap:10px}
  .launcher-copy{min-width:116px}.launcher-copy b{font-size:11px}.launcher-copy small{font-size:8px}
  .chat-launcher.is-open{min-width:57px;width:57px}
  .chat-panel{width:min(402px,calc(100vw - 28px));height:min(630px,calc(100vh - 100px));min-height:470px;bottom:91px}
  .chat-header{min-height:72px;padding:12px 13px}
  .chat-avatar{width:38px;height:38px;flex-basis:38px}
  .chat-header b{font-size:15px}.chat-header span{font-size:9px}
  .chat-header-actions button{width:36px;height:36px;flex-basis:36px}
  .chat-body{padding:13px 12px 7px}
  .chat-context{padding:10px;margin-bottom:12px}.chat-context>small{font-size:11px}.chat-context-tags b{font-size:8px}
  .chat-bubble{padding:10px 11px;font-size:13px;line-height:1.55}
  .bubble-label{font-size:9px}.bubble-time{font-size:8px}
  .quick-replies button,.quick-replies a{min-height:31px;padding:6px 8px;font-size:11px}
  .chat-footer{padding:10px 11px 11px}.chat-footer-actions .chat-brief{min-height:27px;font-size:9px}
  .chat-input-row input{min-height:43px;height:43px;font-size:14px}.chat-input-row button{width:43px;height:43px;flex-basis:43px}
  .chat-footer>small{font-size:9px}
  .chat-lead-head{padding:13px}.chat-lead-icon{width:37px;height:37px}.chat-lead-head strong{font-size:18px}.chat-lead-head p{font-size:10px}
  .chat-lead-form{padding:13px;gap:10px}.chat-lead-form>label>span{font-size:9px}
  .chat-lead-form input:not([type='checkbox']),.chat-lead-form select,.chat-lead-form textarea{min-height:42px;padding:9px 10px;font-size:13px}.chat-lead-form textarea{min-height:66px}
  .chat-lead-consent span{font-size:10px!important}.chat-lead-submit{min-height:43px;font-size:12px}.chat-lead-privacy{font-size:8px}
  .lead-step-meta strong{font-size:15px}.chat-row--lead-step .chat-bubble>p{font-size:12px}
}
@media(max-width:580px){
  .chat-header{min-height:calc(68px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 10px 8px}
  .chat-avatar{width:37px;height:37px;flex-basis:37px}.chat-header b{font-size:14px}.chat-header span{max-width:180px;font-size:9px}
  .chat-header-actions button{width:36px;height:36px;flex-basis:36px}
  .chat-body{padding:10px 9px 7px}.chat-context{padding:9px}.chat-context>small{font-size:10px}
  .chat-bubble{padding:10px 11px;font-size:13px}.quick-replies button,.quick-replies a{min-height:36px;font-size:11px}
  .chat-footer{padding:8px 9px calc(8px + env(safe-area-inset-bottom))}.chat-footer-actions .chat-brief{font-size:8px}
  .chat-lead-head strong{font-size:17px}.chat-lead-head p{font-size:10px}.lead-step-meta strong{font-size:15px}
}
