/*
Theme Name: CodePlanet Professional
Theme URI: https://codeplanet.co.ke
Author: CodePlanet Limited
Description: A responsive corporate theme for CodePlanet, with editable page content and a reversible setup assistant.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codeplanet-professional
*/
@font-face{font-family:Inter;src:url(assets/inter.woff2) format('woff2');font-weight:100 900;font-display:swap}
:root{--cp-ink:#10243a;--cp-muted:#536477;--cp-blue:#1463ce;--cp-line:#dfe6ed;--cp-tint:#f3f7fb;--cp-navy:#091e35;--cp-radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--cp-ink);background:#fff;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.7}a{color:var(--cp-blue);text-decoration:none}a:hover{color:#104da0}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e0961c;outline-offset:5px}h1,h2,h3,h4{color:var(--cp-ink);line-height:1.16;letter-spacing:-.04em;margin:0 0 22px;font-weight:650}h1{font-size:clamp(40px,4.7vw,66px)}h2{font-size:clamp(30px,3vw,43px)}h3{font-size:23px;letter-spacing:-.025em}p{margin:0 0 22px;color:var(--cp-muted)}.cp-wrap{max-width:1240px;margin:auto;padding-inline:36px}.cp-section{padding:88px 0}.cp-tint{background:var(--cp-tint)}.cp-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--cp-blue);margin-bottom:20px}.cp-lead{font-size:18px;line-height:1.8;max-width:620px}.cp-topbar{background:var(--cp-navy);color:#ced9e7;font-size:11px;letter-spacing:.02em}.cp-topbar .cp-wrap{display:flex;justify-content:space-between;padding-block:8px}.cp-topbar a{color:#ced9e7}.cp-header{background:#fff;border-bottom:1px solid var(--cp-line);position:sticky;top:0;z-index:50}.admin-bar .cp-header{top:32px}.cp-header-inner{display:flex;align-items:center;gap:28px;min-height:88px}.cp-brand{display:flex;align-items:center;margin-right:auto}.cp-brand img{width:216px;max-height:66px;object-fit:contain}.cp-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:28px}.cp-nav a{color:var(--cp-ink);font-size:13px;font-weight:600}.cp-nav a:hover,.cp-nav .current-menu-item>a{color:var(--cp-blue)}.cp-nav li{position:relative}.cp-nav .sub-menu{display:none;position:absolute;background:white;padding:16px;min-width:210px;box-shadow:0 8px 30px #0002;top:100%;left:0}.cp-nav li:hover>.sub-menu,.cp-nav li:focus-within>.sub-menu{display:block}.cp-nav .sub-menu li{margin:7px 0}.cp-button,.wp-block-button__link,.wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 22px;background:var(--cp-blue);color:#fff;border:1px solid var(--cp-blue);border-radius:6px;font-size:13px;font-weight:650;cursor:pointer;line-height:1.5;transition:background .18s,transform .18s}.cp-button:hover,.wpcf7-submit:hover{background:#104da0;color:white;transform:translateY(-2px)}.cp-button-light{background:transparent;border-color:#cbd5df;color:var(--cp-ink)}.cp-button-light:hover{background:var(--cp-tint);color:var(--cp-ink)}.cp-header .cp-button{padding:12px 18px;font-size:12px}.cp-menu-toggle{display:none;border:1px solid var(--cp-line);background:white;border-radius:4px;padding:8px 12px;color:var(--cp-ink)}.cp-hero{padding:68px 0 66px;background:linear-gradient(120deg,#fff 45%,#f1f6fb)}.cp-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:44px;align-items:center}.cp-hero h1{margin-bottom:24px;line-height:1.08;font-size:clamp(42px,4.8vw,66px);letter-spacing:-.055em}.cp-hero em{font-style:normal;color:var(--cp-blue)}.cp-hero .cp-lead{font-size:16px;max-width:490px}.cp-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.cp-hero-note{font-size:11px;color:#5a6a7c;margin-top:26px}.cp-hero-note span{color:var(--cp-blue);margin-right:8px}.cp-status{display:inline-block;width:6px;height:6px;border-radius:50%;background:#58b8ff;margin-right:6px;vertical-align:middle}.cp-visual{height:460px;position:relative;border-radius:20px;background:radial-gradient(ellipse at center,#183e62,#071c31 70%);overflow:hidden;box-shadow:0 26px 55px #0c2d4825;color:#fff}.cp-visual:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#7aaedf0a 1px,transparent 1px),linear-gradient(90deg,#7aaedf0a 1px,transparent 1px);background-size:30px 30px}.cp-visual-top,.cp-visual-bottom{position:absolute;inset:25px 26px auto;display:flex;justify-content:space-between;color:#92b3d4;font-size:9px;letter-spacing:.15em}.cp-visual-bottom{inset:auto 26px 23px}.cp-orbit{position:absolute;border:1px solid #5172934d;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.cp-orbit-outer{width:390px;height:390px}.cp-orbit-inner{width:275px;height:275px;border-style:dashed}.cp-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:157px;width:157px;border-radius:50%;border:1px solid #7aa6d075;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at top,#305981,#102e4c);box-shadow:0 0 60px #2781d72b}.cp-core-symbol{font-size:31px;line-height:1.2;color:#82c3ff}.cp-core strong{font-size:19px;letter-spacing:-.04em}.cp-core small{font-size:8px;color:#b6cce1}.cp-node{position:absolute;display:flex;align-items:center;gap:11px;padding:13px 16px;border:1px solid #54729177;border-radius:9px;background:#102d49ee;color:#fff;box-shadow:0 10px 24px #0002;transition:transform .2s}.cp-node:hover{transform:translateY(-4px);color:#fff;background:#1a3c5c}.cp-node>span{color:#7dc2ff;font-size:24px;line-height:1}.cp-node strong{display:block;font-size:12px;font-weight:600}.cp-node small{display:block;font-size:9px;color:#9eb8d0}.cp-node-one{top:84px;left:24px}.cp-node-two{top:115px;right:22px}.cp-node-three{bottom:97px;left:22px}.cp-node-four{bottom:66px;right:23px}.cp-capabilities{border-top:1px solid var(--cp-line);border-bottom:1px solid var(--cp-line)}.cp-capabilities .cp-wrap{display:flex;justify-content:space-between;gap:20px;padding-block:22px;color:#5b6c7d;font-size:12px;font-weight:550}.cp-capabilities span:before{content:'+';color:var(--cp-blue);margin-right:13px}.cp-section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:36px}.cp-section-head h2{margin-bottom:0}.cp-section-head>p{max-width:355px;margin:0;font-size:14px}.cp-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cp-service-card{display:flex;flex-direction:column;border:1px solid var(--cp-line);padding:28px;border-radius:10px;background:#fff;transition:border-color .2s,box-shadow .2s}.cp-service-card:hover{border-color:#9dbee6;box-shadow:0 12px 30px #173a6510}.cp-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.cp-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:9px;color:var(--cp-blue);background:#eff5fd;font-size:24px}.cp-index{font-size:11px;color:#78889b}.cp-service-card h3{font-size:21px;margin-bottom:14px}.cp-service-card p{font-size:13px;line-height:1.8;flex:1}.cp-text-link{font-size:12px;font-weight:700;color:var(--cp-blue)}.cp-text-link span{margin-left:9px}.cp-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.cp-feature{background:white;border:1px solid var(--cp-line);border-radius:12px;overflow:hidden}.cp-feature img{display:block;width:100%;height:230px;object-fit:cover}.cp-feature:nth-child(2) img{object-position:center 43%}.cp-feature>div{padding:30px}.cp-feature .cp-eyebrow{margin-bottom:13px}.cp-feature p:not(.cp-eyebrow){font-size:14px}.cp-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.cp-values article{display:flex;gap:24px;padding:23px 0;border-bottom:1px solid var(--cp-line)}.cp-values article:first-child{padding-top:0}.cp-values article>span{color:var(--cp-blue);font-size:12px;padding-top:3px}.cp-values h3{font-size:19px;margin-bottom:10px}.cp-values p{font-size:13px;margin:0}.cp-process{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}.cp-process article{border-top:1px solid #b8cbde;padding-top:24px}.cp-process span{display:block;font-size:12px;color:var(--cp-blue);margin-bottom:24px}.cp-process h3{font-size:20px}.cp-process p{font-size:13px;margin-bottom:0}.cp-cta{background:var(--cp-navy);border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:55px}.cp-cta h2{color:white}.cp-cta p{color:#adc2d5;font-size:14px;max-width:520px;margin-bottom:0}.cp-cta .cp-eyebrow{color:#77b9f7;font-size:10px;margin-bottom:20px}.cp-cta .cp-button{flex-shrink:0;background:#fff;border-color:#fff;color:var(--cp-ink)}.cp-footer{padding:62px 0 0;border-top:1px solid var(--cp-line);background:#f8fafc}.cp-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:42px;padding-bottom:42px}.cp-footer img{width:210px;margin-bottom:18px}.cp-footer p,.cp-footer a{font-size:12px;color:var(--cp-muted)}.cp-footer h2{font-size:13px;letter-spacing:0;margin:0 0 20px}.cp-footer ul{list-style:none;margin:0;padding:0}.cp-footer li{margin-bottom:9px}.cp-footer a:hover{text-decoration:underline;color:var(--cp-blue)}.cp-footer-bottom{border-top:1px solid var(--cp-line);padding-block:20px;display:flex;justify-content:space-between;gap:24px;font-size:10px;color:var(--cp-muted)}.cp-page-hero{padding:70px 0;background:var(--cp-tint);border-bottom:1px solid var(--cp-line)}.cp-page-hero h1{max-width:850px}.cp-page-hero p:last-child{margin-bottom:0}.cp-detail-grid,.cp-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.cp-detail-image{width:100%;height:430px;object-fit:cover;border-radius:16px}.cp-checks{list-style:none;padding:0;margin:24px 0 32px}.cp-checks li{padding:10px 0 10px 30px;position:relative;border-bottom:1px solid var(--cp-line);font-size:14px;color:var(--cp-muted)}.cp-checks li:before{content:'✓';position:absolute;left:0;color:var(--cp-blue)}.cp-info-panel{padding:36px;background:var(--cp-tint);border:1px solid var(--cp-line);border-radius:14px}.cp-info-panel h3{font-size:26px}.cp-faq{display:grid;grid-template-columns:1fr 1.4fr;gap:70px}.cp-faq details{border-bottom:1px solid #d0dce8;padding:21px 0}.cp-faq summary{font-weight:600;font-size:16px;cursor:pointer}.cp-faq details p{margin:20px 0 0;font-size:14px}.cp-contact-list{list-style:none;padding:0;margin:30px 0}.cp-contact-list li{padding-block:16px;border-bottom:1px solid var(--cp-line)}.cp-contact-list strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--cp-muted);margin-bottom:6px}.cp-contact-list a,.cp-contact-list span{font-size:17px}.cp-contact-tip{border-left:3px solid var(--cp-blue);padding-left:20px}.cp-contact-tip strong{font-size:14px}.cp-contact-tip p{font-size:13px;margin:8px 0 0}.cp-enquiry-form label,.wpcf7 label{display:block;font-size:12px;font-weight:650;color:var(--cp-ink);margin-bottom:18px}.cp-enquiry-form input,.cp-enquiry-form textarea,.cp-enquiry-form select,.wpcf7 input:not([type=submit]),.wpcf7 textarea{display:block;width:100%;padding:12px 14px;border:1px solid #bfcddd;border-radius:5px;background:#fff;margin-top:6px;color:var(--cp-ink);font-size:14px}.cp-enquiry-form textarea{min-height:130px;resize:vertical}.cp-enquiry-form .cp-form-note{font-size:12px;margin-top:18px}.cp-form-status{font-size:13px;margin:16px 0 0}.cp-readable{max-width:900px;margin:0 auto;padding:65px 30px}.cp-readable h1{font-size:44px}.cp-readable table{border-collapse:collapse;max-width:100%}.cp-readable th,.cp-readable td{border:1px solid var(--cp-line);padding:10px}.cp-readable pre{overflow:auto}.cp-post-card{padding:26px 0;border-bottom:1px solid var(--cp-line)}.cp-post-card h2{font-size:28px}.cp-post-card time{font-size:12px;color:var(--cp-muted)}.cp-skip{position:absolute;top:-100px;left:20px;background:#fff;padding:10px;z-index:999}.cp-skip:focus{top:10px}.woocommerce .cp-shop{padding-block:65px}.woocommerce ul.products li.product .price{color:var(--cp-blue)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--cp-blue);color:white}.woocommerce img{height:auto}
@media(min-width:1500px){.cp-hero{padding-block:85px}}
@media(max-width:1050px){.cp-header-inner{gap:18px}.cp-nav ul{gap:18px}.cp-brand img{width:180px}.cp-hero-grid{gap:28px}.cp-visual{height:430px}.cp-node{padding:10px;gap:8px}.cp-node strong{font-size:11px}.cp-node-one{left:12px}.cp-node-two{right:12px}.cp-node-three{left:12px}.cp-node-four{right:12px}.cp-core{width:135px;height:135px}.cp-wrap{padding-inline:26px}.cp-about-grid{gap:45px}.cp-service-card{padding:22px}}
@media(max-width:800px){.cp-header-inner{min-height:76px;flex-wrap:wrap;gap:14px}.cp-menu-toggle{display:block}.cp-header-cta{display:none}.cp-nav{width:100%;padding-bottom:20px}.cp-nav ul{flex-direction:column;gap:0}.cp-nav li a{display:block;padding:10px 0}.cp-nav .sub-menu{position:static;display:block;box-shadow:none;padding:0 0 0 18px}.cp-js .cp-nav{display:none}.cp-js .cp-nav.is-open{display:block}.cp-hero-grid{grid-template-columns:1fr;gap:36px}.cp-hero{padding:45px 0}.cp-hero-copy{max-width:620px}.cp-hero h1{font-size:56px}.cp-visual{height:435px;max-width:620px;width:100%;margin:auto}.cp-node-one{left:8%;top:85px}.cp-node-two{right:8%;top:122px}.cp-node-three{left:8%;bottom:90px}.cp-node-four{right:8%;bottom:57px}.cp-core{width:156px;height:156px}.cp-service-grid{grid-template-columns:repeat(2,1fr)}.cp-section{padding:60px 0}.cp-section-head{gap:30px;align-items:start}.cp-section-head>p{max-width:270px}.cp-feature img{height:190px}.cp-about-grid,.cp-contact-grid,.cp-detail-grid{grid-template-columns:1fr;gap:36px}.cp-process{grid-template-columns:repeat(2,1fr);gap:30px}.cp-cta{padding:38px;flex-direction:column;align-items:start}.cp-footer-grid{grid-template-columns:1fr 1fr;gap:32px}.cp-capabilities .cp-wrap{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-faq{grid-template-columns:1fr;gap:20px}.admin-bar .cp-header{top:46px}}
@media(max-width:520px){.cp-wrap{padding-inline:22px}.cp-topbar .cp-wrap{justify-content:center}.cp-topbar .cp-top-location{display:none}.cp-brand img{width:180px}.cp-hero h1{font-size:43px}.cp-hero .cp-eyebrow{font-size:9px}.cp-lead{font-size:16px}.cp-hero .cp-lead{font-size:15px}.cp-actions{gap:10px}.cp-actions .cp-button{padding:13px 16px;font-size:12px;gap:12px}.cp-hero-note{font-size:10px}.cp-visual{height:390px}.cp-visual-top,.cp-visual-bottom{font-size:8px;left:18px;right:18px}.cp-orbit-outer{width:340px;height:340px}.cp-orbit-inner{width:245px;height:245px}.cp-node{padding:11px;gap:8px}.cp-node-one{left:12px;top:70px}.cp-node-two{right:12px;top:118px}.cp-node-three{left:12px;bottom:102px}.cp-node-four{right:12px;bottom:55px}.cp-node strong{font-size:10px}.cp-node small{font-size:8px}.cp-node>span{font-size:20px}.cp-core{width:126px;height:126px}.cp-core strong{font-size:17px}.cp-core small{font-size:7px}.cp-capabilities .cp-wrap{font-size:10px;padding-block:18px}.cp-capabilities span:before{margin-right:7px}.cp-section-head{display:block}.cp-section-head>p{max-width:none;margin-top:20px}.cp-section-head>a{display:inline-block;margin-top:20px}.cp-service-grid,.cp-feature-grid{grid-template-columns:1fr}.cp-service-card{padding:25px}.cp-service-card .cp-card-top{margin-bottom:24px}.cp-feature>div{padding:25px}.cp-feature img{height:210px}.cp-process{gap:25px}.cp-process h3{font-size:18px}.cp-process p{font-size:12px}.cp-cta{margin-inline:16px;padding:30px 26px}.cp-cta h2{font-size:30px}.cp-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.cp-footer-brand{grid-column:1/-1}.cp-footer-bottom{flex-direction:column;gap:8px}.cp-page-hero{padding-block:50px}.cp-page-hero h1{font-size:40px}.cp-info-panel{padding:25px}.cp-detail-image{height:300px}.cp-readable{padding:45px 22px}.cp-readable h1{font-size:36px}.admin-bar .cp-header{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Keep orbit labels clear of the centre at all breakpoints. */
.cp-node-one{top:80px}.cp-node-two{top:86px}.cp-node-three{bottom:76px}.cp-node-four{bottom:62px}
@media(max-width:800px){.cp-node-one{top:72px}.cp-node-two{top:78px}.cp-node-three{bottom:78px}.cp-node-four{bottom:65px}}
@media(max-width:520px){.cp-node{width:calc(50% - 22px)}.cp-node-one{top:68px}.cp-node-two{top:78px}.cp-node-three{bottom:70px}.cp-node-four{bottom:60px}.cp-node strong{font-size:10px}}
@media(max-width:360px){.cp-node>span{display:none}.cp-node{padding:10px}.cp-node strong{font-size:10px}.cp-hero h1{font-size:38px}.cp-actions .cp-button{font-size:11px;padding:12px}}
