/* Responsive sizes and artwork based on Figma 1024 / 390 layouts. */
.hero-art picture{display:block;width:100%;height:100%}.feature-art picture{display:block;height:100%}
@media(min-width:600px) and (max-width:1199px){
 :root{--page-gutter:48px;--section-space:72px}
 .header-inner{min-height:88px}.main-navigation{display:none;order:4;flex-basis:100%;flex-direction:column;align-items:stretch;padding:12px 0 20px;margin:0}.main-navigation.is-open{display:flex}.main-navigation a{font-size:16px;padding:12px}.header-inner{flex-wrap:wrap;justify-content:space-between}.menu-toggle{display:flex}.header-actions{display:none}.mobile-nav-actions{display:flex;gap:12px;margin-top:12px}.brand,.brand img{width:176px}.brand img{height:56px}
 h1,.hero h1{font-size:64px;line-height:1.1}h2{font-size:40px;line-height:1.15}h3{font-size:28px;line-height:1.2}
 .hero{display:block;padding-block:72px;min-height:668px}.hero-art{position:absolute;inset:0;height:100%;margin:0;z-index:-1}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;transform:none}.hero-copy{width:660px;min-height:0;gap:22px;padding:0}.hero .lead{max-width:620px}.hero .action-row{flex-wrap:wrap}.hero-benefits{gap:18px}
 .steps-grid,.features-grid,.pricing-grid,.integrations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.step-card{min-height:250px}.department-card{grid-template-columns:1fr}.department-copy{padding:36px}.department-visual{padding:32px;min-height:420px}.metric-row{flex-wrap:nowrap}.role-previews{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-card,.feature-art{min-height:250px}.pricing-card{min-height:477px;padding:24px}.pricing-card.recommended{padding:23px}.pricing-card .price{font-size:36px}.integration-card{padding:22px;gap:18px;min-height:160px}.integration-card>img{width:104px;height:104px}.partner-intro{grid-template-columns:1.65fr 1fr;gap:24px}.partner-intro>img{width:300px;height:300px}.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.partner-grid article{min-height:220px}.partner-grid h3{font-size:18px}.final-cta{padding-block:64px}.final-cta .container{gap:24px}
 .page-pricing .hero{min-height:620px;padding-block:72px}.page-pricing .pricing-card{min-height:510px}.page-partners .hero{min-height:718px;padding-block:80px}.page-partners .hero-copy{width:660px}.page-partners .hero h1{font-size:56px;max-width:690px}.partner-cards,.partner-cards.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.partnership-model{grid-template-columns:1fr}.partner-card{min-height:200px}.page-partners .steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selector-cta{align-items:flex-start;flex-direction:column}.footer-top{flex-direction:column}.footer-top nav{gap:24px}.footer-legal nav{grid-template-columns:max-content max-content max-content}
}
@media(min-width:600px) and (max-width:799px){
 :root{--page-gutter:32px}.hero h1{font-size:52px}.hero-copy{max-width:100%}.hero .lead{max-width:560px}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0611268c,transparent)}.pricing-card .price{font-size:28px}.integration-card{align-items:flex-start;flex-direction:column}.partner-intro{grid-template-columns:1fr}.partner-intro>img{justify-self:start}.role-previews{grid-template-columns:1fr}.footer-legal nav{grid-template-columns:1fr 1fr}.page-partners .hero h1{font-size:46px}
}
@media(max-width:599px){
 :root{--page-gutter:20px;--section-space:56px}
 .header-inner{min-height:72px;padding:8px 0}.brand,.brand img{width:136px}.brand img{height:46px}
 h1,.hero h1{font-size:40px;line-height:1.12}h2{font-size:30px;line-height:1.2}h3{font-size:22px;line-height:1.25}.lead{font-size:16px;line-height:1.45}.badge{font-size:11px}.section-heading{gap:24px;margin-bottom:24px}
 .hero{display:block;min-height:832px;padding:56px 0 230px}.hero-art{position:absolute;inset:0;height:100%;margin:0;z-index:-1}.hero-art img{width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center bottom;transform:none}.hero-copy{padding:0;width:100%;min-height:0;gap:20px}.hero .lead{max-width:100%;line-height:1.45}.hero-benefits{gap:10px;font-size:12px}.hero .action-row{gap:10px}.hero .button{font-size:14px;min-height:45px;padding-inline:12px}
 .step-card{padding:22px;min-height:175px;gap:10px}.steps-grid,.features-grid,.role-previews{gap:10px}.step-card h3{font-size:22px;line-height:1.25}.step-card p{font-size:14px;line-height:1.45}.department-copy{padding:22px}.department-copy h3{font-size:24px;line-height:1.25}.department-copy>p{font-size:14px;line-height:1.45}.department-visual{padding:22px}.role-preview{padding:16px;min-height:120px}.feature-card{min-height:210px;padding:22px;gap:10px}.feature-card h3{font-size:22px;line-height:1.25}.feature-card p{font-size:14px;line-height:1.45}.feature-art{min-height:210px;height:210px}.feature-art img{object-fit:cover}.pricing-grid{gap:12px}.pricing-card,.page-pricing .pricing-card{padding:22px;min-height:515px;gap:12px}.pricing-card.recommended{padding:21px}.pricing-card h3{font-size:24px;line-height:1.2}.pricing-card .price{font-size:32px;line-height:1.15}.tariff-description{font-size:14px;min-height:40px}.pricing-card ul{font-size:14px}.integration-card h3{font-size:18px}.integration-card p{font-size:14px}.partner-intro>img{width:300px;height:260px}.partner-grid{gap:10px}.partner-grid article{min-height:175px;padding:22px}.partner-grid h3{font-size:18px;line-height:1.5}.partner-grid p{font-size:12px;line-height:1.3}.final-cta{padding-block:56px}.final-cta h2{font-size:28px;line-height:1.2}.site-footer{padding-top:40px}.footer-top{gap:24px}.footer-top nav{gap:14px}.footer-legal nav{gap:10px}
 .page-pricing .hero{min-height:720px;padding:56px 0 260px}.page-pricing .hero-copy{gap:20px}.page-pricing .hero h1{max-width:350px}.page-pricing .hero-copy>.button{width:100%}.page-pricing #pricing{padding-block:40px}.page-pricing #comparison{display:none}.page-pricing .tabs{margin-bottom:24px;width:100%;justify-content:space-between}.page-pricing .tabs button{padding-inline:10px}.page-pricing .pricing-grid{gap:20px}.page-pricing .pricing-card{min-height:490px}
 .page-partners .hero{padding:56px 0 230px;min-height:790px}.page-partners .hero-copy{width:100%;gap:18px}.page-partners .hero h1{font-size:clamp(24px,7.7vw,40px);line-height:1.12;overflow-wrap:normal}.hero-sublead{font-size:16px;line-height:1.45}.page-partners .hero-art img{object-fit:contain;object-position:center bottom;background:var(--color-navy)}.partner-cards,.partner-cards.four-columns,.partnership-model,.team-modes{grid-template-columns:1fr;gap:12px}.partner-card{min-height:180px;padding:20px}.partner-card h3{font-size:18px;line-height:1.4}.partner-card p{font-size:14px;line-height:1.45}.partner-card img{width:40px;height:40px}.model-card{padding:22px}.model-card h3,.team-modes h3{font-size:22px}.model-card li{font-size:13px}.model-note{margin-top:20px}.team-modes{margin-top:24px}.team-modes article{padding:22px}.team-modes p{font-size:14px}.section-action .button{width:100%}.page-partners .step-card h3{font-size:22px}.page-partners .final-cta .button{width:100%}.faq-item summary{padding:18px;font-size:14px;gap:12px}.faq-answer{padding:0 18px 18px;font-size:14px}.faq-list{gap:10px}
}
@media(max-width:359px){.pricing-card .price{font-size:28px}.hero h1{font-size:36px}.hero{padding-bottom:240px}.partner-intro>img{max-width:100%}.page-partners .hero .button{font-size:12px}.page-partners .hero{padding-bottom:230px}.metric-row .badge{white-space:normal}.metric-row{gap:12px}.footer-top nav{font-size:11px}}

/* Keep foreground copy readable over the supplied illustration. */
@media(min-width:600px) and (max-width:1199px){.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,17,38,.5) 0%,rgba(6,17,38,.45) 52%,transparent 78%)}}
@media(min-width:1200px){.page-partners .hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,17,38,.25),rgba(6,17,38,.2) 44%,transparent 68%)}}
@media(max-width:599px){.page-partners .hero{min-height:850px}.page-partners .hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(var(--color-navy) 0%,transparent 35%)}.page-home .hero-benefits{position:relative;padding:8px 10px;margin:-8px -10px;background:rgba(6,17,38,.72);border-radius:12px}}
/* Compact rhythm across all pages: desktop 64, tablet 48, phone 36. */
:root{--section-space:64px}
.final-cta{padding-block:48px}
@media(min-width:600px) and (max-width:1199px){:root{--section-space:48px}.final-cta{padding-block:40px}.page-pricing #pricing{padding-top:48px}}
@media(max-width:599px){:root{--section-space:36px}.final-cta{padding-block:36px}.page-pricing #pricing{padding-block:36px}}
/* Do not reserve empty space in cards after the shorter section spacing. */
.department-visual{min-height:0;justify-content:space-between}.department-card{align-items:stretch}.bar-chart{height:210px;gap:12px}.bar-item{font-size:11px}.metric-row .badge{white-space:normal;max-width:180px}.bar-item i{transition:height 280ms ease}.department-copy{min-width:0}
.industry-track{position:relative;display:block;aspect-ratio:2.25;overflow:hidden;padding:0;min-width:0}.industry-card,.industry-card.is-active{display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);width:29.8%;max-width:none;padding:0;transition:left 320ms ease,width 320ms ease,opacity 320ms ease;box-shadow:0 8px 22px #0a142924;border-radius:16px}.industry-card.is-prev{left:0;opacity:.85}.industry-card.is-active{left:32.5%;width:35%;opacity:1;z-index:1}.industry-card.is-next{left:70.2%;opacity:.85}.industry-card img{width:100%;height:auto}.industry-card:hover{opacity:1}.gallery-hint{margin:14px 0 8px;text-align:center}.gallery-controls{display:flex;gap:18px;justify-content:center;align-items:center;font-size:12px;color:var(--color-muted)}.gallery-controls button{padding:8px 14px;border:1px solid var(--color-border);border-radius:10px;min-height:36px}.gallery-controls button:hover{color:var(--color-blue);background:var(--color-hover)}
.image-dialog::backdrop{background:rgba(65,65,65,.72);backdrop-filter:none}.image-dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);background:transparent;overflow:auto;border-radius:16px}.image-dialog>img{width:auto;height:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);object-fit:contain}.image-dialog .dialog-close{position:fixed;right:max(18px,calc((100vw - 800px)/2));top:18px}
@media(max-width:599px){.carousel{padding-bottom:52px}.industry-track{aspect-ratio:.95}.industry-card,.industry-card.is-active{width:66%;border-radius:14px}.industry-card.is-prev{left:-57%}.industry-card.is-active{left:11%;width:78%}.industry-card.is-next{left:91%}.bar-chart{gap:8px;height:210px}.metric-row{flex-wrap:wrap}.metric-row .badge{max-width:100%}.department-visual{padding:22px}.image-dialog .dialog-close{right:16px;top:16px}}

/* One navigation rhythm for every collapsed header. */
@media(max-width:1199px){
 .main-navigation{gap:8px;justify-content:flex-start}
 .main-navigation>a{display:flex;align-items:center;min-height:48px;padding:12px;line-height:24px}
 .main-navigation .mobile-nav-actions{margin-top:8px;gap:12px}
}

/* Uploaded feature artwork: preserve each composition in full. */
.feature-art{height:auto;min-height:0;align-self:start}
.feature-art picture{height:auto}
.feature-art img{display:block;width:100%;height:auto;object-fit:contain}

/* Stronger separation of the team section, cards and benefit rows. */
#departments{background:#e4eaf4}
#departments .department-card{background:#fff;border-color:#b9c7dd;box-shadow:0 12px 32px rgba(6,17,38,.08)}
#departments .department-copy>p,#departments .role-preview p{color:#495a74}
#departments .department-copy li{background:#edf2fa;border-color:#c4d0e3;color:#172742}
#departments .role-preview{background:#fff;border-color:#b9c7dd;box-shadow:0 4px 14px rgba(6,17,38,.05)}
#departments .role-preview:hover{background:#f6f7ff;border-color:var(--color-purple)}
#departments .department-visual{background:#061126}

/* Live dialogue prototype: three original scenarios, shared presentation. */
.has-live-dialog{aspect-ratio:1122/1402;background:#061126;text-align:left}
.live-dialog-card{display:flex;flex-direction:column;width:100%;height:100%;padding:6%;color:#fff;background:radial-gradient(ellipse at 100% 0%,#38307880,transparent 60%),radial-gradient(ellipse at 0% 100%,#1553a580,transparent 60%),#061126;container-type:inline-size;overflow:hidden}
.live-brand{font-size:clamp(12px,4cqw,24px);font-weight:700}.live-label{font-size:clamp(8px,2.6cqw,12px);letter-spacing:.08em;color:#9baeff;margin-top:8px}.live-title{font-size:clamp(17px,6cqw,34px);font-weight:700;line-height:1.15;margin:8px 0 14px}
.live-feed{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#536491 transparent;padding-right:4px}
.live-message{display:flex;flex-direction:column;max-width:92%;gap:4px;font-size:clamp(11px,3.6cqw,18px);line-height:1.4;flex:none;animation:live-in .25s ease-out}.from-client{align-self:flex-end}.from-multi{align-self:flex-start}.live-sender{font-size:.72em;color:#b7c9e7}.from-client .live-sender{text-align:right}.live-bubble{display:block;padding:10px 12px;border-radius:14px;background:#1b3265;color:#fff;border:1px solid #536de2}.from-multi .live-bubble{background:#f1f5fc;border-color:#d5e0f4;color:#09152d}.live-typing{color:#b6c6ed;font-size:clamp(11px,3.4cqw,17px);padding:8px;animation:live-pulse 1s ease-in-out infinite alternate}.live-result{display:flex;flex-direction:column;gap:8px;border:1px solid #25d7e8;border-radius:14px;padding:12px;white-space:pre-line;font-size:clamp(11px,3.5cqw,18px);flex:none}.live-result-label{font-size:.72em;font-weight:700;color:#25d7e8}.live-disclaimer{font-size:clamp(8px,2.5cqw,12px);color:#b7c9e7;margin-top:10px}.industry-card:not(.is-active) .live-feed{pointer-events:none;overflow:hidden}.image-dialog.is-live-dialog{width:min(620px,94vw);height:min(820px,90dvh);max-height:90dvh;padding:0;overflow:hidden;background:#061126;border-radius:20px}.is-live-dialog .live-dialog-card{padding-top:52px}.is-live-dialog .dialog-close{z-index:3;background:#fff;color:#09152d}.image-dialog::backdrop{background:rgba(55,60,70,.7)}
@keyframes live-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes live-pulse{to{opacity:.45}}@media(prefers-reduced-motion:reduce){.live-message,.live-typing{animation:none}}

/* Neutral controls alternate with the surface they sit on. */
.section.section-tint{background:#edf1f6}
.section:not(.section-dark){--neutral-control-bg:#edf1f6;--neutral-control-hover:#e1e7ef}
.section.section-tint{--neutral-control-bg:#fff;--neutral-control-hover:#f0f3f8}
.section :is(.department-copy,.role-preview,.pricing-card,.feature-card,.integration-card,.partner-card,.model-card:not(.section-dark),.step-card,.faq-item){--neutral-control-bg:#edf1f6;--neutral-control-hover:#e1e7ef}
.section:not(.section-dark) .badge:not(.badge-dark){background:var(--neutral-control-bg);color:#4058b5}
.section:not(.section-dark) .button-secondary{background:var(--neutral-control-bg);border-color:#d0d9e6;color:var(--color-text)}
.section:not(.section-dark) .button-secondary:hover{background:var(--neutral-control-hover)}
.section:not(.section-dark) .tabs{background:var(--neutral-control-bg)}
.section-tint .carousel-arrow,.section-tint [data-gallery-pause]{background:#fff;border:1px solid #d0d9e6}
.section-tint [data-gallery-pause]{padding:8px 14px;border-radius:12px;color:var(--color-text)}
.section-tint .carousel-arrow:hover,.section-tint [data-gallery-pause]:hover{background:#f0f3f8}

/* Messenger motion: keep existing bubbles and reserve the typing row. */
.live-feed{overflow-anchor:none;scrollbar-gutter:stable;scroll-behavior:auto}
.live-message{animation:none}
.live-typing{display:flex;align-items:center;gap:4px;min-height:24px;flex:none;margin-top:6px;padding:0 4px;visibility:hidden;animation:none;font-size:11px}
.live-typing.is-typing{visibility:visible}
.live-typing>span{margin-right:5px}
.typing-dot{width:4px;height:4px;border-radius:50%;background:#b6c6ed;animation:typing-dot 1.1s ease-in-out infinite}
.typing-dot:nth-of-type(2){animation-delay:.16s}.typing-dot:nth-of-type(3){animation-delay:.32s}
@keyframes typing-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.live-dialog-card{background-color:#061126;background-size:460px 460px;background-repeat:repeat}
.live-dialog-card[data-industry="18"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-clothing.png')}
.live-dialog-card[data-industry="19"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-fitness.png')}
.live-dialog-card[data-industry="20"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-restaurant.png')}
.live-brand,.live-title,.live-label,.live-disclaimer,.live-sender{text-shadow:0 1px 5px #061126}
.live-result{background:#061126f5}
@media(prefers-reduced-motion:reduce){.typing-dot{animation:none}}

/* Themed messenger wallpapers for the remaining 37 industries. */
.live-dialog-card[data-industry="2"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-03.png')}
.live-dialog-card[data-industry="1"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-02.png')}
.live-dialog-card[data-industry="3"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-04.png')}
.live-dialog-card[data-industry="4"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-05.png')}
.live-dialog-card[data-industry="5"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-06.png')}
.live-dialog-card[data-industry="8"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-09.png')}
.live-dialog-card[data-industry="9"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-10.png')}
.live-dialog-card[data-industry="6"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-07.png')}
.live-dialog-card[data-industry="10"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-11.png')}
.live-dialog-card[data-industry="12"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-13.png')}
.live-dialog-card[data-industry="7"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-08.png')}
.live-dialog-card[data-industry="11"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-12.png')}
.live-dialog-card[data-industry="13"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-14.png')}
.live-dialog-card[data-industry="15"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-16.png')}
.live-dialog-card[data-industry="14"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-15.png')}
.live-dialog-card[data-industry="17"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-18.png')}
.live-dialog-card[data-industry="16"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-17.png')}
.live-dialog-card[data-industry="21"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-22.png')}
.live-dialog-card[data-industry="24"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-25.png')}
.live-dialog-card[data-industry="22"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-23.png')}
.live-dialog-card[data-industry="26"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-27.png')}
.live-dialog-card[data-industry="25"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-26.png')}
.live-dialog-card[data-industry="23"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-24.png')}
.live-dialog-card[data-industry="27"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-28.png')}
.live-dialog-card[data-industry="28"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-29.png')}
.live-dialog-card[data-industry="29"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-30.png')}
.live-dialog-card[data-industry="32"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-33.png')}
.live-dialog-card[data-industry="30"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-31.png')}
.live-dialog-card[data-industry="33"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-34.png')}
.live-dialog-card[data-industry="34"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-35.png')}
.live-dialog-card[data-industry="31"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-32.png')}
.live-dialog-card[data-industry="36"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-37.png')}
.live-dialog-card[data-industry="37"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-38.png')}
.live-dialog-card[data-industry="35"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-36.png')}
.live-dialog-card[data-industry="39"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-40.png')}
.live-dialog-card[data-industry="38"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-39.png')}
.live-dialog-card[data-industry="0"]{background-image:linear-gradient(#06112633,#06112633),url('../assets/gallery/pattern-01.png')}
.live-title{overflow-wrap:break-word;flex-shrink:0}

/* Team: approved content and diagrams, scoped to this section. */
#departments .department-card{grid-template-columns:45% 55%}
#departments .department-copy,#departments .department-visual{min-width:0;padding:28px}
#departments .department-visual{gap:26px;justify-content:space-between}
#departments .tabs [aria-selected="true"]{background:var(--color-blue);color:#fff}
#departments .team-metric>strong{display:block;font-size:clamp(38px,4vw,60px);line-height:1.1;letter-spacing:-.035em;color:#fff}
#departments [data-department="3"] .team-metric>strong{font-size:clamp(28px,3vw,40px)}
#departments .team-metric>p{margin-top:12px;font-size:15px;line-height:1.5;color:#dbe5ff;max-width:390px}
#departments #department-extra strong{font-size:26px;color:#fff;margin-right:10px}
#departments #department-extra[hidden]{display:none}
#departments #department-graphic{font-size:14px;line-height:1.45}
#departments .team-flow{text-align:center}
#departments .team-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
#departments .team-chips span,#departments .team-node{padding:12px 16px;border:1px solid #5371a5;border-radius:14px;background:#14284b;color:#f4f7ff}
#departments .team-node{width:fit-content;max-width:100%;margin:auto;font-weight:600}
#departments .team-success{background:#203f54;border-color:#78c4b4;color:#bff5df}
#departments .team-arrow{display:block;color:#a7bdff;font-size:25px;line-height:1.4}
#departments .team-comparison{margin-top:24px;display:grid;gap:16px}
#departments .team-comparison span{display:block;margin-bottom:6px;color:#e0e8ff}
#departments .team-comparison i{display:block;height:20px;border-radius:6px;background:#8aa6ff}
#departments .team-comparison>div:last-child i{background:#6275ff}
#departments .team-example{color:#b4c5e9;margin-bottom:14px;font-size:12px}
#departments .team-sales{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
#departments .team-chat{display:grid;gap:8px}
#departments .team-chat p{background:#203653;padding:10px;border-radius:12px 12px 12px 3px;overflow-wrap:anywhere}
#departments .team-chat p:nth-child(even){background:#354c87;border-radius:12px 12px 3px 12px;margin-left:12px}
#departments .team-lead{background:#f4f7ff;color:#122341;border-radius:16px;padding:18px;min-width:0}
#departments .team-lead h4,#departments .team-dashboard h4{font-size:18px;margin-bottom:16px}
#departments .team-lead dt{font-size:12px;color:#506080;margin-top:10px}
#departments .team-lead dd{margin:2px 0 0;overflow-wrap:anywhere}
#departments .team-status{display:block;font-size:12px;background:#d6efe6;color:#1d5846;padding:8px;border-radius:8px;margin-top:16px}
#departments .team-ai{font-size:30px;min-width:90px;background:#4254cc}
#departments .team-branches{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#departments .team-branches .team-node{width:100%;padding:12px 8px}
#departments .team-dashboard{padding:20px;border:1px solid #49618b;border-radius:18px;background:#122341}
#departments .team-funnel{text-align:center;display:grid;justify-items:center;gap:5px}
#departments .team-funnel div{padding:12px;background:#354c87;border-radius:10px;width:100%}
#departments .team-funnel div:nth-of-type(2){width:85%;background:#4059a6}
#departments .team-funnel div:nth-of-type(3){width:70%;background:#4d62be}
#departments .team-funnel small{display:block;margin-top:5px;font-size:11px;color:#e2e9ff}
#departments .team-cost{border-top:1px solid #49618b;margin-top:18px;padding-top:16px}
#departments .team-cost p{color:#c1cfeb;font-size:12px;margin-top:6px}
@media(max-width:767px){
 #departments .department-card{grid-template-columns:1fr}
 #departments .department-copy,#departments .department-visual{padding:22px}
 #departments .department-visual{min-height:0;gap:28px}
 #departments .tabs{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:8px}
 #departments .tabs button{min-width:0;width:100%;padding:12px 8px;font-size:14px}
 #departments .team-sales{grid-template-columns:1fr}
 #departments .team-lead dl{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:baseline}
 #departments .team-chips{gap:6px}
 #departments .team-chips span{padding:9px;font-size:12px}
}

/* Supplied team artwork: full proportions, no crop. */
#departments .department-images{padding:0;justify-content:center;gap:0}
#departments .department-images figure{margin:0;width:100%;min-width:0}
#departments .department-images figure[hidden]{display:none}
#departments .department-images img{display:block;width:100%;height:auto;object-fit:contain}
#departments .department-images figcaption{padding:10px 18px 14px;color:#c1cfeb;font-size:12px;line-height:1.5}

/* All tab variants share one grid cell, reserving the tallest content at every width. */
#departments .department-copy-stack{display:grid;min-width:0}
#departments .department-copy-stack>.department-copy{grid-area:1/1;align-self:start}
#departments .department-copy-stack>.department-copy[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
#departments .department-images{display:grid;align-content:center}
#departments .department-images figure{grid-area:1/1;align-self:start}
#departments .department-images figure[hidden]{display:block!important;visibility:hidden;pointer-events:none}
