/* ConnectAI 7.2 — shared header/footer tokens across all pages. */
:root{--ca-chrome-navy:#123b5d;--ca-chrome-sky:#38bdf8;--ca-chrome-ink:#17344a}
.ca-site-header{background:rgba(251,252,251,.97);color:var(--ca-chrome-ink);font-family:Heebo,Arial,sans-serif}
.ca-site-header .ca-h-brand{font-family:Heebo,Arial,sans-serif;color:var(--ca-chrome-navy)}
.ca-site-header .ca-h-brand-mark i{background:var(--ca-chrome-sky)}
.ca-site-header .ca-h-nav{font-family:Heebo,Arial,sans-serif}
.ca-site-header .ca-h-cta{background:var(--ca-chrome-navy);color:#fff;font-family:Heebo,Arial,sans-serif}
.ca-site-header button,.ca-site-header a{font-family:Heebo,Arial,sans-serif}
footer.ca-site-footer{background:#092b45;color:#c5deeb;padding:44px 0;margin-top:0;font-family:Heebo,Arial,sans-serif}
footer.ca-site-footer .footer-row{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
footer.ca-site-footer .brand{color:#fff!important;text-decoration:none;display:inline-flex;align-items:center;gap:9px;font:800 23px/1 Heebo,Arial,sans-serif}
footer.ca-site-footer .brand-mark{display:inline-flex;align-items:flex-end;gap:3px;height:24px;transform:none}
footer.ca-site-footer .brand-mark span{display:block;width:5px;border-radius:3px;background:#38bdf8;transform:skew(-18deg)}
footer.ca-site-footer .brand-mark span:nth-child(1){height:11px;opacity:.55}
footer.ca-site-footer .brand-mark span:nth-child(2){height:17px;opacity:.8}
footer.ca-site-footer .brand-mark span:nth-child(3){height:23px;opacity:1}
footer.ca-site-footer .brand-word{direction:ltr}
footer.ca-site-footer .footer-links{display:flex;flex-wrap:wrap;gap:13px}
footer.ca-site-footer .footer-links a,footer.ca-site-footer p a{color:#c5deeb}
footer.ca-site-footer .footer-links a:hover,footer.ca-site-footer p a:hover{color:#fff;text-decoration:underline}
footer.ca-site-footer p{margin:0;font-size:12px;line-height:1.6}
footer.ca-site-footer a:focus-visible,.ca-site-header a:focus-visible,.ca-site-header button:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}
@media(max-width:620px){footer.ca-site-footer{padding:32px 0}footer.ca-site-footer .footer-row{align-items:flex-start;gap:18px}footer.ca-site-footer .footer-links{gap:11px}}


/* 7.3 – shared mobile/header/footer accessibility and tap targets. */
.ca-site-header .ca-header-inner,.ca-site-header .ca-h-nav{box-sizing:border-box}
.ca-site-header .ca-h-menu{flex:0 0 44px;touch-action:manipulation}
.ca-h-search-overlay,.ca-h-search-box{min-width:0}
footer.ca-site-footer .footer-row > *{min-width:0}
footer.ca-site-footer .footer-links a{min-height:40px;display:inline-flex;align-items:center}
@media(max-width:1180px){
 .ca-site-header .ca-h-nav.open{max-height:calc(100vh - 73px);max-height:calc(100dvh - 73px);overscroll-behavior:contain}
 .ca-site-header .ca-h-nav>a,.ca-site-header .ca-h-nav button{min-height:44px}
 .ca-site-header .ca-h-tools .ca-h-tool{min-height:44px;white-space:normal}
 .ca-site-header .ca-h-cta{white-space:normal;text-align:center}
}
@media(max-width:620px){
 .ca-site-header .ca-header-inner{padding-inline:14px;gap:8px}
 .ca-site-header .ca-h-brand{margin-inline-end:0}
 .ca-site-header .ca-h-nav{left:8px;right:8px;padding-inline:12px}
 .ca-site-header .ca-mobile-tools .ca-h-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 footer.ca-site-footer .footer-row{flex-direction:column;align-items:flex-start;gap:16px}
 footer.ca-site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:5px 14px}
 footer.ca-site-footer .footer-links a{overflow-wrap:anywhere;font-size:13px}
 .ca-h-search-overlay{padding:6vh 9px 9px}
 .ca-h-search-box{max-height:calc(100dvh - 45px);overflow:auto}
 .ca-h-search-input{font-size:16px}
}
@media(max-width:370px){
 footer.ca-site-footer .footer-links{grid-template-columns:1fr 1fr}
}

/* 7.4 typography system – shared by every page, including the homepage. */
:root{
 --ca-font:Heebo,Arial,sans-serif;
 --ca-text:#17344a;
 --ca-heading:#123b5d;
 --ca-text-muted:#536876;
 --ca-fs-xs:13px;
 --ca-fs-sm:14px;
 --ca-fs-body:16px;
 --ca-fs-lead:clamp(16px,1.4vw,19px);
 --ca-fs-h1:clamp(32px,4.3vw,54px);
 --ca-fs-h2:clamp(25px,2.8vw,36px);
 --ca-fs-h3:clamp(19px,2vw,23px);
}
html{font-family:var(--ca-font)}
body{font-family:var(--ca-font);font-size:var(--ca-fs-body);line-height:1.7;color:var(--ca-text)}
:where(button,input,textarea,select){font-family:var(--ca-font)}
:where(h1,h2,h3){font-family:var(--ca-font);letter-spacing:-.015em}
:where(h1){line-height:1.18}
:where(h2,h3){line-height:1.3}
:where(p,li){line-height:1.7}
:where(label,small){line-height:1.55}
.ca-site-header :where(.ca-h-nav>a,.ca-h-cta,.ca-h-tool){font-family:var(--ca-font);font-size:14px}
.ca-site-header .ca-h-cta{font-weight:700}
footer.ca-site-footer .footer-links a{font-family:var(--ca-font);font-size:14px}
/* Home uses its original design hierarchy with a consistent Heebo typeface. */
.hero-demo-title h2{font-size:clamp(19px,2vw,23px);line-height:1.3}
.hero-demo-title .hero-demo-instruction{display:flex;align-items:flex-start;gap:7px;margin:6px 0 14px;color:#355c71;font:700 14px/1.55 var(--ca-font);max-width:none}
.hero-demo-tap-icon{color:#087fa5;font-size:19px;font-weight:900;line-height:1.3;flex:0 0 auto}
.hero-demo-tabs button{font-family:var(--ca-font);font-size:13px;line-height:1.35;font-weight:700;min-height:48px}
.hero-demo-stage :where(strong,b){font-family:var(--ca-font)}
.hero-demo-stage small{font-size:13px;line-height:1.45}
.hero-demo-kicker{font-size:12px}
:where(.ca-usecase-choice button,.ca-connection-card,.quiz-option){font-family:var(--ca-font);font-size:14px}
/* Detail pages: consistent type scale matching the homepage. */
.page-hero h1{font-size:var(--ca-fs-h1);line-height:1.2;font-weight:800}
.page-hero .lead{font-size:var(--ca-fs-lead)}
.section h2{font-size:var(--ca-fs-h2);line-height:1.25;font-weight:800}
.section h3,.step h3{font-size:var(--ca-fs-h3);line-height:1.4}
:where(.step,.info,.link-card) :where(p,li){font-size:15px;line-height:1.65}
:where(.eyebrow,.kicker){font-family:var(--ca-font);font-size:12px;letter-spacing:.025em}
:where(.btn,.btn-outline){font-family:var(--ca-font);font-size:15px;line-height:1.45}
:where(.breadcrumb){font-family:var(--ca-font);font-size:13px}
@media(max-width:620px){
 body{font-size:16px}
 .page-hero h1{font-size:clamp(30px,8.2vw,39px)}
 .page-hero .lead{font-size:16px}
 .section h2{font-size:clamp(24px,6.7vw,29px)}
 .hero-demo-title h2{font-size:20px}
 .hero-demo-title .hero-demo-instruction{font-size:14px;line-height:1.5}
 .hero-demo-tabs button{font-size:13px;min-height:48px;padding:10px 6px}
 .ca-site-header .ca-h-nav>a,.ca-site-header .ca-h-tool{font-size:14px}
}
@media(max-width:370px){
 .hero-demo-tabs button{font-size:12px}
}

/* breathing room between CTA and tools (header overlap fix) */
@media(min-width:1025px){.ca-site-header .ca-desktop-tools{margin-inline-start:10px}}
@media(min-width:1181px) and (max-width:1600px){.ca-site-header .ca-header-inner .ca-h-nav{gap:clamp(9px,.85vw,13px)}.ca-site-header .ca-header-inner{gap:14px}}
@media(min-width:1181px) and (max-width:1499px){.ca-site-header .ca-desktop-tools .ca-h-tool span{display:none}.ca-site-header .ca-desktop-tools .ca-h-tool{padding-inline:11px}}

/* Inline YouTube demo block (shared by guide/article pages) */
.oi-cta-demo{margin:22px 0 8px;padding:18px 18px 20px;background:#eaf8fe;border-radius:16px;text-align:center}
.oi-cta-demo>b{display:block;color:#123b5d;font-size:18px;margin-bottom:6px}
.oi-cta-demo>p{color:#5b7279;font-size:15px;margin:0 0 14px;line-height:1.55}
.oi-demo-frame{width:min(100%,280px);margin-inline:auto;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#0a2942;box-shadow:0 12px 32px rgba(10,41,66,.18)}
.oi-demo-frame iframe{display:block;width:100%;height:100%;border:0}
.oi-cta-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;margin-top:14px}
.oi-cta-actions a.oi-text{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-weight:700;color:#0f8fd6;text-decoration:none}

.oi-demo-row{display:flex;gap:14px;justify-content:center;align-items:flex-start;flex-wrap:nowrap}
.oi-demo-row figure{margin:0;flex:0 1 250px;min-width:0}
.oi-demo-row .oi-demo-frame{width:100%}
.oi-demo-row figcaption{margin-top:8px;font-weight:700;color:#123b5d;font-size:14.5px}
.oi-demo-row figcaption a{color:#0f8fd6;text-decoration:none;font-weight:600}
footer.ca-site-footer .container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
