:root{
 --kp-green:#08765a;
 --kp-forest:#103c30;
 --kp-gold:#c7a56b;
 --kp-ink:#17332b;
 --kp-muted:#62756c;
 --kp-border:#e0e9e3;
 --kp-surface:#f5f8f6;
}

html{scroll-behavior:smooth}

body{
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}

.tkg-navigation{
 background:rgba(255,255,255,.98);
 box-shadow:0 4px 24px #103c3008;
}

.tkg-inner{
 min-height:72px;
}

.tkg-brand-icon{
 box-shadow:0 5px 14px #08765a26;
}

.tkg-navigation .tkg-join{
 border-radius:12px;
 box-shadow:0 5px 16px #08765a20;
}

.tkg-navigation .tkg-mega{
 border-radius:22px;
 padding:28px;
}

.tkg-flag{
 width:24px;
 height:16px;
 object-fit:cover;
 border-radius:3px;
 vertical-align:middle;
 margin-right:5px;
}

/* Homepage */

.kx-hero-copy{
 max-width:590px;
}

.kx-hero-copy h1{
 font-size:clamp(38px,4.2vw,68px);
 line-height:1.06;
 letter-spacing:-.045em;
 text-wrap:balance;
}

.kx-hero-copy p{
 max-width:490px;
 line-height:1.65;
}

.kx-hero-inner{
 padding-top:45px;
 padding-bottom:75px;
}

.kx-hero{
 min-height:660px;
}

.kx-hero-copy a{
 transition:transform .2s,box-shadow .2s;
}

.kx-hero-copy a:hover{
 transform:translateY(-3px);
}

#kx-experience{
 right:20px;
 bottom:20px;
 z-index:90;
}

#kx-experience-panel{
 max-width:calc(100vw - 32px);
}

/* Karibu Access */

.ka-layout{
 width:min(1460px,94%);
 margin:30px auto;
 gap:24px;
 align-items:stretch;
}

.ka-story{
 border-radius:26px;
 overflow:hidden;
}

.ka-main{
 border:1px solid var(--kp-border);
 border-radius:26px;
 box-shadow:0 20px 65px #103c300b;
 background:white;
 padding:clamp(25px,4vw,58px);
 min-width:0;
}

.ka-main h1{
 color:var(--kp-ink);
 font-size:clamp(30px,3vw,46px);
 line-height:1.12;
 letter-spacing:-.04em;
}

.ka-main input,
.ka-main select{
 width:100%;
 min-height:52px;
 border:1px solid #d5e1da;
 border-radius:12px;
 padding:12px 15px;
 font-size:15px;
 background:#fafcfb;
 box-sizing:border-box;
}

.ka-main input:focus,
.ka-main select:focus{
 outline:2px solid #08765a;
 outline-offset:2px;
}

.ka-main input:disabled{
 opacity:1;
 color:#64756b;
}

.ka-button,
.ka-outline{
 min-height:48px;
 border-radius:12px;
 transition:transform .2s,box-shadow .2s;
}

.ka-packages{
 gap:12px;
}

.ka-packages>*{
 border-radius:15px;
}

.ka-steps{
 gap:8px;
}

/* Business discovery */

.kb-hero{
 background:
 radial-gradient(ellipse at 90% 10%,#28765b,transparent 55%),
 linear-gradient(135deg,#103c30,#061f19);
 padding-top:65px;
 padding-bottom:65px;
}

.kb-hero h1{
 font-size:clamp(34px,4.5vw,62px);
 line-height:1.1;
 letter-spacing:-.04em;
}

.kb-card{
 border:1px solid var(--kp-border);
 border-radius:20px;
 box-shadow:0 8px 30px #103c3007;
 transition:transform .25s,box-shadow .25s;
}

.kb-card:hover{
 transform:translateY(-4px);
 box-shadow:0 16px 35px #103c3012;
}

.kb-price{
 color:var(--kp-green);
 font-weight:800;
 letter-spacing:-.025em;
}

.kb-wrap details{
 border:1px solid var(--kp-border);
 border-radius:14px;
 margin-bottom:12px;
 background:white;
 padding:16px 20px;
}

.kb-wrap details summary{
 cursor:pointer;
 font-weight:700;
 color:var(--kp-forest);
}

.kb-calculator{
 background:var(--kp-surface);
 border:1px solid var(--kp-border);
 border-radius:24px;
 padding:clamp(18px,3vw,35px);
}

.kb-result{
 border-radius:20px;
 background:linear-gradient(135deg,#103c30,#08765a);
 color:white;
}

.kb-product{
 max-width:100%;
 object-fit:contain;
}

@media(max-width:900px){
 .ka-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:min(680px,94%);
  gap:16px;
  margin:18px auto;
 }

 .ka-main{
  order:-1;
  padding:25px;
  border-radius:20px;
 }

 .ka-story{
  min-height:230px;
  max-height:340px;
  border-radius:20px;
 }
}

@media(max-width:600px){
 .tkg-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px 12px;
  min-height:0;
  padding:10px 0;
 }

 .tkg-brand{
  font-size:18px;
 }

 .tkg-menu{
  justify-self:end;
 }

 .tkg-country{
  justify-self:end;
 }

 .tkg-language{
  justify-self:start;
 }

 .tkg-login{
  justify-self:end;
 }

 .tkg-join{
  justify-self:end;
 }

 .tkg-navigation .tkg-mega{
  padding:18px;
  top:118px;
  max-height:65vh;
 }

 .tkg-navigation summary{
  padding:7px 3px;
 }

 .kx-hero{
  min-height:640px;
 }

 .kx-hero-copy h1{
  font-size:clamp(34px,9vw,46px);
  line-height:1.08;
 }

 .kx-hero-copy p{
  font-size:14px;
  line-height:1.55;
 }

 .kx-hero-inner{
  padding-bottom:100px;
 }

 #kx-experience{
  width:44px;
  height:44px;
  right:12px;
  bottom:12px;
 }

 .ka-main{
  padding:20px;
 }

 .ka-main h1{
  font-size:32px;
 }

 .ka-story{
  min-height:220px;
 }

 .ka-steps{
  flex-wrap:wrap;
 }

 .kb-hero{
  padding-top:38px;
  padding-bottom:38px;
 }

 .kb-wrap details{
  padding:14px;
 }

 .kb-calculator{
  padding:16px;
 }
}

@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{
  animation-duration:.01ms!important;
  transition-duration:.01ms!important;
 }
}
