/* Shared context and accessibility improvements for fictional demonstrations. */
.cb-demo{--demo-navy:#071019;--demo-blue:#48b7ff;--demo-muted:#afbdcc}
.cb-demo [hidden]{display:none!important}
.cb-demo-skip{position:fixed;top:8px;left:12px;z-index:500;padding:12px 18px;background:#fff;color:#071019;transform:translateY(-160%)}
.cb-demo-skip:focus{transform:none}
.cb-demo-bar{background:var(--demo-navy);color:#eef3f8;padding:16px max(24px,calc((100% - 1148px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;font-family:Arial,sans-serif;font-size:14px;line-height:1.5;border-bottom:1px solid #2c3a4c}
.cb-demo-bar strong{display:block;font-size:15px;font-weight:700;letter-spacing:0}
.cb-demo-bar span{color:var(--demo-muted)}
.cb-demo-bar nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.cb-demo-bar a{color:#eef3f8;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.cb-demo .cb-demo-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--demo-blue);color:#071019;border:1px solid var(--demo-blue);border-radius:4px;padding:12px 18px;min-height:46px;font-family:Arial,sans-serif;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none}
.cb-demo .cb-demo-cta span{color:inherit}
.cb-demo .cb-demo-cta:hover{background:#8dd1ff}
.cb-demo .cb-demo-cta:focus-visible,.cb-demo-bar a:focus-visible{outline:3px solid #fff;outline-offset:4px}
.cb-demo .nav{position:sticky;top:0;background:var(--bg)!important;border-bottom:1px solid var(--line);backdrop-filter:none;z-index:80}
.cb-demo .nav .logo,.cb-demo .nav .burger{color:var(--ink)}
.cb-demo .nav-links a{color:var(--ink)}
.cb-demo .nav-links a:not(.btn):hover{color:var(--accent-d)}
.cb-demo .nav .btn{color:#fff}
.cb-demo .nav-in{padding-top:14px;padding-bottom:14px}
.cb-demo .burger{min-width:44px;min-height:44px;justify-content:center;align-items:center}
.cb-demo .mnav{top:72px;max-height:calc(100dvh - 80px);overflow-y:auto}
.cb-demo .mnav a{min-height:44px}
.cb-demo .hero{min-height:min(690px,78vh)}
.cb-demo .hero-in{padding-top:74px;padding-bottom:64px}
.cb-demo .hero h1{font-size:clamp(2.65rem,5.9vw,5rem)}
.cb-demo .hero p{font-size:1.08rem;line-height:1.65;max-width:52ch}
.cb-demo .hero-cta{margin-top:28px}
.cb-demo .sec{padding:78px 0}
.cb-demo .sec.tight{padding:64px 0}
.cb-demo .sec-head{margin-bottom:34px}
.cb-demo .sec-head p{line-height:1.65}
.cb-demo .svc-item{padding:28px}
.cb-demo .quote{padding:24px}
.cb-demo .cb-demo-note{font-family:var(--sans);font-size:14px!important;line-height:1.6!important;letter-spacing:0;text-transform:none;border-left:3px solid currentColor;padding:10px 0 10px 16px;margin-top:22px;color:inherit!important;opacity:1;max-width:68ch}
.cb-demo .cb-demo-caption{font-size:14px!important;line-height:1.6!important;color:var(--muted);margin-top:16px;max-width:66ch}
.cb-demo .cb-demo-form-note{color:var(--ink)!important;margin:0 0 24px;grid-column:1/-1}
.cb-demo .cb-demo-emergency-label{font:600 14px/1.5 var(--sans);text-align:center;padding:12px 24px;border-bottom:1px solid currentColor;margin-bottom:20px}
.cb-demo .est-note,.cb-demo .est-sub,.cb-demo .calc-note,.cb-demo .tool-note,.cb-demo .b-note,.cb-demo .tiny{font-size:14px;line-height:1.55}
.cb-demo .est .est-note,.cb-demo .est .est-sub,.cb-demo .calc .calc-note,.cb-demo .tool .tool-note,.cb-demo .book .b-note{color:#d5d7d8}
.cb-demo .est-grid>*,.cb-demo .calc-grid>*,.cb-demo .val-grid>*,.cb-demo .book-grid>*,.cb-demo .tool-grid>*{min-width:0}
.cb-demo .opt{min-height:48px}
.cb-demo input,.cb-demo select,.cb-demo textarea{font-size:16px;max-width:100%;min-height:46px}
.cb-demo .est-price,.cb-demo .val-price,.cb-demo .calc-price,.cb-demo .tool-price,.cb-demo .b-price{font-size:clamp(1.9rem,4vw,3rem);overflow-wrap:normal}
.cb-demo .m-result b{display:block;white-space:nowrap;font-size:clamp(1.45rem,5vw,2rem)}
.cb-demo-end{background:var(--demo-navy);color:#eef3f8;padding:72px 24px;font-family:Arial,sans-serif}
.cb-demo-end>div{max-width:750px;margin:auto;text-align:center}
.cb-demo-end p{color:#afbdcc;font-size:17px;line-height:1.6;margin:0 auto 24px;max-width:60ch}
.cb-demo-end p:first-child{color:#48b7ff;font-size:14px;margin-bottom:14px}
.cb-demo-end h2{font-family:Arial,sans-serif;font-size:clamp(28px,4vw,42px);line-height:1.15;letter-spacing:-.025em;margin-bottom:20px;color:#eef3f8}
.cb-demo-return{display:block;font-size:15px;margin-top:22px;text-decoration:underline;text-underline-offset:4px;color:#afbdcc}
.cb-demo .ft{padding-bottom:28px}
@media(max-width:900px){
 .cb-demo .burger{display:flex}
 .cb-demo .hero-in{padding-top:60px!important;padding-bottom:56px!important}
 .cb-demo .hero{min-height:0}
 .cb-demo-bar{padding:16px 20px;gap:14px;align-items:flex-start;flex-direction:column}
 .cb-demo-bar nav{gap:20px;width:100%;justify-content:space-between}
 .cb-demo-bar nav a{font-size:13px}
 .cb-demo-bar .cb-demo-cta{font-size:13px;padding:10px 12px}
 .cb-demo .nav-tel{display:none}
}
@media(max-width:600px){
 .cb-demo .wrap{padding-left:20px;padding-right:20px}
 .cb-demo .sec{padding:52px 0}
 .cb-demo .sec.tight{padding:48px 0}
 .cb-demo .sec-head{margin-bottom:28px}
 .cb-demo .hero-in{padding-left:20px;padding-right:20px}
 .cb-demo .hero h1{font-size:clamp(2.3rem,9.5vw,3.2rem);line-height:1.08}
 .cb-demo .svc-item{padding:22px}
 .cb-demo .cb-demo-note{padding-left:12px;font-size:13px!important}
 .cb-demo .est-result,.cb-demo .calc-result,.cb-demo .val-result,.cb-demo .tool-result,.cb-demo .b-result{padding:24px 20px}
 .cb-demo .rule{padding:0 20px}
 .cb-demo .emerg{padding-left:20px;padding-right:20px}
 .cb-demo .cb-demo-emergency-label{padding-left:0;padding-right:0}
 .cb-demo-end{padding:54px 20px}
 .cb-demo .form{padding:24px 20px}
 .cb-demo .m-result{display:block}
 .cb-demo .m-result b{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
 .cb-demo *, .cb-demo *::before, .cb-demo *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}

.cb-demo .mnav{top:var(--demo-menu-top,72px)}

@media(max-width:600px){
 .cb-demo-bar{padding:12px 16px;gap:10px}
 .cb-demo-bar>div>span{display:none}
 .cb-demo-bar strong{font-size:13px}
 .cb-demo-bar nav{gap:8px;flex-wrap:nowrap}
 .cb-demo-bar nav>a:first-child{font-size:12px;white-space:nowrap}
 .cb-demo-bar .cb-demo-cta{font-size:12px;padding:8px 10px;min-height:42px;gap:6px;white-space:nowrap}
 .cb-demo .hero-in{padding-top:44px!important;padding-bottom:44px!important}
 .cb-demo .hero p{font-size:16px}
}
